2018-09-12

1.装python3.6
https://www.cnblogs.com/ESHLkangi/p/8545979.html
注:腾讯云需要yum install gcc安装GCC软件套装

2.装虚拟环境
https://www.cnblogs.com/freely/p/8022923.html

3.装mysql
https://blog.csdn.net/wangt5952/article/details/75532382
4.装redis

因为yum包使用python2*等开发,修该为环境修改python3之后有问题,
解决:
修改文件/usr/bin/yum、/usr/libexec/urlgrabber-ext-down头中相应python为#!/usr/bin/python2.7

5.安装依赖包 pip install -r requestment.text 出现OSError: mysql_config not found
centos需要再安装下面这些依赖就可以有mysql_config了.
yum install mysql-devel gcc gcc-devel python-devel

6.安装nginx
https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-centos-7

你可能感兴趣的:(2018-09-12)