1. 程式人生 > >CentOS7下升級openssl

CentOS7下升級openssl

oca ttr .tar.gz tom selector latest pcre -c fig

參考:https://sb.sb/centos-upgrade-openssl/

yum install gcc gcc-c++ autoconf automake zlib zlib-devel pcre-devel

cd /usr/local/src

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

tar -xzvf openssl-1.0.2-latest.tar.gz

cd openssl-1.0.2*

./config

make && make install

mv /usr/bin/openssl /tmp/

ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl

openssl version

CentOS7下升級openssl