As4 via Yum Auto-upgrade implementation

Source: Internet
Author: User

The first method:

The Yum source comes from chinalinuxpub.com, using a CentOS package,
: http://www.chinalinuxpub.com/yum.tgz
Installation:
Tar zxvf yum.tgz
CD Yum
RPM-IVH *.rpm

Rm-rf/etc/yum.repos.d/centos-base.repo
Vi/etc/yum.repos.d/as4-update.repo
Join:
#released Updates
[UPDATE]
Name=red Hat Enterprise as Release 4 Updates
baseurl=http://ftp.chinalinuxpub.com/redhat/enterprise/updates/4as/
Gpgcheck=1
Gpgkey=http://ftp.chinalinuxpub.com/redhat/enterprise/rpm-gpg-key-linuxpub

Vi/etc/yum.repos.d/as4-base.repo
Join:
#released Base
[Base]
Name=red Hat Enterprise as Release 4 Updates
baseurl=http://ftp.chinalinuxpub.com/redhat/enterprise/os/i***/redhat/
Gpgcheck=1
Gpgkey=http://ftp.chinalinuxpub.com/redhat/enterprise/rpm-gpg-key-linuxpub

Yum can then be used normally.

Said here, you know the importance of choosing a good cloud server.
Registered Address: https://www.pppcloud.cn/index.html?referral_code=MTQwMDM0MA==A8X5

Second approach: Upgrade Rhel AS4 with the Yum repository from CentOS
1. Download and install the yum-2.4.0-1.centos4.noarch.rpm file as:
ftp://ftp.pbone.net/mirror/ftp.centos.org/4.2/os/alpha/CentOS/RPMS/yum-2.4.0-1.centos4.noarch.rpm

2. Modify or establish the/etc/yum.repos.d/centos-base.repo as follows:
[Base]
name=centos-$releasever –base
baseurl=http://ftp.riken.jp/linux/caos/centos/4.0/os/$basearch/
Gpgcheck=1

#released Updates
[UPDATE]
name=centos-$releasever –updates
baseurl=http://ftp.riken.jp/linux/caos/centos/4.0/updates/$basearch/
Gpgcheck=1

#packages used/produced in the build and not released
[Addons]
name=centos-$releasever –addons
baseurl=http://ftp.riken.jp/linux/caos/centos/4.0/addons/$basearch/
Gpgcheck=1

#additional packages that could be useful
[Extras]
name=centos-$releasever –extras
baseurl=http://ftp.riken.jp/linux/caos/centos/4.0/extras/$basearch/
Gpgcheck=1

3. Modify or establish the/etc/yum.repos.d/dag.repo as follows:
[Dag]
Name=dag RPM Repository for RHEL4
baseurl=http://ftp.riken.jp/linux/dag/redhat/el4/en/$basearch/dag/
Enabled=1
Gpgcheck=1
Gpgkey=http://ftp.riken.jp/linux/dag/packages/rpm-gpg-key.dag.txt

4. Run UPDATE:
Yum Update

5. Upgrade:
Yum Upgrade

6. Install other software, for example:
Yum Install MPlayer

As4 via Yum Auto-upgrade implementation

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.