In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "detailed explanation of yum commands and YumSource in Linux". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "detailed explanation of yum commands and YumSource in Linux".
= = Base Source =
Base/Extras/Updates: default (foreign source)
[root@tianyun ~] # ls / etc/yum.repos.d/
CentOS-Base.repo CentOS-fasttrack.repo CentOS-Vault.repo
CentOS-CR.repo CentOS-Media.repo
CentOS-Debuginfo.repo CentOS-Sources.repo
[root@tianyun ~] # yum repolist
Repo id repo name status
Base/7/x86_64 CentOS-7-Base 9363
Extras/7/x86_64 CentOS-7-Extras 449
Updates/7/x86_64 CentOS-7-Updates 2146
Repolist: 11958
/ etc/yum.re
Aliyun:
[root@tianyun ~] # mv / etc/yum.repos.d/CentOS-Base.repo / etc/yum.repos.d/CentOS-Base.repo.backup
[root@tianyun] # curl-o / etc/yum.repos.d/CentOS-Base.repo / / mirrors.aliyun.com/repo/Centos-7.repo
[root@tianyun ~] # yum clean all / / clear the old YUM database information
[root@tianyun ~] # yum makecache / / Update new YUM warehouse information
Yum-y install lftp
163:
[root@tianyun ~] # mv / etc/yum.repos.d/CentOS-Base.repo / etc/yum.repos.d/CentOS-Base.repo.backup
[root@tianyun] # curl-o / etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo
EPEL:
[root@tianyun] # yum-y install epel-release (foreign source)
Or
[root@tianyun ~] # mv / etc/yum.repos.d/epel.repo / etc/yum.repos.d/epel.repo.backup
[root@tianyun ~] # wget-O / etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
= = Software official source =
Nginx:
Nginx.org
[root@tianyun ~] # vim / etc/yum.repos.d/nginx.repo
[nginx]
Name=nginx repo
Baseurl= http://nginx.org/packages/centos/7/$basearch/
Gpgcheck=0
Enabled=1
MySQL:
Yum-y install https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
Zabbix:
# rpm-ivh http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm
Openstack:
Thank you for your reading, the above is the content of "detailed explanation of yum commands and YumSource in Linux". After the study of this article, I believe you have a deeper understanding of the problem of yum commands and YumSource detailed interpretation in Linux, 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.
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.