# 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/ (或者删除) |