CentOS7升级openssl版本到1.0.2

admin 2020年6月23日11:44:54系统文档评论1,474 次浏览阅读模式

wget http://www.openssl.org/source/openssl-1.0.2.tar.gz  

tar zxvf openssl-1.0.2.tar.gz  

cd openssl-1.0.2

./config  

make && make install

不指定安装路径,则安装在/usr/local/ssl中

mv /usr/bin/openssl /usr/bin/openssl.old

mv /usr/include/openssl /usr/include/openssl.old

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

————————————————

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2020年6月23日11:44:54
  • 转载请务必保留本文链接:https://anyun.org/a/jishuguanzhu/xitongwendang/2020/0623/9661.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: