NEW

Let s Encrypt SSL证书

2019-03-05

NEW Let's Encrypt SSL通配符证书 DNSPOD TOKEN操作修改DNS curl https://get.acme.sh | sh export DP_Id="xxxxx" export DP_Key="xxxxxxxxxxxxxxxxxxx" wget https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed ...

NEW

centos7 编译安装haproxy1.9.4

2020-05-30

编译安装 yum install gcc pcre-static pcre-devel -y wget http://www.haproxy.org/download/1.9/src/haproxy-1.9.4.tar.gz -O ~/haproxy.tar.gz tar xzvf ~/haproxy.tar.gz -C ~/ cd ~/haproxy-1.9.4 make TARGET=l ...

NEW

Python3.6 Matplotlib输出中文显示问题

2019-03-06

cp msyh.ttf /usr/local/lib/python3.6/site-packages/matplotlib/mpl-data/fonts/ttf/ vi /usr/local/lib/python3.6/site-packages/matplotlib/mpl-data/matplotlibrc font.sans-serif : Microsoft YaHei, ... ...

NEW

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

2019-03-06

==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使用

2019-03-06

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

2019-03-06

服务端操作: 下载编译安装: 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 ...