摘要:
1.报错内容: django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 原因:django2.2和pymysql版本不匹配。mysqldb不支持pyth 阅读全文
摘要:
安装postfix.查看是否安装# rpm -qa | grep postifx没有安装的话,可以手动安装。# yum -y install postfix检查mail# rpm -qa | grep mail如果没安装就运行该命令# yum -y install mailx 安装完成后,修改配置文 阅读全文
摘要:
安装: 首先官网下载https://redis.io/download所需要的包然后上传到linux 能连网的直接 wget http://download.redis.io/releases/redis-4.0.8.tar.gz 设置自己所需要的版本就可以 解压: tar xzvf redis-6 阅读全文
摘要:
首先pip install pyinstaller 这个包包含所有的依赖 然后 pyinstaller -F youpy.py 必须是同级目录 成功后在该文件里生成三个文件夹 打开dist文件,会有这个exe文件,双击就可以打开,弹出个黑窗口,会有点慢不要着急 可以在任意地方打开,无需python环 阅读全文
摘要:
安装 golang源码包: go get github.com/gohouse/converter 示例表结构 CREATE TABLE `prefix_user` ( `Id` int(11) NOT NULL AUTO_INCREMENT, `Email` varchar(32) NOT NUL 阅读全文
摘要:
nginx安装nginx安装包下载nginx:http://nginx.org/download/ 根据需要选择一个安装包版本下载,我这里下载的是 nginx-1.10.3.tar.gz 安装nginx(注意使用root用户安装)上传到服务器 /usr/local 文件夹下解压 su // 输入密码 阅读全文
摘要:
load data infile '/app/mysql.txt' into table tablename; 执行以上mysql语句后报错:1290 (HY000): The MySQL server is running with the --secure-file-priv option so 阅读全文
摘要:
先下载python的版本 https://www.python.org/downloads/source/ 安装依赖环境 # yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline 阅读全文
摘要:
什么是MySQL? MySQL 是一种关系型数据库,在Java企业级开发中非常常用,因为 MySQL 是开源免费的,并且方便扩展。阿里巴巴数据库系统也大量用到了 MySQL,因此它的稳定性是有保障的。MySQL是开放源代码的,因此任何人都可以在 GPL(General Public License) 阅读全文
摘要:
点击文件 首选项 设置 然后搜索python.autoComplete.addBrackets 对勾搭上就可以了 阅读全文