注意——需要切换到root用户
首先需要安装 Node.js
# Ubuntu: curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - sudo apt-get install -y nodejs
# Debian: curl -sL https://deb.nodesource.com/setup_10.x | bash - apt-get install -y nodejs
# Centos: curl -sL https://rpm.nodesource.com/setup_10.x | bash - yum install nodejs -y
从Github把源码Clone下来
git clone https://github.com/openssl/openssl
配置
cd openssl/openssl
./config --prefix /usr/local/openssl
安装
make install
Comments | NOTHING