|
|
@ -13,12 +13,12 @@ mkdir -pv $path |
|
|
|
cd $path && \ |
|
|
|
cd $path && \ |
|
|
|
yum -y install gcc gcc-c++ zlib-devel bzip2-devel sqlite-devel readline-devel libffi-devel && \ |
|
|
|
yum -y install gcc gcc-c++ zlib-devel bzip2-devel sqlite-devel readline-devel libffi-devel && \ |
|
|
|
color Info "openssl 包下载,请稍等..." && \ |
|
|
|
color Info "openssl 包下载,请稍等..." && \ |
|
|
|
wget http://download.beyourself.org.cn/package/openssl-1.1.1n.tar.gz && \ |
|
|
|
wget http://download.beyourself.org.cn/download/package/openssl-1.1.1n.tar.gz && \ |
|
|
|
tar xf openssl-1.1.1n.tar.gz && \ |
|
|
|
tar xf openssl-1.1.1n.tar.gz && \ |
|
|
|
cd openssl-1.1.1n && \ |
|
|
|
cd openssl-1.1.1n && \ |
|
|
|
./config --prefix=/usr/local/openssl && \ |
|
|
|
./config --prefix=/usr/local/openssl && \ |
|
|
|
make -j $(cat /proc/cpuinfo | grep processor |wc -l) && make install && cd .. && \ |
|
|
|
make -j $(cat /proc/cpuinfo | grep processor |wc -l) && make install && cd .. && \ |
|
|
|
wget http://download.beyourself.org.cn/package/Python-3.10.4.tar.xz && \ |
|
|
|
wget http://download.beyourself.org.cn/download/package/Python-3.10.4.tar.xz && \ |
|
|
|
tar xf Python-3.10.4.tar.xz && \ |
|
|
|
tar xf Python-3.10.4.tar.xz && \ |
|
|
|
cd Python-3.10.4 && \ |
|
|
|
cd Python-3.10.4 && \ |
|
|
|
./configure --enable-shared --prefix=/usr/local/python3.10.4 --with-openssl=/usr/local/openssl --with-openssl-rpath=auto && \ |
|
|
|
./configure --enable-shared --prefix=/usr/local/python3.10.4 --with-openssl=/usr/local/openssl --with-openssl-rpath=auto && \ |
|
|
|