本文主要是介绍centos7升级openssl1.1.1w版本,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
下载
https://www.openssl.org/source/old/1.1.1/index.html
安装依赖
yum install gcc libffi-devel zlib* openssl-devel libffi-devel zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gcc make
解压、编译、安装
tar -zxvf openssl-1.1.1w.tar.gz
cd openssl-1.1.1w
./config --prefix=/usr/local/openssl
make && make install
mv /usr/bin/openssl /usr/bin/openssl.bak
mv /usr/include/openssl/ /usr/include/openssl.bak
ln -s /usr/local/openssl/include/openssl /usr/include/openssl
ln -s /usr/local/openssl/lib/libssl.so.1.1 /usr/local/lib64/libssl.so
ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl
echo "/usr/local/lib64" >> /etc/ld.so.conf
ldconfig -v
查看版本
openssl version -a
参考
https://blog.csdn.net/m0_51691302/article/details/126424161
这篇关于centos7升级openssl1.1.1w版本的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!