# 切换aliyun mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup cd /etc/yum.repos.d/ # centos6.x wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo # centos7.x wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum clean all yum makecache yum install tree -y yum update -y
相关文章:
- 阿里yum源 2023-11-08
- 国内yum源的安装(163,阿里云,epel) 国内yum源的安装(163,阿里云,epel) 2023-11-08
- CentOS7 配置阿里云yum源,非常之简单 2023-11-08
- Linuxcentos 配置阿里云源 2023-11-08
- 配置阿里云镜像源 2023-11-08
- 阿里云服务器(ECS)CentOS修改yum源为阿里源 2023-11-08
- 配置yum源,yum源的共享 2023-11-08
- linux 配置本地yum源,配置国内yum源,配置epel源 2023-11-08