CentOS配置国内YUM源
2023-09-14 09:00:10 时间
[root@bass yum.repos.d]# pwd /etc/yum.repos.d [root@bass yum.repos.d]# ls CentOS-Base.repo CentOS-fasttrack.repo CentOS-Vault.repo CentOS-Debuginfo.repo CentOS-Media.repo [root@bass yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bk [root@bass yum.repos.d]# wget http://mirrors.163.com/.help/CentOS6-Base-163.repo --2016-07-21 09:30:33-- http://mirrors.163.com/.help/CentOS6-Base-163.repo Resolving mirrors.163.com... 123.58.173.186, 123.58.173.185 Connecting to mirrors.163.com|123.58.173.186|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2006 (2.0K) [application/octet-stream] Saving to: “CentOS6-Base-163.repo” 100%[======================================>] 2,006 --.-K/s in 0s 2016-07-21 09:30:34 (196 MB/s) - “CentOS6-Base-163.repo” saved [2006/2006] 更新玩yum源后,执行下边命令更新yum配置,使操作立即生效 [root@bass yum.repos.d]# yum makecache
相关文章
- yum命令安装软件时,出现--centos 7 安装apache 出现 Could not resolve host: mirrorlist.centos.org; 未知的错误"--CentOS网络设置 couldn't resolve host 'mirrorlist.centos.org问题解决
- 阿里云centos配置ftp和svn全过程
- CentOS Apache配置详解
- Centos 7.6配置nginx反向代理,直接yum安装
- CentOS下关闭Sendmail服务的方法
- centos 6.6 Nginx 安装配置(已纠正)
- CentOS安装及配置DHCP服务器
- Linux CentOS安装Python全过程
- CentOS安装、配置APR和tomcat-native
- CentOS在安装配置 Ngnix_tomcat_PHP_Mysql
- Centos find 命令
- centos 配置固定ip
- Linux|科普扫盲帖|配置网络软件源---阿里云镜像仓库服务使用(centos,Ubuntu)
- PostgreSQL的学习心得和知识总结(二十四)|CentOS环境 配置生成coredump程序崩溃内存转储文件及gdb调试core文件