您的当前位置:首页 --> CentOS入门
CentOS7.1使用163的镜像
浏览次数:2202 关键词 ( 镜像  )

CentOS 7.1.1503

 

安装镜像 http://mirrors.163.com/centos/7.1.1503/os/x86_64/

帮助文档 http://mirrors.163.com/.help/centos.html

 

// backup

[root@localhost yum.repos.d]# cd /etc/yum.repos.d/

[root@localhost yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak 

mv: overwrite 'CentOS-Base.repo.bak'? y

[root@localhost yum.repos.d]# 

 

// wget

[root@localhost 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... 200 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]

 

[root@localhost yum.repos.d]# 

 

// cp

[root@localhost yum.repos.d]# cp CentOS7-Base-163.repo CentOS-Base.repo

[root@localhost yum.repos.d]# 

 

// yum clean all

[root@localhost 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

正在清理软件源: base extras updates

Cleaning up everything

Cleaning up list of fastest mirrors

 

// yum makecache

[root@localhost 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

[root@localhost 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 ?? ??

下载次数:12
下载地址:点击下载
本资源为程序自动采集,如有侵权请联系我们移除 admin#80vps.com 来信请将#替换为@
下一条 centos系统中网络配置相关
上一条 CentOS7.1.1503查看版本信息

拥有超过10年的业务管理经验。我们是IDC服务和解决方案方面的专家

有任何疑问请不要犹豫,立即点击联系我们