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