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

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
P
Privacy International News Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
T
Troy Hunt's Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Attack and Defense Labs
Attack and Defense Labs
S
Secure Thoughts
V2EX - 技术
V2EX - 技术
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
O
OpenAI News
Cloudbric
Cloudbric
Google Online Security Blog
Google Online Security Blog
Schneier on Security
Schneier on Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Help Net Security
Help Net Security
Cyberwarzone
Cyberwarzone
G
GRAHAM CLULEY
L
Lohrmann on Cybersecurity
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Spread Privacy
Spread Privacy
NISL@THU
NISL@THU
N
News and Events Feed by Topic
T
Tenable Blog
S
Security @ Cisco Blogs
N
News and Events Feed by Topic
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
宝玉的分享
宝玉的分享
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google DeepMind News
Google DeepMind News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
V
Visual Studio Blog
P
Proofpoint News Feed
Webroot Blog
Webroot Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 三生石上(FineUI控件)
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Jina AI
Jina AI
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
Hugging Face - Blog
Hugging Face - Blog
腾讯CDC
L
LangChain Blog
The Register - Security
The Register - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东

博客园 - 茶猫的学习笔记

WSL2 中使用 Arch Linux Beyond Compare 4 便携版 添加右键菜单 [Ubuntu 20.04] 修复‘systemd-shutdown[1]: waiting for process: crond’需等待1分半钟的问题 解决Ubuntu 20.04升级后gnome-control-center设置程序无法打开问题 Canon LBP2900安装Linux驱动的方法 CentOS8 安装 simple-scan 的方法 CentOS8 缺少 libglade2 安装包的回避方法 CentOS7或CentOS8 开机自动启用网卡的设置方法 CentOS7或CentOS8 安装VirtualBox Guest Addon缺少kernel-headers的解决办法 KDE-解决.docx .xlsx .pptx文档默认由Ark打开的问题 树莓派-Ubuntu Mate开启ssh服务 树莓派-CentOS-Minimal arm版的设置 树莓派-Ubuntu Mate开启远程桌面xrdp服务 树莓派-为Ubuntu Mate更换国内源 [转] CentOS 5.x 键盘布局改为日语 Debian/Ubuntu安装WPS (转) Vmware中Linux或macOS客户端如何回收硬盘空间 OS X 10.11:在exFAT分区的外置硬盘上使用Time Machine。 OS X 10.11:如何完全停用Time Machine。
CentOS8 使用 aliyun 阿里云 镜像站点的方法
茶猫的学习笔记 · 2019-09-26 · via 博客园 - 茶猫的学习笔记

CentOS8现已可使用国内的aliyun阿里云镜像站,方法如下:

用cd命令切换到yum.repos目录,备份原始的3个repo文件:
cd /etc/yum.repos.d/
sudo cp CentOS-AppStream.repo CentOS-AppStream.repo.bak
sudo cp CentOS-Base.repo CentOS-Base.repo.bak
sudo cp CentOS-Extras.repo CentOS-Extras.repo.bak

编辑上面3个repo文件,在mirrorlist前加个#,并把baseurl前的#去掉。
baseurl里的 mirror.centos.org/$contentdir 修改为 mirrors.aliyun.com/centos 即可。
以CentOS-AppStream.repo为例,其他两个文件同理。

sudo nano CentOS-AppStream.repo
修改前:
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra
#baseurl=http://mirror.centos.org/$contentdir/$releasever/AppStream/$basearch/os/
修改后:
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=AppStream&infra=$infra
baseurl=http://mirrors.aliyun.com/centos/$releasever/AppStream/$basearch/os/

注意:如果使用的是CentOS8 Stream版本,还需要修改 CentOS-Stream-开头的3个repo文件。

修改完成后运行 sudo yum update 正常更新。

------

补充:epel-release的源可同理修改:

sudo yum -y install epel-release

sudo nano /etc/yum.repos.d/epel.repo