http://mirrors.aliyun.com/html
http://www.linuxdiyf.com/linux/23163.htmllinux
在軟件包管理中心「軟件源」中選擇「中國的服務器」下mirros.aliyun.com便可自動使用ubuntu
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup #備份當前也就是默認官方的源列表服務器
sudo gedit /etc/apt/sources.list #修改sources.list文件中源的列表,刪除所有內容,替換爲國內源地址。 保存編輯好的文件。阿里雲
sudo apt-get update #更新源列表,換源後必須執行spa
deb http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main multiverse restricted universe
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main multiverse restricted universerest