基本环境
yum install -y nc
yum install -y gcc
yum install -y openssl-devel
下载python3.6
wget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgz
解压、安装
tar -zxvf Python-3.6.4.tgz
cd Python-3.6.4
./configure --prefix=/opt/python --enable-shared
make