centos安装openssl

/安装openssl

 
 yum -y install pcre2-devel glib2-devel

##ln -s /usr/local/lib64/libssl.so.1.0.0 /usr/lib64/libssl.so.1.0.0
##ln -s /usr/local/lib64/libcrypto.so.1.0.0 /usr/lib64/libcrypto.so.1.0.0

 yum install -y gcc gcc-c++ autoconf automake zlib zlib-devel pcre-devel
 wget --no-check-certificate   https://www.openssl.org/source/old/1.0.0/openssl-1.0.0s.tar.gz
 tar -zxvf openssl-1.0.0s.tar.gz
cd openssl-1.1.0s
./config
make -j4 && make install

你可能感兴趣的:(centos,linux,服务器)