In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
[root@XAYQ-Test2 yum.repos.d] # yum list
Loaded plugins: fastestmirror, priorities, product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
Since redhat's yum online update is free, it cannot be used without registration. Solution: uninstall the default installation of yum and reinstall it.
Rpm-qa | grep yum
Rpm-e-nodeps yum
Download the installation package for yum from the new one
[root@XAYQ-Test2 opt] # wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-3.2.29-40.el6.centos.noarch.rpm
[root@XAYQ-Test2 opt] # wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
[root@XAYQ-Test2 opt] # wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm
1. Install yum software package
Note: individual installation packages may depend on other packages (for example, yum and yum-fastestmirror depend on each other), so we can put all these packages together and install them at the same time with one command:
# rpm-ivh yum-metadata-parser-1.1.2-16.el6.i686.rpm yum-3.2.29-40.el6.centos.noarch.rpm yum-plugin-fastes
2. Clear the original yum cache
Yum clear all
3. Rebuilding yum cache can improve the speed of yum search software.
Yum nakecache
4. Update yum
Yum update
Configure the yum repository after the update. This configuration requires the installation of ipvsadm, which is not available in the local yum repository, so use the
The http://mirrors.163.com/centos/6/os/i386/Packages/ address is used as the warehouse location. I installed 2.6.32-358.el6.i686. We can configure the corresponding warehouse according to the specific linux system.
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
Toughradius Management console default port: 1816
© 2024 shulou.com SLNews company. All rights reserved.