准备工作
下载python包1
wget http://python.org/ftp/python/2.7.11/Python-2.7.11.tgz
查看是否安装make工具1
2
3rpm -qa|grep make
automake-1.11.1-4.el6.noarch
make-3.81-20.el6.x86_64
如果没有安装make工具1
yum -y install gcc automake autoconf libtool make
查看是否安装zlib库1
2
3rpm -qa|grep zlib
zlib-devel-1.2.3-29.el6.x86_64
zlib-1.2.3-29.el6.x86_64
安装zlib1
yum install zlib-devel
检查是否安装ssl 库1
2
3
4
5
6rpm -qa|grep openssl
openssl-devel-1.0.1e-16.el6_5.x86_64
openssl-static-1.0.1e-16.el6_5.x86_64
openssl098e-0.9.8e-17.el6.centos.2.x86_64
openssl-1.0.1e-16.el6_5.x86_64
openssl-perl-1.0.1e-16.el6_5.x86_64
安装openssl1
yum install openssl*
安装bzip2依赖库1
yum install -y bzip2*