最近,配置一個韓國vps,里面用的是163的源,感覺不如官方的好用,就改為官方源。地址為:ftp.cn.debian.org
輸入命令:
vi /etc/apt/sources.list
進入vi編輯器編輯源鏡像站點。
按o可以新建一行進行編輯操作,輸入以下內容。
deb http://ftp.cn.debian.org/debian jessie main non-free contrib deb http://ftp.cn.debian.org/debian jessie-proposed-updates main contrib non-free deb http://ftp.cn.debian.org/debian-security jessie/updates main contrib non-free deb-src http://ftp.cn.debian.org/debian/ jessie main contrib non-free