rmp local repository profile /etc/yum.conf, the definition of yum basic configuration
Warehouse configuration in /etc/yum.repo.d below, the most critical is CentOS-Base.repo, before modifying the configuration repository repo best to back up files.
CentOS-Base.repo arranged in a plurality of warehouses
It is a warehouse configuration:
[Base]
name = CentOS- $ releasever
Enabled = 0 whether to enable the warehouse
failovermethod = priority
baseurl = HTTP: //mirrors.cloud.aliyuncs.com/centos/$releasever/os/$basearch/ warehouse location, if you are using a local installation package, it is necessary to file: /// $ {file location}
gpgcheck verify whether packet signing. 1 =
gpgkey = http: //mirrors.cloud.aliyuncs.com/centos/RPM-GPG-KEY-CentOS-6 signature keys used
Use yum list all | less checking library is in effect.
Use yum --nogpgcheck localinstall --installroot = $ {$ {} installation path installation package names / registration regular batch installation}