redhat6.5_server_install

CentOS repo:

wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

EPEL

wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
rpm -ivh epel-release-6-5.noarch.rpm   yum clean yum makecache yum update  

install software

vsftpd

gcc

tiger-vncserver

openssl-devel

xterm

nedit

 

python3

wget https://www.python.org/downloads/3.5.2/Python-3.5.2.tgz

tar xvf Python-3.5.2.tgz

cd Python-3.5.2

./configure --prefix=/usr/local/Python3.5.2

make

make install

cd /usr/bin

ln -s /usr/local/Python3.5.2/bin/python3 python

ln -s /usr/local/Python3.5.2/bin/python3 python3

 

 

pip3

wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.tar.gz

tar -zxvf setuptools-19.6.tar.gz
cd setuptools-19.6
python setup.py build
python setup.py install
上一篇:如何在setup.py脚本中运行所有测试?


下一篇:使用Google App Engine上的SetupTools动态下载和安装python模块