yum配置rhel-source.repo文件:点击打开链接
yum配置yum.conf :点击打开链接
yum配置:
1yum -y update
问题:可能会出现:unable toread consumer identity
no packages marked for update
需要将repo文件中enable设置为1
问题:
tring other mirror 这是repo文件中镜像地址不对。
镜像站点:http://mirrors.163.com/centos/6.7/os/x86_64/
2 yum clean all
yum makecache
3 yum install 待安的软件