Aliyun official website also gave the Yum unloading load and modify the source for Ali Cloud Intranet documents. Step here do not say, you can click on the link below for reference
Https://help.aliyun.com/knowledge_detail/6708643.html
Https://help.aliyun.com/knowledge_detail/7613310.html
After reloading Yum and modified Yum source for Ali Cloud Intranet, basic wood have what problem. However, when the installation of httpd, the error, the general is unable to find a dependency on the package. Then decisively replace the Yum source for 163, the specific procedures can be referred to as follows:
Note: #下面wget获取的centos6的yum源, if you are the other version, just need to change the number behind the/.help/centos, such as your centos7 wget address should be
Http://mirrors.163.com/.help/CentOS7-Base-163.repo
Copy Code code as follows:
#首先备份
/etc/yum.repos.d/centos-base.repo
Cd/etc/yum.repos.d
MV Centos-base.repo Centos-base.repo.bak
#wget获取的yum源可根据自己系统版本进行修改
wget Http://mirrors.163.com/.help/CentOS6-Base-163.repo
MV Centos6-base-163.repo Centos-base.repo
#运行以下命令生成缓存
Yum Clean All
Yum Makecache
The above is a small set to introduce the Aliyun server Yum source update the relevant knowledge of the problem, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!