CentOS Configuration L Third-party EPO source

Source: Internet
Author: User
Tags aliyun

CentOS Configuration Third-party Epol Source


Objective


In the CentOS default Yum sometimes there is no installation package that we need, which is the need to configure a third-party source. After you have configured the source, you can install the required software packages directly with Yum.


Operation Steps

1. Backup (if other Epel sources are configured)

Mv/etc/yum.repos.d/epel.repo/etc/yum.repos.d/epel.repo.backup

Mv/etc/yum.repos.d/epel-testing.repo/etc/yum.repos.d/epel-testing.repo.backup


2. Download new repo to/etc/yum.repos.d/

Epel (RHEL 7)

Wget-o/etc/yum.repos.d/epel.repo Http://mirrors.aliyun.com/repo/epel-7.repo

Epel (RHEL 6)

Wget-o/etc/yum.repos.d/epel.repo Http://mirrors.aliyun.com/repo/epel-6.repo

Epel (RHEL 5)

Wget-o/etc/yum.repos.d/epel.repo Http://mirrors.aliyun.com/repo/epel-5.rep


3. Yum Install the software you need

CentOS Configuration L Third-party EPO source

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.