前提条件
首先,连接网络(不会可转到===>linux虚拟机连接网络),并且搭建网络yum源。
cd /etc/yum.repos.d/
rm -rf *
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
yum clean all
yum makecache
安装环境
yum install gcc patch libffi-devel python-devel zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-d
1