pipenv 虚拟环境 Django项目部署
1. 创建服务器
-
创建root
-
配置ssh
-
安装python3.7 pip3
ubuntu参考 https://blog.csdn.net/u014775723/article/details/85213793
$ apt-get install python3 $ apt-get install python3-pip
centos:
$ wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz $ tar -zxvf Python-3.6.4.tgz $ cd Python-3.6.4 $ ./configure LD_RUN_PATH=/usr/local/lib LDFLAGS="-L/usr/local/lib" CPPFLAGS