4-1 Yum Source file

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.