惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

Old driver – 魔帆博客

绑定域名到虚拟主机的子目录上 | 魔帆博客 VMware虚拟机安装Ubuntu系统 | 魔帆博客
repo文件详解 | 魔帆博客
Old driver · 2017-01-04 · via Old driver – 魔帆博客

yum使用仓库保存管理rpm的软件包、仓库的配置文件保存在/etc/yum.repos.d/目录下格式如下:

[root@linuxprobe ~]# vim /etc/yum.repos.d/rhel7.repo
[rhel7]
name=rhel7 #描述仓库的基本信息,也可以就当个名称用
baseurl=file:///media/cdrom #仓库的地址,本地源或者网络源
enabled=1 #是否启用,1表示启用,0表示不启用
gpgcheck=0 #是否校验 1表示校验,0表示不校验

yum配置文件必须以.repo结尾,一个配置文件中可以保存多个yum仓库的配置信息,/etc/yum.repos.d/目录下可以存在多个配置文件.

使用yum操作软件的相关命令:
yum install software-name #安装指定的软件
yum remove software-name #卸载指定的软件
yum update software-name #更新指定的软件

使用yum进行查询操作:
yum search keyword #搜索
yum list (all|installed|recent|updates) #列出全部、安装的、最近的、软件更新
yum info packagename #显示指定软件信息
yum whatprovides packagename #查询哪个rpm包含软件包