change centos 6.x 163 source throught windows

来源:互联网 发布:随机域名生成 编辑:程序博客网 时间:2024/05/25 05:36

1. download .repo file

http://mirrors.163.com/.help/CentOS6-Base-163.repo

2. use winscp enter path /etc/yum.repo.d/

3. rename CentOS-Base.repo to any other name like CentOS-Base.repo.orig

send CentOS6-Base-163.repo to this path and rename it to CentOS-Base.repo

4. putty login centos and run instruction

yum makecache

0 0
原创粉丝点击