openssl update to 1.0.1g

cd /usr/src

wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz -O openssl-1.0.1g.tar.gz

tar -zxf openssl-1.0.1g.tar.gz

cd openssl-1.0.1g

./config

make

make test

make install

 

openssl version

 

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

openssl version

OpenSSL 1.0.1g 7 Apr 2014

 

 

 

此条目发表在linux分类目录,贴了标签。将固定链接加入收藏夹。