In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Configuration file for yum
Global configuration: / etc/yum.conf yum
Cachedir: package cache directory
Keepcache: whether the cache is saved, 1 is saved and 0 is not saved
Debuglevel: debug level (default is 2)
Logfile: log file path
Gpgcheck: whether to check the key, a way to verify the integrity of the software
Warehouse configuration: / etc/yum.repo.d/name.repo yum
[name]: warehouse id
Name: warehouse name
Baseurl: the address of the warehouse
Gpgkey: public key address. You can add a key address if you need to check integrity.
Enable: whether to open the current warehouse
Gpgcheck: whether to use key authentication
Yum command
1. Enable and disable warehouses
Disable warehouse: yum-config-manager-- disable "warehouse name"
Enable warehouse: yum-config-manager-- enable "warehouse name"
two。 Display a list of software repositories
Yum repolist
3. Display a list of software packages
Yum list
4. Install, uninstall and update
Installation: yum install package1 package2... -y
Reinstall: yum reinstall package
Uninstall: yum remove package
Update: yum update package
Downgrade: yum downgrage package
Check for available updates: yum check-update
5. Cache command
Clear cache: yum clean all
Build cache: yum makecache
6. View dependencies
Yum deplist package1
7. Package group related commands
Install: yum groupinstall group1 [group2] [...]
Update yum groupupdate group1 [group2] [...]
List yum grouplist [hidden] [groupwildcard] [...]
Delete yum groupremove group1 [group2] [...]
Information yum groupinfo group1 [...]
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.