RHEL的Repository好像要帐号。

所以yum几乎就不能用了。

 

在 /etc/yum.repos.d 里新建个文件,就可以用CentOS的Repository了

 

[CentOS6]
name=CentOS-6-Base
mirrorlist=http://mirrorlist.centos.org/?release=6&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=0
enabled=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6

 

参考:

http://www.tuxradar.com/answers/440

相关文章:

  • 2021-06-01
  • 2021-11-30
  • 2021-12-08
  • 2021-07-14
  • 2021-08-10
  • 2021-11-26
  • 2021-07-09
猜你喜欢
  • 2022-12-23
  • 2021-04-23
  • 2021-10-10
  • 2022-12-23
  • 2021-10-01
  • 2021-04-21
相关资源
相似解决方案