目的
部署 pypi private server
使用范围
测试区(办公网)
资源信息
当前 server ip: 10.199.220.148 10.199.220.147
vip: none
deploy
disable selinux
/etc/selinux/config
SELINUX=disabled
init 6 <--- needed
os dependence
# yum install -y vim* --disablerepo=epel --disablerepo=epel-vclound
# yum groupinstall -y "Development Tools"
python-3.8 + openssl
source code extra
# cd /usr/src
# tar xf openssl-1.1.1g.tar
# tar xf python3-el7.tar
openssl install
cd /usr/src/openssl-1.1.1g
make install
# echo "/usr/local/openssl/lib/" > /etc/ld.so.conf.d/openssl.conf
# ldconfig
验证 openssl install
# strings /etc/ld.so.cache | grep openssl
/usr/local/openssl/lib/libssl.so.1.1
/usr/local/openssl/lib/libssl.so
python install
# cd /usr/src/Python-3.8.3/
# make install