Linux configuration 163yum Source Epel source

Source: Internet
Author: User

Today a small partner asked blogger, want to change a 163 source (Ali, Amazon should be the same, Bo master no one by one authentication) how to change! Bloggers of course are ready to show small partners ... But, you're not mistaken, you have a face. And finally, with the small partners to configure the good, so write down this article:

The environment here is Linux Redhat, but the others are roughly the same.

Introduction to the idea of configuring the source:

Configuring 163 sources

Configuring the Epel Source

One: Configure 163 source

Delete the source itself:

1 [[email protected] ~]#  cd/etc/yum.repos.d2 [[email protected] YUM.REPOS.D]#  ls3 Rhel-source.repo

Place the Rhel-source.repo under the Redhat file:

1 [[email protected] YUM.REPOS.D]#  mkdir redhat2 [[email protected] YUM.REPOS.D] # ls 3 redhat  rhel-source.repo4 [[email protected] YUM.REPOS.D]#  MV Rhel-source.repo redhat/5 [[email protected] YUM.REPOS.D]#  ls6 Redhat

Create 163 source files:

1 [[email protected] YUM.REPOS.D]#  vim 163.repo

Edit File Contents:

[163repo]name=linux redhat 163.repobaseurl=http://mirrors.163.com/centos/6/os/x86_64/(here Select the source of 163, This is the source of Redhat6) gpgcheck=0enabled=1

To configure the Epel source:

RPM-IVH http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm

Query Result:

1 [[email protected] YUM.REPOS.D]#  ls2 163.repo  Epel.repo  Epel-testing.repo  Redhat

Linux configuration 163yum Source Epel source

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.