过程:
- wget
http://www.openssl.org/source/openssl-1.0.1h.tar.gz - tar
zxvf openssl-1.0.1h.tar.gz - cd
openssl-1.0.1h - ./config
--prefix=/usr/local/openssl - make
&& make install - mv
/usr/bin/openssl /usr/bin/openssl.OFF - mv
/usr/include/openssl /usr/include/openssl.OFF - ln
-s /usr/local/openssl/bin/openssl /usr/bin/openssl - ln
-s /usr/local/openssl/include/openssl /usr/include/openssl - echo
"/usr/local/openssl/lib">>/etc/ld.so.conf - ldconfig
-v - openssl
version -a
http://blog.sina.com.cn/s/blog_63874ea80102ver6.html
备注:
openssl的下载地址:
https://www.openssl.org/source/
https://www.openssl.org/source/openssl-1.1.0b.tar.gz