摘要: 最好的方法,在ubuntu和centos上都可以安装.先安装anaconda3,然后使用命令: conda install pycurl 在Ubuntu 16.04 18.04上安装pycurl时大致会遇到一下两个问题: 在使用pip install pycurl是报curl_config no f 阅读全文
posted @ 2018-12-11 09:10 chenzhigang 阅读(2649) 评论(2) 推荐(1) 编辑
摘要: 1,下载qt5.6.3的静态库文件,有以下2个: mingw49_32_release_static 和 openssl-1.0.2n_mingw492_32_static 2,将它们解压好,其中 C:\OpenSSL\openssl-1.0.2n_mingw492_32_static 复制到C盘。 阅读全文
posted @ 2018-11-10 23:26 chenzhigang 阅读(2178) 评论(0) 推荐(0) 编辑
摘要: 由于国内的网络环境,go get能够下载github上的包,但是不能下载golang.org上的包。因此,使用第三方工具gopm来下载管理包。 https://gopm.io/ 阅读全文
posted @ 2018-11-10 10:51 chenzhigang 阅读(1612) 评论(1) 推荐(0) 编辑
摘要: vi 编辑器可以在编辑模式和命令模式下复制文本。常用的复制文本的命令如表 1 所示。 表1:命令模式下常用的文本复制命令 文本复制命令 命令的意义 文本复制命令 命令的意义 yy 复制光标所在的整行 y{ 复制到上一段的开始 Y 或 y$ 复制从光标所在行 行首到行尾的内容 y} 复制到下一段的开始 阅读全文
posted @ 2018-11-10 10:03 chenzhigang 阅读(62894) 评论(2) 推荐(1) 编辑
摘要: user www-data;worker_processes auto;pid /run/nginx.pid;events { worker_connections 768; # multi_accept on;}http { ## # Basic Settings ## sendfile on; 阅读全文
posted @ 2018-11-05 09:13 chenzhigang 阅读(1732) 评论(0) 推荐(0) 编辑
摘要: 1.卸载 先停掉mysql进程 没有安装过的可以直接跳过pkill -9 mysqld rpm -qa|grep -i mysql 用命令 yum -y removeyum -y remove mysql-community-client-5.6.38-2.el7.x86_64卸载不掉的用 rpm 阅读全文
posted @ 2018-11-04 10:12 chenzhigang 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1.sudo cat /etc/mysql/debian.cnf dc2-user@10-254-0-118:/etc/mysql$ sudo cat /etc/mysql/debian.cnf# Automatically generated for Debian scripts. DO NOT 阅读全文
posted @ 2018-10-29 13:41 chenzhigang 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 有2种方法安装,一种是从源安装,一种是编译安装。推荐使用从源安装,需要注意的是centos中的很多组件依赖于python2,而其文件头中仅仅使用了 /usr/bin/python这样的写法,因此不能将python3的另名设置为python,而应该使用ln -s /bin/python3.6 /bin 阅读全文
posted @ 2018-10-09 10:16 chenzhigang 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 列出当前防火墙打开的端口: firewall-cmd --list-ports 打开某个端口: firewall-cmd --permanent --zone=public --add-port=5000/udp firewall-cmd --permanent --zone=public --ad 阅读全文
posted @ 2018-09-03 15:26 chenzhigang 阅读(267) 评论(0) 推荐(0) 编辑
摘要: set fileencoding=utf-8set fileencodings=ucs-bom,utf8,prcset guifont=Monaco:h11set guifontwide=NSimsun:h12 colo evening set guifont=Courier_New:h14:cAN 阅读全文
posted @ 2018-08-19 06:00 chenzhigang 阅读(537) 评论(0) 推荐(0) 编辑