将Centos7的yum配置为阿里云的镜像
来源:互联网 发布:java 日志输出 编辑:程序博客网 时间:2024/06/05 20:56
1、备份
mv /etc/yum.repos.d/CentOS-Base.repo/etc/yum.repos.d/CentOS-Base.repo.backup
2、下载新的CentOS-Base.repo到/etc/yum.repos.d/
CentOS 5
wget -O /etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-5.repo
CentOS 6
wget -O /etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-6.repo
CentOS 7
wget -O /etc/yum.repos.d/CentOS-Base.repohttp://mirrors.aliyun.com/repo/Centos-7.repo
3、之后运行yum makecache生成缓存
阅读全文
0 0
- 将Centos7的yum配置为阿里云的镜像
- 将Centos7的yum配置为阿里云的镜像(完美解决yum下载太慢的问题)
- 修改yum的镜像服务器为阿里云
- 更换本地的yum源为阿里云提供的镜像
- 将Centos的yum源更换为阿里云
- 将Centos的yum源更换为阿里云源
- Linux(CentOS7.1)修改默认yum源为国内的阿里云yum源
- RHEL6.5 7.2更改为阿里云(aliyun)CentOS6 163 CentOS7的yum源
- CentOS7 配置阿里云yum源
- CentOS7 配置阿里云yum源
- Centos7 配置阿里云yum源
- 终极版阿里云ECS实例centos7.2 python升级与yum\pip的对应配置
- Maven 配置下载节点为阿里云的镜像节点
- 阿里云centos7使用yum安装mysql的正确姿势
- 将Centos的yum源为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- 将Centos的yum源更换为国内的阿里云源
- 超简单将Centos的yum源更换为国内的阿里云源
- Hadoop HDFS-Federation概述
- JavaScript高级程序设计-学习笔记4(创建对象)
- oracle11g rac crs启动错误一例
- 正则表达式
- java基础入门补充(003) Serializable接口
- 将Centos7的yum配置为阿里云的镜像
- thinkphp IP获取和定位
- 金融企业软件测试中心筹备书-组织架构篇
- 大话数据结构 code 第7章 图 01邻接矩阵创建_CreateMGraph
- 单片机下位机通讯接收字符数组
- mysql常用命令
- 度度熊回家问题
- JAVA学习路线图(一文详解)
- 贪心java