CentOS 7 yum 源改为阿里 的
来源:互联网 发布:阿里云怎么打开iis 编辑:程序博客网 时间:2024/05/21 18:43
1.安装base reop源
1
cd /etc/yum.repos.d
接着备份旧的配置文件
1
sudo mv CentOS-Base.repo CentOS-Base.repo.bak
下载阿里源的文件
1
sudo wget -O CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
2 安装epel repo源:
epel(RHEL 7)
1
wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-7.repo
epel(RHEL 6)
1
wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-6.repo
epel(RHEL 5)
1
wget -O /etc/yum.repos.d/epel.repo https://mirrors.aliyun.com/repo/epel-5.repo
3.清理缓存
1
yum clean
all
4.重新生成缓存
1
yum makecache
阅读全文
0 0
- CentOS 7 yum 源改为阿里 的
- CentOS 7 使用阿里云的yum源、PIP源
- CentOS 7 使用阿里云的yum源
- CentOS 7 使用阿里云的yum源(转载)
- CentOS 7 使用阿里云的yum源
- centos 7配置阿里Yum源
- centos yum源改为163镜像源
- Redhat将yum源改为CentOS
- CentOS 6.7使用阿里云CentOS的yum源
- centos更换阿里yum源
- 阿里源centos yum epel
- Centos的yum源更换为国内的阿里云
- Centos的yum源更换为阿里云源
- 设置centos的YUM源为国内阿里云源
- Centos的yum源更换为阿里云源
- 将Centos的yum源更换为阿里云源
- 将Centos的yum源更换为阿里云
- 修改centOS yum源的方法,修改到阿里云镜像
- 各大OJ题
- 原地堆排序
- php经典算法(二分法、快速排序)
- Android获取当前时间
- 微信营销更具互动性,微信公众平台做哪些活动好呢
- CentOS 7 yum 源改为阿里 的
- 嵌入式操作系统内核原理和开发(总结篇--很全面多角度)
- Android 两种 防止控件重复点击 多次提交
- 软件工程测试
- [Python面试知识]数据结构之栈和队列实现
- C# 泛型
- Why MSA Standard Is So Important for QSFP Transceiver?
- 关于SPARK_WORKER_MEMORY和SPARK_MEM
- vrn:基于直接体积回归的单幅图像大姿态三维人脸重建