1.Yum source File
<1> in Linux, there is a directory/etc/yum.repos.d/, which has a default of 4 yum source files,
Where base is the basic Yum source file, it is in effect by default
Some of the other defaults are not in effect
<2> VI can open it and take a look
Vi/etc/yum.repos.d/centos-base.repo
-------------------------------------------------------------------------------------------------------
[Base] Container name, must be placed in []//name of the Yum source
Name container description, can be self-written//description, equivalent to a note or a brief introduction
Mirrorlist Mirror site, this can be commented out
BaseURL the address of our Yum source server.
The default is the official CentOS Yum source server, which is available,
If you think slow can be changed to your favorite Yum source address, such as the domestic Yum source address
Enabled whether this container is in effect, if not written or written enabled=1 are effective,
Enabled=0 is not effective.
Gpgcheck if 1 means RPM digital certificate verification, if 0 is not verified
(Recommended to open, if you download an illegal, not the official RPM package, will be an error)
Gpgkey the public key file where the digital certificate is stored. No modifications (certificates present in the system)
-------------------------------------------------------------------------------------------------------
<3> If you have access to the Internet, the default is the Yum source file of base, which can be accessed directly from the installation
4-1 Yum Source file