OpenSSL 1.0.1g update note

For prevent the heartbleed bug, update the centos 6.5 to new version openssl

# Get the source and compile
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

# Update the real config
mv /usr/bin/openssl /root/
ln -s /usr/local/ssl/bin/openssl /usr/bin/openssl

# Check
$ openssl version
OpenSSL 1.0.1g 7 Apr 2014

這個網誌中的熱門文章

Bash判斷參數是否存在

Node.js package : forever