目前在澳门大学,Ubuntu缺省源为 ubuntu.com,速度比较慢,所以切换到香港中文大学。
sudo vim /etc/apt/sources.list
在 sources.list 中增加以下内容即可。
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-security main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-updates main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-backports main restricted universe multiverse
然后更新的速度起飞。

本文介绍了一种提升Ubuntu系统更新速度的方法,通过将默认的更新源从ubuntu.com切换至香港中文大学的服务器,显著提高了更新速度。文章详细列出了修改/etc/apt/sources.list文件的具体步骤和所需添加的源地址。
1776

被折叠的 条评论
为什么被折叠?



