关于阿里云:CentOS7-阿里云镜像配置方法

2次阅读

共计 394 个字符,预计需要花费 1 分钟才能阅读完成。

CentOS 镜像

大家也能够关上阿里云官网镜像站:https://developer.aliyun.com/mirror/ 查看具体阐明。

简介

CentOS,是基于 Red Hat Linux 提供的可自在应用源代码的企业级 Linux 发行版本;是一个稳固,可预测,可治理和可复制的收费企业级计算平台。

下载地址: 阿里云开源镜像站资源目录 \
阿里云开源镜像站资源目录

配置办法

  1. 备份

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

  1. 下载新的 CentOS-Base.repo 到 /etc/yum.repos.d/

CentOS 7

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/re…

3. 运行 yum makecache 生成缓存

正文完
 0