当前位置:网站首页>Optimize the base library of Yum source
Optimize the base library of Yum source
2022-07-20 11:15:00 【Four waves】
【 Purpose 】 In itself centos Of yum Source download server is abroad . Need to improve download speed and stability access .
( One ) Get into yum.repom.d Directory [[email protected] yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak
[[email protected] ~]# cd /etc/yum.repos.d/
[[email protected] yum.repos.d]# ll
total 32
-rw-r--r--. 1 root root 1664 Apr 28 2018 CentOS-Base.repo
-rw-r--r--. 1 root root 1309 Apr 28 2018 CentOS-CR.repo
-rw-r--r--. 1 root root 649 Apr 28 2018 CentOS-Debuginfo.repo
-rw-r--r--. 1 root root 314 Apr 28 2018 CentOS-fasttrack.repo
-rw-r--r--. 1 root root 630 Apr 28 2018 CentOS-Media.repo
-rw-r--r--. 1 root root 1331 Apr 28 2018 CentOS-Sources.repo
-rw-r--r--. 1 root root 4768 Apr 28 2018 CentOS-Vault.repo
( Two ) Back up the original file
[[email protected] yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak
( 3、 ... and ) establish Centos-Base.repo file
[[email protected] yum.repos.d]# touch CentOS-Base.repo
( Four ) Visit Tsinghua source :https://mirrors.tuna.tsinghua.edu.cn/ , find centos, Click next to 【 question mark 】
( 5、 ... and ) Modify according to the help
( 6、 ... and ) You can see base How many sources are available
[[email protected] yum.repos.d]# yum repolist
( 7、 ... and ) Test success
(before) At present, there is no vim Ordered by
(after)
Last tip :complete!
When the input vim You can use the command of
[[email protected] yum.repos.d]# vim CentOS-Base.repo.bak
边栏推荐
- 优化yum源之优化base库
- 关于风机滑环的寿命以及工作原理
- Impala shell Caton analysis -- a tortuous debugging experience
- Personal test online examination of operation version Online_ Testck163 2.7.18 powerful online examination module
- [brother hero July training] day 18: tree
- ikbc键盘win键失效的解决方法
- MoViNets系列模型,手机端实时分类视频的好帮手
- MySQL manual injection steps
- FreeRTOS个人笔记-任务延时列表的实现
- HCIP-DHCP snooping
猜你喜欢
.NET下IN关键字下多个并列参数的参数化
Solve the error: do not access object prototype method ‘hasOwnProperty‘ from target object no
玩客云1608第二个短接点
3. Editors (vim)
Oracle trigger SQL error
Impala query Caton analysis case
ORC索引的位置信息
Upgrade impala to Apache impala 3.4 separately in cdh6.3
10day
Chain storage structure of binary tree
随机推荐
优化yum源之优化base库
哈希表(散列表)和哈希冲突
Assimp库中文文档
DateTimePicker设置默认的时间范围,超过范围则不可选
playwright教程 (一)适合小白
【向量空间】
jmeter项目实战:beanshell对获取结果进行处理64base处理
动态调整Impala日志级别
Apache Impala 4.1概览
How to search issue in Apache JIRA
【MySQL数据库】常见知识点总结
[brother hero July training] day 18: tree
oracle触发器sql错误
JS定时器及Swiper插件
How to print thread stack for impala in CDH cluster
Scala基础
Pikachu靶场-SQL注入-数字型注入(post)过关步骤
10day
20day
Codeforces Round #808 (Div. 2)(A,B,C)