Debian Linux VPS 换源 另附各地Linux源

/ 0评 / 0

需要编辑/etc/apt/sources.list文件
ssh进入vps后输入

vi /etc/apt/sources.list

美国源
deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main
deb http://ftp.us.debian.org/debian/ wheezy-updates main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

日本源
deb http://ftp.jp.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.jp.debian.org/debian wheezy main contrib non-free
deb http://ftp.jp.debian.org/debian wheezy-updates main contrib non-free
deb-src http://ftp.jp.debian.org/debian 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://mirror.yandex.ru/debian stable main contrib non-free
deb-src http://mirror.yandex.ru/debian stable main contrib non-free
deb http://mirror.yandex.ru/debian/ wheezy-updates main contrib non-free
deb-src http://mirror.yandex.ru/debian/ wheezy-updates main contrib non-free
deb http://mirror.yandex.ru/debian-security/ wheezy/updates main non-free contrib
deb-src http://mirror.yandex.ru/debian-security/ wheezy/updates main non-free contrib

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据