Redhat Enterprise Linux configuration Yum repository

Source: Internet
Author: User

Rhel downloaded from the official website, after installation is not configured Yum source, you need to configure the Yum source. It's hard to find the Yum source on the network, but in the ISO image there are a lot of redhat packages and genuine software that we can copy out and build our own Yum source.   1, after the successful installation of Rhel, we use Yum will find the prompt is not registered, the first step, from the ISO image to copy the package, put on the desktop a folder called base. 2, build an FTP environment, allow anonymous login. The anonymous login account is anonymous, and the password is not. Set the FTP default directory to the path of the base folder. I will specify the FTP directory on the desktop here.   3, login Rhel, configure Yum source. Cd/etc/yum.repos.dvi Base.repo Enter the following configuration, red changes to your FTP IP address, blue is the name by the way. [Base]name=my base repobaseurl=ftp://192.168.7.62/baseenabled=1gpgcheck=1gpgkey=ftp://192.168.7.62/base/rpm-gpg-key-redhat-release 4, complete, you can use Yum.

Redhat Enterprise Linux configuration Yum repository

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.