centos7配置aliyun的yum源和epel源
来源:互联网 发布:exo九人人气排名知乎 编辑:程序博客网 时间:2024/06/10 14:37
- 一centos7配置阿里云yum源
- 1切换到etcyumreposd目录下
- 2将CentOS-Baserepo 改为CentOS-Baserepobackup
- 3下载阿里云yum源到etcyumreposd目录下
- 二centos7配置阿里云epel源
- 1切换到etcyumreposd目录下
- 2下载epel源
- 一centos7配置阿里云yum源
背景:在linux上下载很多的国外的软件,因为网络的原因,导致下载速度非常的吗,或者当某一天我们的服务器下载源出现问题的时候,我们不妨将自己的服务器的下载源修改一下,变成国内的下载源,下载速度会非常的快速。
一、centos7配置阿里云yum源
1、切换到/etc/yum.repos.d/目录下
cd /etc/yum.repos.d
2、将CentOS-Base.repo 改为CentOS-Base.repo.backup
mv CentOS-Base.repo CentOS-Base.repo.backup
3、下载阿里云yum源到/etc/yum.repos.d/目录下
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
二、centos7配置阿里云epel源
1、切换到/etc/yum.repos.d/目录下
cd /etc/yum.repos.d
2、下载epel源
wget https://mirrors.aliyun.com/repo/epel-7.repo wget http://mirrors.aliyun.com/repo/epel-6.repo
[ps: yum -y install epel-release也是安装的阿里云的epel源]
三、清楚缓存
yum clean all && yum makecache
【上面的yum源和epel源,如果只安装一个,在每一个结束时都要清楚缓存 yum clean all && yum makecache】
阅读全文
0 0
- centos7配置aliyun的yum源和epel源
- 配置EPEL的yum源
- 配置yum源aliyun
- CentOS7的EPEL源配置
- 配置EPEL YUM源
- 配置EPEL YUM源
- yum源配置EPEL
- 配置EPEL YUM源
- CentOS 7配置aliyun的yum源
- Centos7.x RHEL 配置EPEL第三方YUM源
- Centos7.x RHEL 配置EPEL第三方YUM源
- centos 配置 aliyun yum源
- epel的yum源
- CentOS7安装第三方yum源EPEL
- CentOS epel yum 源配置
- aliyun的CentOS yum源
- Centos7 配置本地源+阿里yum源/epel-yum+修改优先级
- Centos7 配置本地源+阿里yum源/epel-yum+修改优先级
- 分库分表架构实践
- HTML常用标签含义及对应中英文
- Java碎碎念
- JavaScript 继承---寄生组合式继承
- jeecg内置基本的datatype
- centos7配置aliyun的yum源和epel源
- mybatis < > & ' "特俗符号报错解决方法
- 求出1000以内能被2 3 7 整除的数,并输出
- (Linux)一个简单的数据网关构架(高并发tcp连接 十万)
- Spring学习
- 内存模型
- leetcode 679. 24 Game 24点游戏
- R语言中矩阵常用的操作(笔记)
- PyQt5笔记(04) -- 文本框的使用