When the redhat system is installed online, the system prompts This system is not registered with RHN.

Source: Internet
Author: User


When the redhat system is installed online, the system prompts This system is not registered with RHN. 1. Uninstall the redhat yum component www.2cto.com [root @ localhost ~]. # Rpm-qa | grep yum | xargs rpm-e -- nodeps 2. Download The centos yum component [root @ localhost ~] # Wget requests ~] # Wget requests ~] # Wget http://centos.ustc.edu.cn/centos/5/ OS /i386/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm 3. Install centos yum components [root @ localhost ~] # Rpm-ivh *. rpm 4. Back up the/etc/yum. repos. d/Redhat source [root @ localhost ~] # Mv rhel-debuginfo.repo rhel-debuginfo.repo.bak [root @ localhost ~] # Mv rhel-source.repo rhel-source.repo.bak 5, download update source, coexist in the system directory [root @ localhost ~] # Wget http://docs.linuxtone.org/soft/lemp/centos-base.repoin directory/etc/yum. repos. d/6. Generate cache and install [root @ localhost ~] # Yum makecache

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.