NEW

Python3基于PySocks,paramiko来使用socks代理连接SSH服务器

==SSHClient 封装Transport== import paramiko, socks sock = socks.socksocket() host, port = '103.67.206.10', 11113 sock.set_proxy(proxy_type=socks.SOCKS5,addr=host,port=port,username='lx',password='Qaz12 ...

NEW

Python3.6.7安装与pip及virtualenv、virtualenvwrapper使用

1.下载 wget https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz tar -zxvf Python-3.6.7.tgz 2.安装依赖 yum -y install sqlite-devel openssl-devel gcc libffi-devel 3.编译安装 cd Python-3.6.7/ ./configure # -- ...

NEW

OpenLDAP+Centos7

服务端操作: 下载编译安装: http://www.openldap.org/software/download/ gunzip -c openldap-2.4.45.tgz | tar xvfB - cd openldap-2.4.45/ ./configure --prefix=/usr/local/openldap make depend make #make test make ins ...

NEW

Seafile

yum install python2-pip pip install moviepy==0.2.3.2 rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.rosudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5. ...

NEW

centos7 riak-kv,riak-cs集群部署

RIAK-KV集群部署 安装basho源 curl -s https://packagecloud.io/install/repositories/basho/riak/script.rpm.sh | sudo bash ### https://packagecloud.io/basho/riak/packages/el/7/riak-2.2.3-1.el7.centos.x86_64.rpm ...

NEW

etcd+conf

安装 etcd #yum安装 yum install etcd -y #更新 https://github.com/coreos/etcd/releases 替换掉etcd和etcdctl sed -i 's/localhost/0.0.0.0/g' /etc/etcd/etcd.conf systemctl start etcd && systemctl ena ...