需要编辑/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
文章评论