CentOS之——升级openssl为最新版

前端之家收集整理的这篇文章主要介绍了CentOS之——升级openssl为最新版前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

转载请注明出处:http://blog.csdn.net/l1028386804/article/details/53165252

wget http://www.openssl.org/source/openssl-1.0.1h.tar.gz  
tar zxvf openssl-1.0.1h.tar.gz  
cd openssl-1.0.1h  
./config --prefix=/usr/local/openssl  
make && make install  
mv /usr/bin/openssl /usr/bin/openssl.OFF  
mv /usr/include/openssl /usr/include/openssl.OFF  
ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl  
ln -s /usr/local/openssl/include/openssl /usr/include/openssl  
echo "/usr/local/openssl/lib">>/etc/ld.so.conf  
ldconfig -v  
openssl version -a  

猜你在找的CentOS相关文章