root@i-ka9tolv1:/home/ubuntu/local/nginx-1.6.2# yum -y install openssl openssl-devel
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo>
原因ubuntu14.0 不支持yum下载按装机制
正确的命令是:
sudo apt-get install openssl
sudo apt-get install libssl-dev
本文介绍在Ubuntu 14.0环境下正确安装OpenSSL的方法。由于该版本不支持使用yum进行软件包管理,因此提供了适用于Ubuntu系统的apt-get命令来安装OpenSSL及其开发库。

238

被折叠的 条评论
为什么被折叠?



