In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
RHEL system recovery installation CD in the yum update source method is what, for this problem, this article describes the corresponding analysis and solution in detail, hoping to help more want to solve this problem of small partners to find a simpler and easier way.
Install CD Local YUM Update Source
Mount the installation CD:
The code is as follows:
mount /dev/cdrom /mnt
vi /etc/yum.repos.d/local.repo
Modify the local update source file to add content:
The code is as follows:
[HightAvailability]
name=HightAvailability
baseurl=file:///mnt/HighAvailability
enable=1
gpgcheck=0
The code is as follows:
[LoadBalancer]
name=LoadBalancer
baseurl=file:///mnt/LoadBalancer
enable=1
gpgcheck=0
The code is as follows:
[Server]
name=Server
baseurl=file:///mnt/Server
enable=1
gpgcheck=0
PS: CentOS 6.1 replaced with yum CD source
The code is as follows:
#mkdir /media/CentOS
#mount /dev/cdrom /media/CentOS
test
The code is as follows:
#yum --disablerepo=* --enablerepo=c6-media install gcc
Success.
Installed:
gcc.i686 0:4.4.5-6.el6
Dependency Installed:
cloog-ppl.i686 0:0.15.7-1.2.el6 cpp.i686 0:4.4.5-6.el6
glibc-devel.i686 0:2.12-1.25.el6 glibc-headers.i686 0:2.12-1.25.el6
kernel-headers.i686 0:2.6.32-131.0.15.el6 libgomp.i686 0:4.4.5-6.el6
mpfr.i686 0:2.4.1-6.el6 ppl.i686 0:0.10.2-11.el6
Complete!
About RHEL system recovery installation CD in the yum update source method is how to answer the question to share here, I hope the above content can be of some help to everyone, if you still have a lot of doubts not solved, you can pay attention to the industry information channel to learn more related knowledge.
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.