BLOG @ MBIOQBLOG @ MBIOQ

Web 全沾(渣)工程师一枚。博客文章以 Web 和 Linux 为主,偶尔也会发发日常的样子。

UCloud debian7 更新国内源

刚在UCloud买了个云主机试试,发现 debian7 镜像源无法使用,这就需要切换镜像源了。
如图:
mirror.ucloud.png
debian7 更新国内源

vi /etc/apt/sources.list

dd命令删除整行

阿里云源

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy main contrib non-free
deb http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian wheezy-updates main contrib non-free
deb http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free
deb-src http://mirrors.aliyun.com/debian-security wheezy/updates main contrib non-free

或者网易源

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://mirrors.163.com/debian/ wheezy main non-free contrib
deb http://mirrors.163.com/debian/ wheezy-updates main non-free contrib
deb http://mirrors.163.com/debian/ wheezy-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ wheezy main non-free contrib
deb-src http://mirrors.163.com/debian/ wheezy-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ wheezy-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ wheezy/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ wheezy/updates main non-free contrib
本原创文章未经允许不得转载 | 当前页面:BLOG @ MBIOQ » UCloud debian7 更新国内源

评论

文章评论已关闭!