Debian Linux VPS 换源 另附各地Linux源

2018年10月26日 10887点热度 1人点赞 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

易北

易北,热爱技术,努力生活,向着明亮那方

文章评论