Centos Source Configuration

Source: Internet
Author: User
Tags gpg

Http://mirrors.163.com/.help/centos.html

Centos7-base-163.repo

# centos-base.repo## The mirror system uses the connecting IP address of the client and the# update status of each mirror  To pick mirrors that is updated to and# geographically close to the client. You should use this for CentOS updates# unless is manually picking other mirrors.## If the mirrorlist= does For your, as a fall back you can try the # remarked off baseurl= line instead.##[base]name=centos-$releasever-base-163. com#mirrorlist=http://mirrorlist.centos.org/?release= $releasever &arch= $basearch &repo=osbaseurl=http:// mirrors.163.com/centos/$releasever/os/$basearch/gpgcheck=1gpgkey=http://mirrors.163.com/centos/ rpm-gpg-key-centos-7#released updates[updates]name=centos-$releasever-updates-163.com#mirrorlist=http:// mirrorlist.centos.org/?release= $releasever &arch= $basearch &repo=updatesbaseurl=http://mirrors.163.com/ centos/$releasever/updates/$basearch/gpgcheck=1gpgkey=http://mirrors.163.com/centos/rpm-gpg-key-centos-7# Additional PackagesBe useful[extras]name=centos-$releasever-extras-163.com#mirrorlist=http://mirrorlist.centos.org/?release=$ Releasever&arch= $basearch &repo=extrasbaseurl=http://mirrors.163.com/centos/$releasever/extras/$ Basearch/gpgcheck=1gpgkey=http://mirrors.163.com/centos/rpm-gpg-key-centos-7#additional packages that extend Functionality of existing packages[centosplus]name=centos-$releasever-plus-163.combaseurl=http://mirrors.163.com/ centos/$releasever/centosplus/$basearch/gpgcheck=1enabled=0gpgkey=http://mirrors.163.com/centos/ Rpm-gpg-key-centos-7
Yum Clean Allyum Makecache

Installing Epel
Yum Install Epel-release
Yum Makecache

  

Centos Source Configuration

Related Article

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.