In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to automatically upgrade redhat linux through yum". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to automatically upgrade redhat linux through yum".
The first method:
The yum source comes from chinalinuxpub.com and uses the centos package
Download address: 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
Then you can use yum normally.
The second method: upgrade RHEL AS4 using CentOS's yum library
1. Download and install the yum-2.4.0-1.centos4.noarch.rpm file at:
Ftp://ftp.pbone.net/mirror/ftp.centos.org/4.5/os/alpha/CentOS/RPMS/yum-2.4.2-1.centos4.noarch.rpm
two。 Modify or establish / etc/yum.repos.d/CentOS-Base.repo as follows:
[base]
Name=CentOS-$releasever-Base
Baseurl= http://ftp.riken.jp/Linux/caos/centos/4.5/os/$basearch/
Gpgcheck=1
# released updates
[update]
Name=CentOS-$releasever-Updates
Baseurl= http://ftp.riken.jp/Linux/caos/centos/4.5/updates/$basearch/
Gpgcheck=1
# packages used/produced in the build but not released
[addons]
Name=CentOS-$releasever-Addons
Baseurl= http://ftp.riken.jp/Linux/caos/centos/4.5/addons/$basearch/
Gpgcheck=1
# additional packages that may be useful
[extras]
Name=CentOS-$releasever-Extras
Baseurl= http://ftp.riken.jp/Linux/caos/centos/4.5/extras/$basearch/
Gpgcheck=1
3. Modify or establish / 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, such as:
Yum install mplayer
Thank you for reading, the above is the content of "how to automatically upgrade redhat linux through yum". After the study of this article, I believe you have a deeper understanding of how to automatically upgrade redhat linux through yum, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.