<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>System Patch (系统补丁) &#8211; Eternal Center</title>
	<atom:link href="https://eternalcenter-2021-12.github.io/category/system/system-network-system-security-system-log/system-security/system-patch/feed/" rel="self" type="application/rss+xml" />
	<link>https://eternalcenter-2021-12.github.io/</link>
	<description></description>
	<lastBuildDate>Sun, 26 Dec 2021 09:21:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>[步骤] openSUSE&#038;SUSE 通过 zypper 升级内核保留旧内核数量的设置</title>
		<link>https://eternalcenter-2021-12.github.io/opensusesuse-zypper-kernel-reserve/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Mon, 27 Sep 2021 14:06:47 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Setting (系统设置)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=17666</guid>

					<description><![CDATA[将以下内容： 修改为： （补充：这里以使用 zypper 升级内核时保留 3 个 旧内核为例）]]></description>
										<content:encoded><![CDATA[
<pre class="wp-block-code"><code># vim /etc/zypp/zypp.conf</code></pre>



<p>将以下内容：</p>



<pre class="wp-block-code"><code>......
multiversion.kernels = latest,latest-1,running
......</code></pre>



<p>修改为：</p>



<pre class="wp-block-code"><code>......
multiversion.kernels = latest,latest-3,running
......</code></pre>



<p>（补充：这里以使用 zypper 升级内核时保留 3 个 旧内核为例）</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[内容] CVE 简介</title>
		<link>https://eternalcenter-2021-12.github.io/introduction-to-cve/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Tue, 07 Sep 2021 06:09:11 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=17618</guid>

					<description><![CDATA[内容一：什么叫 CVE CVE 全称是：Common Vulnerabilities and Exposures，翻译成中文是：常见脆弱性和暴露，是一个业界统一的脆弱性和暴露。 内容二：CVE 的常用格式 CVE-2016-4658，其中 2016-4658 是编号 内容三：CVE 的用途 用于标签系统和应用的漏洞，并实现了一个漏洞数据库以进行漏洞的查询和管理 内容四：CVE 的网站 https://www.cvedetails.com]]>/</description>
										<content:encoded><![CDATA[
<h4>内容一：什么叫 CVE</h4>



<p class="has-medium-font-size">CVE 全称是：Common Vulnerabilities and Exposures，翻译成中文是：常见脆弱性和暴露，是一个业界统一的脆弱性和暴露。</p>



<h4>内容二：CVE 的常用格式</h4>



<p class="has-medium-font-size">CVE-2016-4658，其中  2016-4658  是编号</p>



<h4>内容三：CVE 的用途</h4>



<p class="has-medium-font-size">用于标签系统和应用的漏洞，并实现了一个漏洞数据库以进行漏洞的查询和管理</p>



<h4>内容四：CVE 的网站</h4>



<p class="has-medium-font-size">https://www.cvedetails.com/</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[步骤] Linux 全局加密 SSL 的设置 （CentOS 8 &#038; RHEL 8 版）</title>
		<link>https://eternalcenter-2021-12.github.io/global-ssl-centos8rhel8/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Sat, 31 Jul 2021 10:11:21 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Network (系统网络)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Setting (系统设置)]]></category>
		<category><![CDATA[System Software (系统软件)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=17184</guid>

					<description><![CDATA[步骤一：查看当前 SSL 全局加密 SSL 的状况 （补充：这里的 DEFAULT 表示可以使用 2048 位及以上位数的 SSL） 步骤二：切换当前 SSL 全局加密 SSL （补充：1) 这里以将全局加密 SSL 切换到 FUTURE 状态为例2) 此时只能使用 4096 位及以上位数的 SSL）]]></description>
										<content:encoded><![CDATA[
<h4>步骤一：查看当前 SSL 全局加密 SSL 的状况</h4>



<pre class="wp-block-code"><code># update-crypto-policies --show
DEFAULT</code></pre>



<p>（补充：这里的 DEFAULT 表示可以使用 2048 位及以上位数的 SSL）</p>



<h4>步骤二：切换当前 SSL 全局加密 SSL</h4>



<pre class="wp-block-code"><code># update-crypto-policies --set FUTURE</code></pre>



<p>（<br>补充：<br>1) 这里以将全局加密 SSL 切换到 FUTURE 状态为例<br>2) 此时只能使用 4096 位及以上位数的 SSL<br>）</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[内容] openSUSE 软件库的使用 （通过本地镜像实现）</title>
		<link>https://eternalcenter-2021-12.github.io/zypper-local/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Thu, 04 Feb 2021 06:08:43 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Software (系统软件)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=13269</guid>

					<description><![CDATA[步骤一：挂载本地镜像 （补充：这里以挂载 /dev/sr1 到 /mnt 目录为例） 步骤二：添加本地镜里的软件源 （补充：这里以将 file:///mnt/Module-Basesystem 添加到软件源并命名为 local 为例）]]></description>
										<content:encoded><![CDATA[
<h4>步骤一：挂载本地镜像</h4>



<pre class="wp-block-code"><code># mount /dev/sr1 /mnt</code></pre>



<p>（补充：这里以挂载 /dev/sr1 到 /mnt 目录为例）</p>



<h4>步骤二：添加本地镜里的软件源</h4>



<pre class="wp-block-code"><code># zypper ar file:///mnt/Module-Basesystem local</code></pre>



<p>（补充：这里以将 file:///mnt/Module-Basesystem 添加到软件源并命名为 local 为例）</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[步骤] CentOS dnf 的使用 （通过阿里源实现）</title>
		<link>https://eternalcenter-2021-12.github.io/dnf-unofficial/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Sat, 26 Oct 2019 14:24:55 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Software (系统软件)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=6356</guid>

					<description><![CDATA[内容一：dnf 简介1.1 dnf 软件简介 1) 从 CentOS8&#38;RHEL8 开始默认使用 dnf 管理软件和补丁安装2) dnf 也是 yum v43) dnf 的命令参数和 yum 一样4) dnf 软件源的配置方法和 yum 一样 1.2 dnf 软件源简介 1) BaseOS 系统和基础的软件包2) AppStream 其余所有官方的软件包 内容二：dnf 软件源的配置案例2.1 删除原有的软件源配置文件 2.2 配置 AppStream 库 创建以下内容： 2.3 配置 Base 库 创建以下内容： 2.4 配置 Epel 库 创建以下内容： 2.5 配置 Media 库 创建以下内容： 2.6 清除 &#8230; <p class="link-more"><a href="https://eternalcenter-2021-12.github.io/dnf-unofficial/" class="more-link">Continue reading<span class="screen-reader-text"> "[步骤] CentOS dnf 的使用 （通过阿里源实现）"</span></a></p>]]></description>
										<content:encoded><![CDATA[
<h4>内容一：dnf 简介<br>1.1 dnf 软件简介</h4>



<p>1) 从 CentOS8&amp;RHEL8 开始默认使用 dnf 管理软件和补丁安装<br>2) dnf 也是 yum v4<br>3) dnf 的命令参数和 yum 一样<br>4) dnf 软件源的配置方法和 yum 一样</p>



<h4>1.2 dnf 软件源简介</h4>



<p>1) BaseOS 系统和基础的软件包<br>2) AppStream 其余所有官方的软件包</p>



<h4>内容二：dnf 软件源的配置案例<br>2.1 删除原有的软件源配置文件</h4>



<pre class="wp-block-code"><code># rm /etc/yum.repos.d/*.repo</code></pre>



<h4>2.2 配置 AppStream 库</h4>



<pre class="wp-block-code"><code># vim /etc/yum.repos.d/CentOS-AppStream.repo</code></pre>



<p>创建以下内容：</p>



<pre class="wp-block-code"><code>&#91;AppStream]
name=CentOS-$releasever - AppStream
baseurl=http://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial</code></pre>



<h4>2.3 配置 Base 库</h4>



<pre class="wp-block-code"><code># vim /etc/yum.repos.d/CentOS-Base.repo</code></pre>



<p>创建以下内容：</p>



<pre class="wp-block-code"><code>&#91;BaseOS]
name=CentOS-$releasever - Base
baseurl=http://mirrors.aliyun.com/centos/$releasever/BaseOS/$basearch/os/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial</code></pre>



<h4>2.4 配置 Epel 库</h4>



<pre class="wp-block-code"><code># vim /etc/yum.repos.d/CentOS-Epel.repo</code></pre>



<p>创建以下内容：</p>



<pre class="wp-block-code"><code>&#91;epel]
name=CentOS-$releasever - Epel
baseurl=http://mirrors.aliyun.com/epel/8/Everything/$basearch
enabled=1
gpgcheck=0</code></pre>



<h4>2.5 配置 Media 库</h4>



<pre class="wp-block-code"><code># vim /etc/yum.repos.d/CentOS-Media.repo</code></pre>



<p>创建以下内容：</p>



<pre class="wp-block-code"><code>&#91;c8-media-BaseOS]
name=CentOS-BaseOS-$releasever - Media
baseurl=file:///media/CentOS/BaseOS/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
&#91;c8-media-AppStream]
name=CentOS-AppStream-$releasever - Media
baseurl=file:///media/CentOS/AppStream/
gpgcheck=1
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial</code></pre>



<h4>2.6 清除 dnf 缓存</h4>



<pre class="wp-block-code"><code># dnf clean all</code></pre>



<h4>2.7 刷新并列出 dnf 软件源列表</h4>



<pre class="wp-block-code"><code># dnf repolist</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[内容] CentOS&#038;RHEL yum 的使用 （让某一个软件不被更新）</title>
		<link>https://eternalcenter-2021-12.github.io/yum-exclude/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Tue, 15 Oct 2019 07:32:26 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Software (系统软件)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=5888</guid>

					<description><![CDATA[内容一：通过命令实现更新某一个软件（补丁）包以外其他所有软件（补丁）包的方法 （补充：这里以更新除了名字以 httpd 开头外的所有软件包为例） （注意：这种方法只在本次输入时有效） 或者： （补充：这里以更新除了名字以 kernel 开头外的所有软件包为例） （注意：这种方法只在本次输入时有效） 内容二：通过配置文件实现更新某一个软件（补丁）包以外其他所有软件（补丁）包的方法2.1 修改 yum 的配置文件 添加以下内容： （补充：多个不需要升级的软件可以用空格隔开） 2.2 使用 yum （注意：1) 这种方法是永久生效2) 这个文件可能是位于 /etc/yum.conf 中，也可能是位于 /etc/yum/yum.conf）]]></description>
										<content:encoded><![CDATA[
<h4>内容一：通过命令实现更新某一个软件（补丁）包以外其他所有软件（补丁）包的方法</h4>



<pre class="wp-block-code"><code># yum -x httpd* updaten</code></pre>



<p>（补充：这里以更新除了名字以 httpd 开头外的所有软件包为例）</p>



<p>（注意：这种方法只在本次输入时有效）</p>



<p>或者：</p>



<pre class="wp-block-code"><code># yum --exclude=kernel* update</code></pre>



<p>（补充：这里以更新除了名字以 kernel 开头外的所有软件包为例）</p>



<p>（注意：这种方法只在本次输入时有效）</p>



<h4>内容二：通过配置文件实现更新某一个软件（补丁）包以外其他所有软件（补丁）包的方法<br>2.1 修改 yum 的配置文件</h4>



<pre class="wp-block-code"><code># vim /etc/yum.conf</code></pre>



<p>添加以下内容：</p>



<pre class="wp-block-code"><code>......
exlude=mysql* kernel*</code></pre>



<p>（补充：多个不需要升级的软件可以用空格隔开）</p>



<h4>2.2 使用 yum</h4>



<pre class="wp-block-code"><code># yum update</code></pre>



<p>（<br>注意：<br>1) 这种方法是永久生效<br>2) 这个文件可能是位于 /etc/yum.conf 中，也可能是位于 /etc/yum/yum.conf<br>）</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[内容] Linux 系统信息的查看 （内核和系统版本）</title>
		<link>https://eternalcenter-2021-12.github.io/info-kernel/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Sat, 24 Aug 2019 15:01:12 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation (系统操作)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=5511</guid>

					<description><![CDATA[内容一：系统环境要求 服务器系统要配置好可用的软件源 内容二：查看内核信息2.1 方法一 2.2 方法二 内容三：查看版本信息3.1 方法一 （补充：1) 如果系统没有 lsb_release 命令则可以单独安装一个2) CentOS&#38;RHEL 安装 lsb_release 命令的方法： 3) openSUSE&#38;SUSE 安装 lsb_release 命令的方法： ） 3.2 方法二 3.3 方法三]]></description>
										<content:encoded><![CDATA[
<h4>内容一：系统环境要求</h4>



<p>服务器系统要配置好可用的软件源</p>



<h4>内容二：查看内核信息<br>2.1 方法一</h4>



<pre class="wp-block-code"><code># cat /proc/version</code></pre>



<h4>2.2 方法二</h4>



<pre class="wp-block-code"><code># uname -a </code></pre>



<h4>内容三：查看版本信息<br>3.1 方法一</h4>



<pre class="wp-block-code"><code># lsb_release -a</code></pre>



<p>（<br>补充：<br>1) 如果系统没有 lsb_release 命令则可以单独安装一个<br>2) CentOS&amp;RHEL 安装 lsb_release 命令的方法：</p>



<pre class="wp-block-code"><code># yum -y install redhat-lsb-core</code></pre>



<p>3) openSUSE&amp;SUSE 安装 lsb_release 命令的方法：</p>



<pre class="wp-block-code"><code># zypper -n in lsb-release</code></pre>



<p>）</p>



<h4>3.2 方法二</h4>



<pre class="wp-block-code"><code># cat /etc/*release*</code></pre>



<h4>3.3 方法三</h4>



<pre class="wp-block-code"><code># cat /etc/issue</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[步骤] CentOS&#038;RHEL yum 的设置</title>
		<link>https://eternalcenter-2021-12.github.io/yum-repo/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Sat, 24 Aug 2019 14:53:13 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Setting (系统设置)]]></category>
		<category><![CDATA[System Software (系统软件)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=5506</guid>

					<description><![CDATA[步骤一：移除不可用的 yum 软件库配置文件1.1 方法一：备份系统自带的 yum 库配置文件 1.2 方法二：删除系统自带的 yum 软件库配置文件 步骤二：添加指定的 yum 软件库配置2.1 方法一：使用 yum-config-manager 工具建立新配置文件 （补充：这里的 http://example.com/ 指的是官方提供的公共 yum 库链接） （注意：添加了这个源之后确保对应的 /etc/yum.repos.d/ 配置文件中的 enable=0） 2.2 方法二：手动写一个 yum 软件库配置文件指定 yum 软件仓库 创建以下内容： （补充：这里以软件仓库在 /temp 为例） 步骤三：确认新配置的 yum 源可用3.1 清理过时 yum 库的缓存 3.2 刷新并列出所有可用的源]]></description>
										<content:encoded><![CDATA[
<h4>步骤一：移除不可用的 yum 软件库配置文件<br>1.1 方法一：备份系统自带的 yum 库配置文件</h4>



<pre class="wp-block-code"><code># mkdir /etc/yum.repos.d/repobackup
# mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/repobackup/</code></pre>



<h4>1.2 方法二：删除系统自带的 yum 软件库配置文件</h4>



<pre class="wp-block-code"><code># rm -rf /etc/yum.repos.d/*.repo</code></pre>



<h4>步骤二：添加指定的 yum 软件库配置<br>2.1 方法一：使用 yum-config-manager 工具建立新配置文件</h4>



<pre class="wp-block-code"><code># yum-config-manager --add-repo http://example.com/</code></pre>



<p>（补充：这里的 http://example.com/ 指的是官方提供的公共 yum 库链接）</p>



<p>（注意：添加了这个源之后确保对应的 /etc/yum.repos.d/ 配置文件中的 enable=0）</p>



<h4>2.2 方法二：手动写一个 yum 软件库配置文件指定 yum 软件仓库</h4>



<pre class="wp-block-code"><code># vim  /etc/yum.repos.d/local.repo</code></pre>



<p>创建以下内容：</p>



<pre class="wp-block-code"><code>&#91;local]
name=local
baseurl=file:///temp
enabled=1
gpgcheck=0 </code></pre>



<p>（补充：这里以软件仓库在 /temp 为例）</p>



<h4>步骤三：确认新配置的 yum 源可用<br>3.1 清理过时 yum 库的缓存</h4>



<pre class="wp-block-code"><code># yum clean all</code></pre>



<h4>3.2 刷新并列出所有可用的源</h4>



<pre class="wp-block-code"><code># yum repolist </code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[命令] openSUSE&#038;SUSE 命令 zypper （管理软件和软件库）</title>
		<link>https://eternalcenter-2021-12.github.io/zypper/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Sun, 14 Jul 2019 13:07:30 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Software (系统软件)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=4827</guid>

					<description><![CDATA[内容目录： 内容一：zypper 的帮助文档查看 内容二： zypper 的常用案例2.1 案例一：使用 zypper 的帮助信息2.1.1 查看 zypper 的所有选项2.1.2 查看 zypper 某个选项的所有子选项2.1.2.1 查看 zypper 某个选项的所有子选项的格式2.1.2.2 查看 zypper 某个选项的所有子选项的案例2.2 案例二：软件相关2.2.1 交互式2.2.1.1 安装软件2.2.1.1.1 安装软件包格式2.2.1.1.2 安装软件的案例2.2.1.2 删除软件2.2.1.2.1 删除软件的格式2.2.1.2.2 删除软件的案例2.2.1.3 升级软件和系统2.2.2 非交互式2.2.2.1 安装软件2.2.2.1.1 安装软件的格式2.2.2.1.2 安装软件的案例2.2.2.2 删除软件2.2.2.2.1 删除软件的格式2.2.2.2.2 删除软件的案例2.2.2.3 查找软件2.2.2.3.1 查找软件的格式2.2.2.3.2 查找软件的案例2.2.2.4 查看软件的生命周期2.2.2.4.1 查看软件的生命周期的格式2.2.2.4.2 查看软件的生命周期的案例2.2.2.4 锁定软件2.2.2.4.1 锁定软件的格式2.2.2.4.2 锁定软件的案例2.2.2.5 查看所有已锁软件2.2.2.6 解锁软件2.2.2.6.1 解锁软件的格式2.2.2.6.2 解锁软件的案例2.2.2.7 清除所有已锁软件2.2.2.8 升级软件和系统2.2.2.8.1 查看所有可用更新包2.2.2.8.2 升级软件和系统2.3 案例三：软件组相关2.3.1 &#8230; <p class="link-more"><a href="https://eternalcenter-2021-12.github.io/zypper/" class="more-link">Continue reading<span class="screen-reader-text"> "[命令] openSUSE&#038;SUSE 命令 zypper （管理软件和软件库）"</span></a></p>]]></description>
										<content:encoded><![CDATA[
<h2>内容目录：</h2>



<h4>内容一：zypper 的帮助文档查看</h4>



<h4>内容二： zypper 的常用案例<br>2.1 案例一：使用 zypper 的帮助信息<br>2.1.1 查看 zypper 的所有选项<br>2.1.2 查看 zypper 某个选项的所有子选项<br>2.1.2.1 查看 zypper 某个选项的所有子选项的格式<br>2.1.2.2 查看 zypper 某个选项的所有子选项的案例<br>2.2 案例二：软件相关<br>2.2.1 交互式<br>2.2.1.1 安装软件<br>2.2.1.1.1 安装软件包格式<br>2.2.1.1.2 安装软件的案例<br>2.2.1.2 删除软件<br>2.2.1.2.1 删除软件的格式<br>2.2.1.2.2 删除软件的案例<br>2.2.1.3 升级软件和系统<br>2.2.2 非交互式<br>2.2.2.1 安装软件<br>2.2.2.1.1 安装软件的格式<br>2.2.2.1.2 安装软件的案例<br>2.2.2.2 删除软件<br>2.2.2.2.1 删除软件的格式<br>2.2.2.2.2 删除软件的案例<br>2.2.2.3 查找软件<br>2.2.2.3.1 查找软件的格式<br>2.2.2.3.2 查找软件的案例<br>2.2.2.4 查看软件的生命周期<br>2.2.2.4.1 查看软件的生命周期的格式<br>2.2.2.4.2 查看软件的生命周期的案例<br>2.2.2.4 锁定软件<br>2.2.2.4.1 锁定软件的格式<br>2.2.2.4.2 锁定软件的案例<br>2.2.2.5 查看所有已锁软件<br>2.2.2.6 解锁软件<br>2.2.2.6.1 解锁软件的格式<br>2.2.2.6.2 解锁软件的案例<br>2.2.2.7 清除所有已锁软件<br>2.2.2.8 升级软件和系统<br>2.2.2.8.1 查看所有可用更新包<br>2.2.2.8.2 升级软件和系统<br>2.3 案例三：软件组相关<br>2.3.1 交互式<br>2.3.1.1 安装某一个软件组<br>2.3.1.1.1 安装某一个软件组的格式<br>2.3.1.1.2 安装某一个软件组的案例<br>2.3.1.2 删除某一个软件组<br>2.3.1.2.1 删除某一个软件组的格式<br>2.3.1.2.2 删除某一个软件组的案例<br>2.3.2 非交互式<br>2.3.2.1 安装某一个软件组<br>2.3.2.1.1 安装某一个软件组的格式<br>2.3.2.1.2 安装某一个软件组的案例<br>2.3.2.2 删除某一个软件组<br>2.3.2.2.1 删除某一个软件组的格式<br>2.3.2.3 查看所有可用软件组<br>2.3.2.4 查看某一个软件组的详细信息<br>2.3.2.4.1 查看某一个软件组详细信息的格式<br>2.3.2.4.2 查看某一个软件组详细信息的案例<br>2.4 案例四：软件源相关<br>2.4.1 禁用原来的所有软件源<br>2.4.2 删除原来的所有软件源<br>2.4.3 新增软件源并指定软件源名<br>2.4.3.1 新增软件源并指定软件源名的格式<br>2.4.3.2 新增软件源并指定软件源名的案例<br>2.4.4 查看所有软件源的链接<br>2.5 案例五：补丁相关</h4>



<h2>具体的内容：</h2>



<h4>内容一：zypper 的帮助文档查看</h4>



<pre class="wp-block-code"><code># zypper --h</code></pre>



<h4>内容二： zypper 的常用案例<br>2.1 案例一：使用 zypper 的帮助信息<br>2.1.1 查看 zypper 的所有选项</h4>



<pre class="wp-block-code"><code># zypper help</code></pre>



<h4>2.1.2 查看 zypper 某个选项的所有子选项<br>2.1.2.1 查看 zypper 某个选项的所有子选项的格式</h4>



<pre class="wp-block-code"><code># zypper help &lt;option&gt;</code></pre>



<p>或者：</p>



<pre class="wp-block-code"><code># zypper &lt;option&gt; help</code></pre>



<h4>2.1.2.2 查看 zypper 某个选项的所有子选项的案例</h4>



<pre class="wp-block-code"><code># zypper help install</code></pre>



<p>或者：</p>



<pre class="wp-block-code"><code># zypper install help</code></pre>



<p>（补充：这里以查看 install 子选项为例）</p>



<h4>2.2 案例二：软件相关<br>2.2.1 交互式<br>2.2.1.1 安装软件<br>2.2.1.1.1 安装软件包格式</h4>



<pre class="wp-block-code"><code># zypper in &lt;software name&gt;</code></pre>



<h4>2.2.1.1.2 安装软件的案例</h4>



<pre class="wp-block-code"><code># zypper in httpd</code></pre>



<p>（补充：这里以安装 httpd 软件为例）</p>



<h4>2.2.1.2 删除软件<br>2.2.1.2.1 删除软件的格式</h4>



<pre class="wp-block-code"><code># zypper rm &lt;software name&gt;</code></pre>



<h4>2.2.1.2.2 删除软件的案例</h4>



<pre class="wp-block-code"><code># zypper rm httpd</code></pre>



<p>（补充：这里以删除 httpd 软件为例）</p>



<h4>2.2.1.3 升级软件和系统</h4>



<pre class="wp-block-code"><code># zypper update</code></pre>



<h4>2.2.2 非交互式<br>2.2.2.1 安装软件<br>2.2.2.1.1 安装软件的格式</h4>



<pre class="wp-block-code"><code># zypper -n in &lt;software name&gt;</code></pre>



<h4>2.2.2.1.2 安装软件的案例</h4>



<pre class="wp-block-code"><code># zypper -n in httpd</code></pre>



<p>（补充：这里以安装 httpd 软件为例）</p>



<h4>2.2.2.2 删除软件<br>2.2.2.2.1 删除软件的格式</h4>



<pre class="wp-block-code"><code># zypper -n rm &lt;software name&gt;</code></pre>



<h4>2.2.2.2.2 删除软件的案例</h4>



<pre class="wp-block-code"><code># zypper -n rm httpd</code></pre>



<p>（补充：这里以删除 httpd 软件为例）</p>



<h4>2.2.2.3 查找软件<br>2.2.2.3.1 查找软件的格式</h4>



<pre class="wp-block-code"><code># zypper se &lt;software name&gt;</code></pre>



<h4>2.2.2.3.2 查找软件的案例</h4>



<pre class="wp-block-code"><code># zypper se httpd</code></pre>



<p>（补充：这里以查找 httpd 软件为例）</p>



<h4>2.2.2.4 查看软件的生命周期<br>2.2.2.4.1 查看软件的生命周期的格式</h4>



<pre class="wp-block-code"><code># zypper lifecycle &lt;software name&gt;</code></pre>



<h4>2.2.2.4.2 查看软件的生命周期的案例</h4>



<pre class="wp-block-code"><code># zypper lifecycle httpd</code></pre>



<p>（补充：这里以查找 httpd 软件的周期为例）</p>



<h4>2.2.2.4 锁定软件<br>2.2.2.4.1 锁定软件的格式</h4>



<pre class="wp-block-code"><code># zypper addlock &lt;software name&gt;</code></pre>



<p>或者：</p>



<pre class="wp-block-code"><code># zypper al &lt;software name&gt;</code></pre>



<h4>2.2.2.4.2 锁定软件的案例</h4>



<pre class="wp-block-code"><code># zypper addlock httpd</code></pre>



<p>或者：</p>



<pre class="wp-block-code"><code># zypper al httpd</code></pre>



<p>（补充：这里以锁定 httpd 软件的周期为例）</p>



<h4>2.2.2.5 查看所有已锁软件</h4>



<pre class="wp-block-code"><code># zypper locks</code></pre>



<p>或者：</p>



<pre class="wp-block-code"><code># zypper ll</code></pre>



<h4>2.2.2.6 解锁软件<br>2.2.2.6.1 解锁软件的格式</h4>



<pre class="wp-block-code"><code># zypper removelocks &lt;software name&gt;</code></pre>



<p>或者：</p>



<pre class="wp-block-code"><code># zypper rl &lt;software name&gt;</code></pre>



<h4>2.2.2.6.2 解锁软件的案例</h4>



<pre class="wp-block-code"><code># zypper removelocks httpd</code></pre>



<p>或者：</p>



<pre class="wp-block-code"><code># zypper rl httpd</code></pre>



<p>（补充：这里以解锁 httpd 为例）</p>



<h4>2.2.2.7 清除所有已锁软件</h4>



<pre class="wp-block-code"><code># zypper cleanlocks</code></pre>



<p>或者：</p>



<pre class="wp-block-code"><code># zypper cl</code></pre>



<h4>2.2.2.8 升级软件和系统<br>2.2.2.8.1 查看所有可用更新包</h4>



<pre class="wp-block-code"><code># zypper lp</code></pre>



<h4>2.2.2.8.2 升级软件和系统</h4>



<pre class="wp-block-code"><code># zypper update</code></pre>



<h4>2.3 案例三：软件组相关<br>2.3.1 交互式<br>2.3.1.1 安装某一个软件组<br>2.3.1.1.1 安装某一个软件组的格式</h4>



<pre class="wp-block-code"><code># zypper in -t pattern &lt;pattern name&gt;</code></pre>



<h4>2.3.1.1.2 安装某一个软件组的案例</h4>



<pre class="wp-block-code"><code># zypper in -t pattern kvm_server</code></pre>



<p>（补充：这里以安装 kvm_server 软件组为例）</p>



<h4>2.3.1.2 删除某一个软件组<br>2.3.1.2.1 删除某一个软件组的格式</h4>



<pre class="wp-block-code"><code># zypper rm -t pattern &lt;pattern name&gt;</code></pre>



<h4>2.3.1.2.2 删除某一个软件组的案例</h4>



<pre class="wp-block-code"><code># zypper rm -t pattern kvm_server</code></pre>



<p>（补充：这里以删除 kvm_server 软件组为例）</p>



<h4>2.3.2 非交互式<br>2.3.2.1 安装某一个软件组<br>2.3.2.1.1 安装某一个软件组的格式</h4>



<pre class="wp-block-code"><code># zypper -n in -t pattern &lt;pattern name&gt;</code></pre>



<h4>2.3.2.1.2 安装某一个软件组的案例</h4>



<pre class="wp-block-code"><code># zypper -n in -t pattern kvm_server</code></pre>



<p>（补充：这里以安装 kvm_server 软件组为例）</p>



<h4>2.3.2.2 删除某一个软件组<br>2.3.2.2.1 删除某一个软件组的格式</h4>



<pre class="wp-block-code"><code># zypper -n rm -t pattern &lt;pattern name&gt;</code></pre>



<h4>2.3.2.2.2 删除某一个软件组的案例</h4>



<pre class="wp-block-code"><code># zypper -n rm -t pattern kvm_server</code></pre>



<p>（补充：这里以删除 kvm_server 软件组为例）</p>



<h4>2.3.2.3 查看所有可用软件组</h4>



<pre class="wp-block-code"><code># zypper patterns</code></pre>



<p>或者：</p>



<pre class="wp-block-code"><code># zypper pt</code></pre>



<h4>2.3.2.4 查看某一个软件组的详细信息<br>2.3.2.4.1 查看某一个软件组详细信息的格式</h4>



<pre class="wp-block-code"><code># zypper pattern-info &lt;pattern name&gt;</code></pre>



<h4>2.3.2.4.2 查看某一个软件组详细信息的案例</h4>



<pre class="wp-block-code"><code># zypper pattern-info kvm_server</code></pre>



<p>（补充：这里以查看 kvm_server 软件组为例）</p>



<h4>2.4 案例四：软件源相关<br>2.4.1 禁用原来的所有软件源</h4>



<pre class="wp-block-code"><code># zypper mr -da</code></pre>



<h4>2.4.2 删除原来的所有软件源</h4>



<pre class="wp-block-code"><code># zypper rr `zypper ls | awk '{print $1}'`</code></pre>



<h4>2.4.3 新增软件源并指定软件源名<br>2.4.3.1 新增软件源并指定软件源名的格式</h4>



<pre class="wp-block-code"><code># zypper ar -fcg &lt;software source link&gt; &lt;define software source name&gt;</code></pre>



<h4>2.4.3.2 新增软件源并指定软件源名的案例</h4>



<pre class="wp-block-code"><code># zypper ar -fcg http://192.168.1.1/update-oss/ update-oss</code></pre>



<p>（补充：这里以添加 http://192.168.1.1/update-oss/ 库并命名为 update-oss 为例）</p>



<h4>2.4.4 查看所有软件源的链接</h4>



<pre class="wp-block-code"><code># zypper ls -d</code></pre>



<h4>2.5 案例五：补丁相关</h4>



<pre class="wp-block-code"><code># zypper in -t patch &lt;patch name&gt;</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[内容] openSUSE 软件库的使用 （通过阿里源实现）</title>
		<link>https://eternalcenter-2021-12.github.io/zypper-unofficial/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Thu, 23 May 2019 14:57:59 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Software (系统软件)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=4718</guid>

					<description><![CDATA[步骤一：禁用所有原有的软件源 步骤二：添加阿里的 openSUSE 软件源 （补充：命令中最后一个参数为每这个源指定了一个别称） 步骤三：刷新所有处于 enable 状态的软件源]]></description>
										<content:encoded><![CDATA[
<h4>步骤一：禁用所有原有的软件源</h4>



<pre class="wp-block-code"><code># zypper mr -da</code></pre>



<h4>步骤二：添加阿里的 openSUSE 软件源</h4>



<pre class="wp-block-code"><code># sudo zypper ar -fc https://mirrors.aliyun.com/opensuse/distribution/leap/15.0/repo/oss openSUSE-Aliyun-OSS
# sudo zypper ar -fc https://mirrors.aliyun.com/opensuse/distribution/leap/15.0/repo/non-oss openSUSE-Aliyun-NON-OSS
# sudo zypper ar -fc https://mirrors.aliyun.com/opensuse/update/leap/15.0/oss openSUSE-Aliyun-UPDATE-OSS
# sudo zypper ar -fc https://mirrors.aliyun.com/opensuse/update/leap/15.0/non-oss openSUSE-Aliyun-UPDATE-NON-OSS</code></pre>



<p>（补充：命令中最后一个参数为每这个源指定了一个别称）</p>



<h4>步骤三：刷新所有处于 enable 状态的软件源</h4>



<pre class="wp-block-code"><code># zypper ref</code></pre>



<p></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[拓展] CentOS&#038;RHEL yum 的使用 （只更新安全补丁）</title>
		<link>https://eternalcenter-2021-12.github.io/yum-security/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Tue, 07 May 2019 16:02:09 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=4689</guid>

					<description><![CDATA[内容一：更新全部安全补丁1.1 安装 yum-security 插件 1.2 列出所有的安全补丁 1.3 批量安装所有的安全补丁 内容二：列出某个安全补丁的详细信息2.1 加载 bugzillas 2.2 查看某个安全补丁的详细信息 （补充：CentOS&#38;RHEL 的补丁名都是以 RHSA 开头，例：RHSA-2009:1148-1）]]></description>
										<content:encoded><![CDATA[
<h4>内容一：更新全部安全补丁<br>1.1 安装 yum-security 插件</h4>



<pre class="wp-block-code"><code># yum install yum-security</code></pre>



<h4>1.2 列出所有的安全补丁</h4>



<pre class="wp-block-code"><code># yum --security check-update</code></pre>



<h4>1.3 批量安装所有的安全补丁</h4>



<pre class="wp-block-code"><code># yum update --security</code></pre>



<h4>内容二：列出某个安全补丁的详细信息<br>2.1 加载 bugzillas</h4>



<pre class="wp-block-code"><code># yum list-security bugzillas</code></pre>



<h4>2.2 查看某个安全补丁的详细信息</h4>



<pre class="wp-block-code"><code># yum info-security &lt;patch name></code></pre>



<p>（补充：CentOS&amp;RHEL 的补丁名都是以 RHSA 开头，例：RHSA-2009:1148-1）</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[功能] CentOS 7 &#038; RHEL 7 yum 的使用 （自动更新）</title>
		<link>https://eternalcenter-2021-12.github.io/yum-update-auto/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Sat, 13 Apr 2019 11:12:19 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Software (系统软件)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=4067</guid>

					<description><![CDATA[步骤一： 安装 yum-cron 步骤二：配置 yum-cron 将部分内容修改如下： 步骤三：启动 yum-cron 服务并设置为开机自启 步骤四：将 yum-cron 设置为开机自启]]></description>
										<content:encoded><![CDATA[
<h4>步骤一： 安装 yum-cron</h4>



<pre class="wp-block-code"><code># yum install yum-cron -y
/etc/yum/yum-cron.conf</code></pre>



<h4>步骤二：配置 yum-cron</h4>



<pre class="wp-block-code"><code># vim /etc/yum/yum-cron.conf</code></pre>



<p>将部分内容修改如下：</p>



<pre class="wp-block-code"><code>......
9 update_cmd = security
......
13 update_messages = yes
......
16 download_updates = yes
......
20 apply_updates = no
......</code></pre>



<h4>步骤三：启动 yum-cron 服务并设置为开机自启</h4>



<pre class="wp-block-code"><code># systemctl restart yum-cron</code></pre>



<h4>步骤四：将 yum-cron 设置为开机自启</h4>



<pre class="wp-block-code"><code># systemctl enable yum-cron</code></pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>[内容] CentOS&#038;RHEL 解决 yum 更新到一半时意外中断</title>
		<link>https://eternalcenter-2021-12.github.io/yum-interrupt-debug/</link>
		
		<dc:creator><![CDATA[Mingyu Zhu]]></dc:creator>
		<pubDate>Sat, 13 Apr 2019 09:41:22 +0000</pubDate>
				<category><![CDATA[Chinese (中文)]]></category>
		<category><![CDATA[System (系统)]]></category>
		<category><![CDATA[System Computer & System Hardware & System Installation & System Upgradation (系统电脑 & 系统硬件 & 系统安装 & 系统升级)]]></category>
		<category><![CDATA[System Network & System Security & System Log (系统网络 & 系统安全 & 系统日志)]]></category>
		<category><![CDATA[System Operation & System Setting & System Software (系统操作 & 系统设置 & 系统软件)]]></category>
		<category><![CDATA[System Patch (系统补丁)]]></category>
		<category><![CDATA[System Security (系统安全)]]></category>
		<category><![CDATA[System Software (系统软件)]]></category>
		<category><![CDATA[System Upgradation (系统升级)]]></category>
		<guid isPermaLink="false">https://eternalcenter-2021-12.github.io/?p=4057</guid>

					<description><![CDATA[步骤一：清理 yum 的缓存 步骤二：安装 package-cleanup 步骤三：使用 package-cleanup 更新仓库]]></description>
										<content:encoded><![CDATA[
<h4>步骤一：清理 yum 的缓存</h4>



<pre class="wp-block-code"><code># yum clean all</code></pre>



<h4>步骤二：安装 package-cleanup</h4>



<pre class="wp-block-code"><code># yum -y install yum-utils </code></pre>



<h4>步骤三：使用 package-cleanup 更新仓库</h4>



<pre class="wp-block-code"><code># package-cleanup --cleandupes</code></pre>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
