yum源更新

Bertha 。 2022-07-28 11:48 258阅读 0赞

yum源更新

收录架构

  • i386
  • x86_64
  • SRPMS

收录版本

所有版本

更新时间

每4小时更新一次

使用说明

首先备份/etc/yum.repos.d/CentOS-Base.repo

  1. mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份)

  • CentOS7
  • CentOS6
  • CentOS5

http://mirrors.163.com/.help/centos.html

运行以下命令生成缓存

  1. yum clean all
  2. yum makecache

相关链接

  • 官方主页: http://www.centos.org/
  • 邮件列表: http://www.centos.org/modules/tinycontent/index.php?id=16
  • 论坛: http://www.centos.org/modules/newbb/
  • 文档: http://www.centos.org/docs/
  • Wiki: http://wiki.centos.org/
  • 镜像列表: http://www.centos.org/modules/tinycontent/index.php?id=32

发表评论

表情:
评论列表 (有 0 条评论,258人围观)

还没有评论,来说两句吧...

相关阅读

    相关 CentOS7更新yum

    刚安装好的CentOS默认使用的是国外的源,为了提高下载和安装软件的速度,本文将CentOS的yum源更改为阿里云的源 因为centos不支持ntsf格式的磁盘,因此需要安装