[Turn] for Red Hat AS4 add online upgrade function
Perhaps because of the copyright, the Internet has been unable to find the available Rhel apt and yum source. CentOS is a version based on Rhel rebuild, its directory structure, file naming, all packages are completely compatible with Rhel, so We can use the CentOS apt and Yum Source to carry on the system and the software update completely.
Apt Download: http://rpm.pbone.net/index.php3/... ntos4.i386.rpm.html
Install with rpm-i apt-0.5.15cnc6-4.centos4.i386.rpm after downloading
In fact, it can be used at this time, but in order to make the update faster, we'd better edit the following file
Revise the apt source for CentOS China Mirror
QUOTE: ### CentOS-4 APT Repository
RPM http://mirror.be10.com centos/4/apt/i386 os addons updates Extras
RPM http://mirror.be10.com centos/4/apt/i386 contrib centosplus then update apt file list
Upgrade All Files
You can also use the following command to install the software
Apt-get Install PackageName
With APT, we can upgrade most of our software, but we need to upgrade the kernel with Yum
Install Yum First
Apt-get Install Yum
This time you need to import a Gpg-key
Now there is a mistake on the web article, but also to modify the/etc/yum.repos.d/centos-base.repo
To yum the upgrade and replace the contents of the/etc/yum.repos.d/centos-base.repo with the following:
#packages used/produced in the builds but not released
#additional packages that useful
#additional packages that extend functionality of existing packages
#contrib-packages by Centos Users
#packages in testing
Enabled=0 and now you're ready to upgrade.
Yum If you upgrade the kernel after the upgrade, you need to reboot and use
Reboot and look at the system kernel, it's already a new version.
You should have a high savvy, knowing that 4 represents the version number in baseurl=http://mirror.be10.com/centos/4/testing/i386/.
This kind of article many, congratulations you to see the most correct one, but also thank you to see here.
Test environment: Red Hat AS4
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to firstname.lastname@example.org. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
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:
and provide relevant evidence. A staff member will contact you within 5 working days.