"CentOS 7.1" uses a 163 mirror

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.