ubuntu编译安装openssl

http://blog.bccn.net/%E9%9D%99%E5%A4%9C%E6%80%9D/66642

su root  不然权限不够

cd /usr/src

wget https://www.openssl.org/source/openssl-1.1.1d.tar.gz --no-check-certificate

tar zxvf openssl-1.1.1d.tar.gz

cd openssl-1.1.1d/

./config shared --prefix=/usr/local/

make install

cp libcrypto.so.1.1 /usr/lib/x86_64-linux-gnu/

cp libssl.so.1.1 /usr/lib/x86_64-linux-gnu/

rm /usr/bin/openssl

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

openssl version

 
上一篇:centos下编译安装Openssl


下一篇:编译安装openssl报错:POD document had syntax errors at /usr/bin/pod2man line 69. make: *** [install_docs]