Rhel system configuration uses centos yum source

Source: Internet
Author: User
1. in linux, dependencies must be considered when installing the software package rpm, which is often troublesome. you can use yum to install the software package. yum can detect dependencies and automatically install the software package, therefore, it is more convenient 2. because the rhel5.5 yum needs to use the rhn service, this is a payment, so we use the free centos version to replace 3. first uninstall rhel5.5 from

1. in linux, dependencies need to be considered when installing the software package rpm, which is often troublesome. you can use yum to install the software package. yum can detect dependencies and automatically install the software package, so it is more convenient.
2. because the rhn service is required for rhel5.5 yum, we use the freeCentosVersion substitution
3. uninstall the yum that comes with rhel5.5.      
  Rpm-qa | grep yum
  Rpm-e yum -*-- Nodeps
4. download the centos yum package for rpm installation.    Rpm-ivhYum *
5. after the installation is complete, download the configuration file Centos-base.repo of the yum repository, put it in the/etc/yum. repo. d Directory
6. do not use yum update because it replaces all rhel software with centos
7. directly install the yum install software name for the software to be installed.
8. if we do not need to use the yum update function, we only need to use its dependency for CD installation. we can create a repo configuration file and set the urlbase = file in it: /// mnt/cdrom/ServerAnd enable = 1.

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.