系统相关
首页 > 系统相关> > linux升级openssl到1.1.1j 【2021-3-20】亲测可使

linux升级openssl到1.1.1j 【2021-3-20】亲测可使

作者:互联网

[root@hadoop ~]# wget https://www.openssl.org/source/openssl-1.1.1j.tar.gz
[root@hadoop ~]# tar -zxvf openssl-1.1.1j.tar.gz -C /root/
[root@hadoop ~]# cd /root/openssl-1.1.1j/
[root@hadoop ~]# ./config --prefix=/usr/local/ssl --shared
[root@hadoop ~]# make && make install
[root@hadoop ~]# mv /usr/include/openssl /usr/include/openssl.bak
[root@hadoop ~]# mv /usr/bin/openssl /usr/bin/openssl.bak
[root@hadoop ~]# ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl
[root@hadoop ~]# ln -s /usr/local/ssl/include/openssl /usr/include/openssl
[root@hadoop ~]# echo "/usr/local/lib64/" >> /etc/ld.so.conf
[root@hadoop ~]# ldconfig
[root@hadoop ~]# openssl version
OpenSSL 1.1.1j  16 Feb 2021



标签:20,1.1,hadoop,openssl,usr,1j,root
来源: https://blog.csdn.net/asd1358355022/article/details/115025078