Posted on 2012-01-20 11:40
Onway 阅读(2611)
评论(1) 编辑 收藏 引用 所属分类:
使用说明
其实这东西进行过好几次了,但是每次都得上网查查命令,三两条的命令都记不住。
学校用的是网通,用自带的源速度非常不错,回到家里用电信就特不给力了,然后换了网易的源,速度非常可以。
先备份一下/etc/apt/sources.list,然后用以下内容替换掉整个文件,#开始行是注释。
deb http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ oneiric-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ oneiric-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ oneiric-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ oneiric-updates universe main multiverse restricted
保存后执行一下sudo apt-get update就可以了。