rhel6.4中升级 OpenSSL 1.0.1f 到 openssl-1.0.1g

rhel6.4中升级 OpenSSL 1.0.1f 到 openssl-1.0.1g


#!/bin/bash
#升级 OpenSSL 1.0.1f 到 openssl-1.0.1g
openssl version -a
tar zxf /work/openssl-1.0.1g.tar.gz  -C /usr/local/src/
cd /usr/local/src/openssl-1.0.1g 
./config shared zlib
#按任意键继续
#read -n1 var
make 
make install 
mv /usr/bin/openssl /usr/bin/openssl.OFF
mv /usr/include/openssl /usr/include/openssl.OFF
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/ssl/include/openssl /usr/include/openssl
# 配置库文件搜索路径
echo “/usr/local/ssl/lib” >> /etc/ld.so.conf
#ldconfig -v
openssl version -a


你可能感兴趣的:(OpenSSL,到,1.0.1f,rhel6.4中升级,openssl-1.0.1g)