Linux-006 CentOS7 配置yum源
来源:互联网 发布:网易 魔兽对战平台 mac 编辑:程序博客网 时间:2024/06/05 10:14
配置阿里云源
1)下载repo文件
wget http://mirrors.aliyun.com/repo/Centos-7.repo
2)备份并替换系统的repo文件
cp Centos-7.repo /etc/yum.repos.d/
cd /etc/yum.repos.d/
mv CentOS-Base.repo CentOS-Base.repo.bak
mv Centos-7.repo CentOS-Base.repo
3)执行yum源更新命令
yum clean all
yum makecache
yum update
配置完毕。
阿里云官方教程:http://mirrors.aliyun.com/help/centos
配置163 yum源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
cd /etc/yum.repos.d/
wget http://mirrors.163.com/.help/CentOS7-Base-163.repo
mv CentOS7-Base-163.repo CentOS-Base.repo
yum clean all
yum makecache
yum update
配置完毕。
163官方教程:http://mirrors.163.com/.help/centos.html
阅读全文
0 0
- Linux-006 CentOS7 配置yum源
- Centos7 yum 源配置
- centos7配置yum源
- CentOS7配置yum源
- centos7配置yum源
- centos7配置本地yum源
- Centos7配置国内yum源
- Centos7.2配置yum源
- CentOS7 yum 国内源配置
- centos7配置本地yum源
- CentOS7配置本地Yum源
- Centos7配置国内yum源
- Centos7配置国内yum源
- Centos7配置阿里yum源
- centos7 配置本地yum源
- Centos7配置阿里Yum源
- centos7配置yum源为本地源
- CentOS7配置yum源出现的问题
- 739. Daily Temperatures
- 成功的建议
- VPS搭建shadowsocks服务以及配置shadowsocks多用户
- Linux——火墙
- PHP基础和JS的比较
- Linux-006 CentOS7 配置yum源
- There is no getter for property named 'items'
- C++笔记(Ⅱ)
- 系统吞吐量(TPS)、用户并发量、性能测试概念和公式
- 738. Monotone Increasing Digits
- assembly
- 考试总结
- 如何回避问题
- 状态压缩.种花小游戏