rhel6.4中升级 OpenSSL 1.0.1f 到 openssl-1.0.1g
#!/bin/bash#升级 OpenSSL 1.0.1f 到 openssl-1.0.1gopenssl version -atar 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 varmake make install mv /usr/bin/openssl /usr/bin/openssl.OFFmv /usr/include/openssl /usr/include/openssl.OFFln -s /usr/local/ssl/bin/openssl /usr/bin/opensslln -s /usr/local/ssl/include/openssl /usr/include/openssl# 配置库文件搜索路径echo “/usr/local/ssl/lib” >> /etc/ld.so.conf#ldconfig -vopenssl version -a