标签:
如果安装的CentOS不是完整版,需要安装下面几个安装包
安装wget:
yum -y install wget
安装Perl:
yum install perl*
安装gcc:
yum install gcc
然后执行如下操作
wget http://www.openssl.org/source/openssl-1.0.2a.tar.gz tar zxvf openssl-1.0.2a.tar.gz cd openssl-1.0.2a ./config --prefix=/usr/local/openssl make && make install mv /usr/bin/openssl /usr/bin/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://www.cnblogs.com/gsls200808/p/4502299.html