centos7 Ali yum configuration source

centos finished first just installed Ubuntu system as there are not as many sources can be for your use

So we need to download source yum Ali cloud in the download epel-release.noarch expansion pack on it

As follows:

1. First of all this is the source yum check my machine, you can see checking out 0 record

 

 2. Download Ali cloud network source Centos-Base to the directory /etc/yum.repos.d/

 

 3. refresh yum repository, you can see there are 11,355 packages

 

 4. If the packet is not intended yum, yum package can be acquired by the extended command

[root@test2 yum.repos.d]# yum install epel-release.noarch -y

 

 5. refresh again yum repository of resources, successfully added the expansion pack, now there are 24,865 a yum package

 

 

Guess you like

Origin www.cnblogs.com/qxfy/p/12017636.html