Change the Rhel (Red Hat Enterprise Linux 5.8) Update source to update it automatically

Source: Internet
Author: User
Tags gpg


HP 4411s Install Red Hat Enterprise Linux 5.8)

Pick up from http://blog.chinaunix.net/uid-423637-id-3387338.html


cd/etc/yum.repos.d/

CP Rhel-debuginfo.repo RHEL-DEBUGINFO.REPO.BK

Gedit Rhel-debuginfo.repo

[Base]
name=red Hat Enterprise Linux 5.8-base
baseurl=http://mirrors.163.com/centos/5/os/$basearch/
Gpgcheck=1

[UPDATE]
name=red Hat Enterprise Linux 5.8-updates
baseurl=http://mirrors.163.com/centos/5/updates/$basearch/
Gpgcheck=1

[Extras]
name=red Hat Enterprise Linux 5.8-extras
baseurl=http://mirrors.163.com/centos/5/extras/$basearch/
Gpgcheck=1

[Addons]
name=red Hat Enterprise Linux 5.8-addons
baseurl=http://mirrors.163.com/centos/5/addons/$basearch/
Gpgcheck=1

Cd/etc/pki/rpm-gpg

wget http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-5

rpm-import/etc/pki/rpm-gpg/rpm-gpg-key*


Change the Rhel (Red Hat Enterprise Linux 5.8) Update source to update it automatically

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.