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--
Redhat6.7 is revised to the example analysis of centos6.7 official Yum source. I believe many inexperienced people don't know what to do about it. Therefore, this article summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
YUM strategy
1 Overview
Yum command is a rpm-based software package manager in Fedora, RedHat and SUSE. It enables system managers to interact and automatically manage RPM software packages, download and install RPM packages automatically from designated servers, automatically deal with dependency relationships, and install all dependent software packages at one time without tedious downloading and installation.
Yum provides commands to find, install, and delete one, a group, or even all of the software packages, and the commands are concise and easy to remember.
2 configuration
It doesn't take much to build a yum server, so we'll skip it here.
Mainly explain the configuration of the client. Here configure the source given on the official website of centos, mainly the total baseurl, and the gpgkey should also be changed appropriately.
[root@sera yum.repos.d] # pwd
/ etc/yum.repos.d
[root@sera yum.repos.d] # sed-n'64 Magi 69p 'CentOS-Base.repo
[centos-office]
Name=centos-office
Failovermethod=priority
Baseurl= http://mirror.centos.org/centos/6/os/x86_64/
Gpgcheck=1
Gpgkey= http://mirror.centos.org/centos/6/os/x86_64/RPM-GPG-KEY-CentOS-6
[root@sera yum.repos.d] #
Use
[1] Repo displays warehouse list
[root@sera] # yum-- disablerepo=\ *-- enablerepo=centos-office repolist
Loaded plug-ins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Warehouse identifies warehouse name status
Centos-office centos-office 6713
Repolist: 6713
[2] list displays all packages in the warehouse
Yum-- disablerepo=\ *-- enablerepo=centos-office list
[3] install program installation
Yum-- disablerepo=\ *-- enablerepo=centos-office instll xxx
After reading the above, have you mastered the method of changing redhat6.7 to the example analysis of centos6.7 official Yum source? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.