CentOS 7.1.1503
Install Image http://mirrors.163.com/centos/7.1.1503/os/x86_64/
Help Document Http://mirrors.163.com/.help/centos.html
Backup
[Email protected] yum.repos.d]# cd/etc/yum.repos.d/
[Email protected] yum.repos.d]# MV Centos-base.repo Centos-base.repo.bak
Mv:overwrite ' Centos-base.repo.bak '? Y
[Email protected] yum.repos.d]#
Wget
[Email protected] yum.repos.d]# wget Http://mirrors.163.com/.help/CentOS7-Base-163.repo
--2015-06-24 18:40:24--Http://mirrors.163.com/.help/CentOS7-Base-163.repo
Resolving mirrors.163.com (mirrors.163.com) ... 123.58.173.186, 123.58.173.185
Connecting to Mirrors.163.com (mirrors.163.com) |123.58.173.186|:80 ... Connected.
HTTP request sent, awaiting response ... OK
length:1572 (1.5K) [Application/octet-stream]
Saving to: ' Centos7-base-163.repo.1 '
100%[======================================>] 1,572--.-k/s in 0s
2015-06-24 18:40:24 (192 MB/s)-' centos7-base-163.repo.1 ' saved [1572/1572]
[Email protected] yum.repos.d]#
Cp
[email protected] yum.repos.d]# CP Centos7-base-163.repo Centos-base.repo
[Email protected] yum.repos.d]#
Yum Clean All
[email protected] yum.repos.d]# Yum Clean all
Failed to set locale, defaulting to C
?????? Fastestmirror, LangPacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository Extras is listed more than once in the configuration
Repository Centosplus is listed more than once in the configuration
Cleaning up software Source: base Extras Updates
Cleaning up everything
Cleaning up list of fastest mirrors
Yum Makecache
[email protected] yum.repos.d]# Yum Makecache
Failed to set locale, defaulting to C
?????? Fastestmirror, LangPacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository Extras is listed more than once in the configuration
Repository Centosplus is listed more than once in the configuration
Base | 3.6 KB 00:00
Extras | 3.4 KB 00:00
Yum Update
[[email protected] yum.repos.d]# Yum update
Failed to set locale, defaulting to C
?????? Fastestmirror, LangPacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository Extras is listed more than once in the configuration
Repository Centosplus is listed more than once in the configuration
Loading mirror speeds from cached hostfile
????????
-??????
--->??? abrt.x86_64.0.2.1.11-19.el7.centos.0.3?? ??
--->??? abrt.x86_64.0.2.1.11-22.el7.centos.0.1?? ??
--->??? abrt-addon-ccpp.x86_64.0.2.1.11-19.el7.centos.0.3?? ??
--->??? abrt-addon-ccpp.x86_64.0.2.1.11-22.el7.centos.0.1?? ??
"CentOS 7.1" uses a 163 mirror