linux单项目发布流程
1.安装python #1.安装python3.7所需要的依赖包 yum -y groupinstall "Development tools" yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel #3下载python3.7的源码 3 wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tar.xz #4解压编译安装python3.7 4 tar -xJvf Python-3.7.0.tar.xz #5.cd 到Python-3.7.0文件夹 5 cd Python-3.7.0 # 6、用./方法执行configure,并指定安装到usr目录下 6 ./configure --prefix=/usr/local/python3 --enable-shared #7.开始编译安装 7 make && make install # 8、配置环境变量, 创建软链接 8 ln -s /usr/local/python3/bin/python3 /usr/bin