CentOS6.5下OpenSSL升级到OpenSSL 1.0.1g
时间:2014-07-10 10:02 来源:blog.csdn.net 作者:zhaoruiying2013
# cd /usr/src
# wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz -O openssl-1.0.1g.tar.gz
# tar -zxf openssl-1.0.1g.tar.gz
# cd openssl-1.0.1g
# ./config
# make
# make test
# make install
# openssl version(显示的是旧的版本1.0.1e)
执行下面的命令:
# mv /usr/bin/openssl /root/ (或者删除)
# ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
# openssl version
OpenSSL 1.0.1g 7 Apr 2014
(责任编辑:IT)
# cd /usr/src # wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz -O openssl-1.0.1g.tar.gz # tar -zxf openssl-1.0.1g.tar.gz # cd openssl-1.0.1g # ./config # make # make test # make install # openssl version(显示的是旧的版本1.0.1e)
执行下面的命令:
# mv /usr/bin/openssl /root/ (或者删除) |