Linux-RHEL7.0配置aliyun
RHEL7.0配置aliyun 1、创建一个目录,用于存放原来的yum信息。我这里没有yum,就不创建目录了。 [ root@master ~ ] # cd /etc/yum.repos.d/ [ root@master yum.repos.d ] # ls [ root@master yum.repos.d ] # 2、下载镜像源 [ root@master yum.repos.d ] # wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo --2020-06-03 07:23:24-- https://mirrors.aliyun.com/repo/Centos-7.repo Resolving mirrors.aliyun.com ( mirrors.aliyun.com ) .. . 36.249.75.120, 116.153.35.248, 116.153.35.246, .. . Connecting to mirrors.aliyun.com ( mirrors.aliyun.com ) | 36.249.75.120 | :443 .. . connected. HTTP request sent, awaiting response ..