Linux配置清华大学yum源,更换清华大学yum源
清华大学开元软件镜像站:https://mirrors.tuna.tsinghua.edu.cn/help/centos/
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
vim /etc/yum.repos.d/CentOS-Base.repo
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/updates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos/$releasever/centosplus/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
yum makecache
Linux配置清华大学yum源,更换清华大学yum源相关推荐
- 解决LInux更新慢的问题, 更换国内软件源
解决LInux更新慢的问题, 更换国内软件源 参考文章: (1)解决LInux更新慢的问题, 更换国内软件源 (2)https://www.cnblogs.com/blogcyh/p/12323117 ...
- pip、conda源更换为清华源、查看源、删除源
一.pip 使用pip默认的镜像在国外,网络连接较差,下载速度比较慢 D:\pythonProject3\Django>pip install Django==2.1.3 Collecting ...
- CentOS7 中把yum源更换成163源
CentOS默认yum源是国外的, 速度无法保证,用起来很不爽,今天我们把默认源换成国内的163源,163是目前国内最好用的源,速度是相当快的,还有一些比较好的源,比如阿里源. 1,首先我们把Cent ...
- CentOS7 中怎么把yum的源更换成163源
CentOS默认yum源是国外的,今天我们把默认源换成国内的163源,163是目前国内最好用的源,速度是相当快的,还有一些比较好的源,比如阿里源. 1,进入yum源配置文件 cd /etc/yum.r ...
- pip源更换为清华源_kali2020更换国内的源
kali2020更换国内的源 博客说明 文章所涉及的资料来自互联网整理和个人总结,意在于个人学习和经验汇总,如有什么地方侵权,请联系本人删除,谢谢! 说明 在使用kali的时候总是很慢,所以一般使用l ...
- centos安装软件【google浏览器,QQ】【拷贝旧的文件源作为备份】【软件源更换为清华源】
centos7.8(2003)安装google浏览器[2020-8-26] 用linux自带浏览器打开google网站 自动识别当前系统的安装版本 https://www.google.cn/chro ...
- pip源更换为清华源
使用pip默认的镜像在国外,网络连接较差,下载速度比较慢 D:\pythonProject3\Django>pip install Django==2.1.3 Collecting Django ...
- Deepin更换镜像源,更换系统软件更新源方法完整整理用html书写。
个人博客同文链接:http://www.987931.top/index.php/archives/4/ 首次安装Deepin使用一定要做的事,Deepin更换镜像源,换源教程. Deepin更换镜像 ...
- armbian 斐讯n1_斐讯N1刷入Armbian 更换国内系统源更换国内软件源修改DNS
修改方法:nano /etc/apt/sources.list.d/armbian.list deb http://mirrors.nju.edu.cn/armbian/ bionic main bi ...
最新文章
- 澳大利亚科学家开发出可用于脑机接口的新型碳基生物传感器
- 纠错--跟我学Java第44页
- 3 域名正则_一个正则表达式怎么会引起线上CPU狂飙?
- C语言: GDB调试技术(一)
- LeetCode 212. 单词搜索 II(Trie树+DFS)
- linux的驱动开发——字符设备驱动
- java点_java常见基础点
- 利用iTextSharp填写中文(中日韩)PDF表单(完整解决方案)
- 关于VS2005安装项目制作的三个参考文章链接
- python可以做什么工作-学了那么多年python到底可以找什么工作?
- linux同步Internet时间
- opencv读取文件路径
- 计算机控制系统电梯控制,计算机控制系统实验报告1.doc
- 怎么样把书上的字很快的弄成电子版,哈哈,我也会了
- 基于STM32C8T6的蓝牙PS4遥控小车手柄
- 感恩陪伴,链接未来 | Conflux杭州应用开发运营中心成立
- 拼团系统开发的亮点与核心功能
- ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed问题解决
- fpga的EPCS 配置的2种方法(图文讲解,哈哈,网上互相抄袭的一些文字说明太不明了了)
- 数据库实验一 在SQL Server 中创建数据库
热门文章
- linux学习软件有哪些,Linux学习12个有效果软件!看看哪些你用得上
- 物联网小白入门式教学,如何快速接入一个云平台① YeeLink(重点讲解小白学习思路,高手忽略)
- build文件下的build.js解释
- Kudu用法详尽剖析
- java二进制补码_java基础 二进制补码
- python import 找不到指定模块_Pycharm中出现ImportError:DLL load failed:找不到指定模块的解决方法...
- 微软关停wp服务器,官方实锤!微软正式抛弃WP系统,今年12月停止支持
- S3C2440裸机------异常与中断__swi异常模式程序示例
- 快速排序之——挖坑法实现
- [译] 更好地将免费用户变成订阅用户的小窍门