Centos下yum安装openresty
1.添加源# add the yum repo:wget https://openresty.org/package/centos/openresty.repomv openresty.repo /etc/yum.repos.d/# update the yum index:yum check-up
1.添加源# add the yum repo:wget https://openresty.org/package/centos/openresty.repomv openresty.repo /etc/yum.repos.d/# update the yum index:yum check-up
1.安装虚拟环境pip install virtualenv2.基本使用cd my_projectvirtualenv venv # venv为虚拟环境目录名如果有多个python版本,可以指定解释器virtualenv -p /usr/bin/python3.6 venv3.进入虚拟环境,安装