<?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>系统运维 &#187; yum源</title>
	<atom:link href="http://www.osyunwei.com/archives/tag/yum%E6%BA%90/feed" rel="self" type="application/rss+xml" />
	<link>https://www.osyunwei.com</link>
	<description>国产化OS/AnolisOS/openEuler/RHEL/CentOS/Rocky Linux/Debian/Ubuntu Linux FreeBSD 服务器教程 &#124; Windows Server 2003/2008/2012/2016/2019/2022/2025服务器教程</description>
	<lastBuildDate>Tue, 14 Apr 2026 10:59:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CentOS-7.x官方停止维护后yum源失效解决办法</title>
		<link>https://www.osyunwei.com/archives/14450.html</link>
		<comments>https://www.osyunwei.com/archives/14450.html#comments</comments>
		<pubDate>Wed, 28 Aug 2024 08:20:39 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[yum源]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=14450</guid>
		<description><![CDATA[截止目前CentOS-7.x官方已经停止维护，yum命令默认已经无法使用。 CentOS官方提供了一个旧版软件存档http://vault.centos.org/，我们可以使用这个连接替换yum源 1、查询当前系统版本 cat /etc/redhat-release 当前系统版本是CentOS Linux release 7.9.2009 (Core) yum install wget #测试安装软件，默认无法使用yum命令 2、创建yum源文件 #备份默认的源文件 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo-backup vi /etc/yum.repos.d/CentOS-Base.repo #编辑源文件 [base] name=CentOS-7.9.2009 enabled=1 failovermethod=priority baseurl=https://vault.centos.org/7.9.2009/os/$basearch/ gpgcheck=1 gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-7 [updates] name=CentOS-7.9.2009 enabled=1 failovermethod=priority baseurl=https://vault.centos.org/7.9.2009/updates/$basearch/ gpgcheck=1 gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-7 [extras] name=CentOS-7.9.2009 enabled=1 failovermethod=priority baseurl=https://vault.centos.org/7.9.2009/extras/$basearch/ gpgcheck=1 gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-7 :wq! #保存退出 yum clean all yum makecache #生成缓存 yum install wget #再次测试安装软件 [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/14450.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/14450.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS使用系统镜像搭建局域网Yum源</title>
		<link>https://www.osyunwei.com/archives/12567.html</link>
		<comments>https://www.osyunwei.com/archives/12567.html#comments</comments>
		<pubDate>Thu, 16 Jun 2022 09:29:50 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[yum源]]></category>

		<guid isPermaLink="false">https://www.osyunwei.com/?p=12567</guid>
		<description><![CDATA[一、防火墙配置 CentOS 7.x 8.x默认使用的是firewall作为防火墙，这里改为iptables防火墙。 1、关闭firewall： systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum remove firewalld 2、安装iptables防火墙 yum install iptables-services #安装 vi /etc/sysconfig/iptables #编辑防火墙配置文件，开放ftp服务端口 # sample configuration for iptables service # you can edit this manually or use system-config-firewall # please do not ask us to add additional ports/services [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/12567.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/12567.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>搭建CentOS在线yum源镜像服务器</title>
		<link>https://www.osyunwei.com/archives/7918.html</link>
		<comments>https://www.osyunwei.com/archives/7918.html#comments</comments>
		<pubDate>Tue, 26 Aug 2014 08:29:14 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[yum源]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=7918</guid>
		<description><![CDATA[说明： 操作系统：CentOS 6.x IP地址：192.168.21.188 实现目的：同步CentOS镜像站点的内容到此服务器，并且通过配置http服务器，能够向外提供yum服务 准备篇： 一、安装http服务器 这里使用Nginx服务器提供http服务 关于Nginx服务器搭建，参考：CentOS安装配置LNMP服务器（Nginx+PHP+MySQL） http://www.osyunwei.com/archives/5910.html 二、系统约定 Nginx站点根目录:/usr/local/nginx/html 服务器执行脚本文件存放目录:/home/crontab 三、开始Nginx目录浏览功能 vi /usr/local/nginx/conf/nginx.conf #编辑配置文件，在http {下面添加以下内容： autoindex on; #开启nginx目录浏览功能 autoindex_exact_size off; #文件大小从KB开始显示 autoindex_localtime on; #显示文件修改时间为服务器本地时间 :wq! #保存，退出 service nginx reload #重新加载配置 参考：Nginx开启目录浏览功能 http://www.osyunwei.com/archives/5051.html 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链 安装篇： 一、创建镜像文件存放目录 mkdir -p /usr/local/nginx/html/centos #CentOS官方标准源 mkdir -p /usr/local/nginx/html/repoforge #第三方rpmforge源 mkdir -p /usr/local/nginx/html/epel #第三方epel源 说明：这里创建三个文件夹，分别存放CentOS官方标准源、第三方的rpmforge源和epel源 二、确定以上三个yum源上游源的同步镜像地址 1、CentOS官方标准源：rsync://mirrors.ustc.edu.cn/centos/ [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/7918.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/7918.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CentOS 6.2 使用第三方yum源安装更多rpm软件包</title>
		<link>https://www.osyunwei.com/archives/1970.html</link>
		<comments>https://www.osyunwei.com/archives/1970.html#comments</comments>
		<pubDate>Sun, 29 Jan 2012 05:59:38 +0000</pubDate>
		<dc:creator>qihang01</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[CentOS 6.2]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[yum源]]></category>

		<guid isPermaLink="false">http://www.osyunwei.com/?p=1970</guid>
		<description><![CDATA[引言：       CentOS自带的yum源中rpm包数量有限，很多时候找不到我们需的软件包，（例如：要安装网络连接查看软件iftop，默认设置下无法使用yum命令安装），下面教大家在CentOS 6.2中（以32位系统为例，64位系统安装方法一样），使用第三方yum源来安装更多软件包。 一、安装CentOS yum源优先级插件yum-priorities       yum install yum-priorities   #输入y安装 二、设置CentOS默认yum源的优先级为最高 系统运维  www.osyunwei.com  温馨提醒：qihang01原创内容©版权所有,转载请注明出处及原文链接      cd  /etc/yum.repos.d/   #进入yum源目录      vi CentOS-Base.repo    #在[base]、[updates]、[extras]组下面添加priority=1，在[centosplus]、[contrib]组下面添加priority=2 ################################################################    [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&#38;arch=$basearch&#38;repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 priority=1 [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&#38;arch=$basearch&#38;repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 priority=1 [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&#38;arch=$basearch&#38;repo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 priority=1 [centosplus] name=CentOS-$releasever - Plus [...]<p><a rel="bookmark" href="https://www.osyunwei.com/archives/1970.html" target="_blank">查看全文</a></p>]]></description>
		<wfw:commentRss>https://www.osyunwei.com/archives/1970.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
