ubuntu使用yum命令时报错解决方法

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.

 You can enable repos with yum-config-manager --enable

原因ubuntu14.0 不支持yum下载按装机制 
正确的命令是:
sudo apt-get install openssl
sudo apt-get install libssl-dev

你可能感兴趣的:(server)