新新新手,今天刚刚接触使用centos7,在装docker时候发现使用yum时候出现了报错
Could not retrieve mirrorlist http://mirrorlist.centos.org/…
Yum Package Manager
Yum is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm. Yum has a plugin interface for adding simple features. Yum can also be used from other python programs via its module inteface.(http://yum.baseurl.org/)
所以,同为新手,奶妈级指导解决问题
查看yum的安装情况
首先 键入yum --help
查看yum的安装情况
这种呢就是正常情况,好下一步
验证配置resolv.conf
验证配置resolv.conf是否配置
键入vi /etc