首页 > 服务器    日期:2020-03-18 / 来自互联网 / 浏览

注意——需要切换到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 

觉得上面的内容有用吗?快来点个赞吧!

点赞() 我要打赏

温馨提示 : 本站内容来自会员投稿以及互联网,所有源码及教程均为作者总结编辑,请大家在使用过程中提前做好备份,以免发生无法预知的错误,源码类教程请勿直接用于生产环境!

 可能感兴趣的文章