Linux部署Django环境
一、安装python3可能使用的依赖 [root@instance-xu9puhyr ~]# yum -y install gcc [root@instance-xu9puhyr ~]# yum -y groupinstall 'Development Tools' [root@instance-xu9puhyr ~]# yum install -y ncurses-libs zlib-devel mysql-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel 二、进入tmp目录 [root@instance-xu9puhyr ~]# cd / [root@instance-xu9puhyr /]# cd tmp/ 下载到tmp目录 python3.6.7 [root@instance-xu9puhyr tmp]# wget https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz 解压python3.6.7 [root@instance-xu9puhyr tmp]# tar xf Python-3.6.7.tgz