yum -y install gcc automake autoconf libtool make
wget https://www.openssl.org/source/old/1.0.1/openssl-1.0.1e.tar.gz
mv openssl-1.0.1e.tar.gz /opt/software/
tar -vaxf /opt/software/openssl-1.0.1e.tar.gz -C /opt/module/
cd /opt/module/openssl-1.0.1e/
./config --prefix=/usr/local --openssldir=/usr/local/ssl
make && make install
./config shared --prefix=/usr/local --openssldir=/usr/local/ssl
make clean
make && make install
cp libssl.so.1.0.0 libcrypto.so.1.0.0 /usr/lib64
网友评论