Ubuntu 12.04更新源
Posted on 2012-08-2414:24 eastson阅读(57222)评论(1)编辑收藏
1、首先备份Ubuntu12.04源列表sudo cp /etc/apt/sources. list /etc/apt/sources. list.backup 备份下
当前的源列表
2、修改更新源sudo gedit /etc/apt/sources. list 打开Ubuntu 12.04源列表文件
3、把里面的列表替换成下面的列表
163源
按Ctrl+C复制代码
deb http://mirrors.163.com/ubuntu/precise main restricted deb-src http://mirrors.163.com/ubuntu/precise main restricted deb http://mirrors.163.com/ubuntu/precise-updates main restricted deb-src http://mirrors.163.com/ubuntu/precise-updates main restricted deb http://mirrors.163.com/ubuntu/precise universe deb-src http://mirrors.163.com/ubuntu/precise universe deb http://mirrors.163.com/ubuntu/precise-updates universe deb-src http://mirrors.163.com/ubuntu/precise-updates universe deb http://mirrors.163.com/ubuntu/precise multiverse deb-src http://mirrors.163.com/ubuntu/precise multiverse deb http://mirrors.163.com/ubuntu/precise-updates multiverse deb-src http://mirrors.163.com/ubuntu/precise-updates multiverse deb http://mirrors.163.com/ubuntu/precise-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/precise-backports main restricted universe multiverse deb http://mirrors.163.com/ubuntu/precise-security main restricted deb-src http://mirrors.163.com/ubuntu/precise-security main restricted deb http://mirrors.163.com/ubuntu/precise-security universe deb-src http://mirrors.163.com/ubuntu/precise-security universe deb http://mirrors.163.com/ubuntu/precise-security multiverse deb-src http://mirrors.163.com/ubuntu/precise-security multiverse deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
按Ctrl+C复制代码sohu源
deb http://mirrors. sohu.com/ubuntu/ precise main restricted deb-src http://mirrors. sohu.com/ubuntu/ precise main restricted deb http://mirrors. sohu.com/ubuntu/ precise-updates main restricted deb-src http://mirrors. sohu.com/ubuntu/ precise-updates main restricted deb http://mirrors. sohu.com/ubuntu/ precise universe deb-src http://mirrors. sohu.com/ubuntu/ precise universe deb http://mirrors. sohu.com/ubuntu/ precise-updates universe deb-src http://mirrors. sohu.com/ubuntu/ precise-updates universe deb http://mirrors. sohu.com/ubuntu/ precise multiverse deb-src http://mirrors. sohu.com/ubuntu/ precise multiverse deb http://mirrors. sohu.com/ubuntu/ precise-updates multiverse deb-src http://mirrors. sohu.com/ubuntu/ precise-updates multiverse deb http://mirrors. sohu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://mirrors. sohu.com/ubuntu/ precise-backports main restricted universe multiverse deb http://mirrors. sohu.com/ubuntu/ precise-security main restricted deb-src http://mirrors. sohu.com/ubuntu/ precise-security main restricted deb http://mirrors. sohu.com/ubuntu/ precise-security universe deb-src http://mirrors. sohu.com/ubuntu/ precise-security universe deb http://mirrors. sohu.com/ubuntu/ precise-security multiverse deb-src http://mirrors. sohu.com/ubuntu/ precise-security multiverse deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main
ubuntu.cn99.com源推荐 :deb http://ubuntu.cn99.com/ubuntu/ precise main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/ precise-updates main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/precise-security main restricted universe multiverse deb http://ubuntu.cn99.com/ubuntu/precise-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ precise main restricted universe multiverse
教育网源
如果你是在校大学生可以使用校园网/教育网就是用教育网的资源吧尤其是支持ipv6的那更新速度就按兆算了。
#电子科技大学
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse deb-src http://ubuntu.uestc.edu.cn/ubuntu/precise-backports main restricted universe multiverse deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
#中国科技大学
deb http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ precise-backports restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse deb http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse deb-src http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
#北京理工大学
deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/precise mainmultiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
4、更新源sudo apt-get update
LOCVPS在农历新年之后新上架了日本大阪机房软银线路VPS主机,基于KVM架构,配备原生IP,适用全场8折优惠码,最低2GB内存套餐优惠后每月仅76元起。LOCVPS是一家成立于2012年的国人VPS服务商,提供中国香港、韩国、美国、日本、新加坡、德国、荷兰、俄罗斯等地区VPS服务器,基于KVM或XEN架构(推荐选择KVM),线路方面均选择国内直连或优化方案,访问延迟低,适合建站或远程办公使用。...
TabbyCloud迎来一周岁的生日啦!在这一年里,感谢您包容我们的不足和缺点,在您的理解与建议下我们也在不断改变与成长。为庆祝TabbyCloud运营一周年和七夕节,TabbyCloud推出以下活动。TabbyCloud周年庆&七夕节活动官方网站:https://tabbycloud.com/香港CN2: https://tabbycloud.com/cart.php?gid=16购买链...
看到群里网友们在讨论由于不清楚的原因,有同学的网站无法访问。他的网站是没有用HTTPS的,直接访问他的HTTP是无法访问的,通过PING测试可以看到解析地址已经比较乱,应该是所谓的DNS污染。其中有网友提到采用HTTPS加密证书试试。因为HTTP和HTTPS走的不是一个端口,之前有网友这样测试过是可以缓解这样的问题。这样通过将网站绑定设置HTTPS之后,是可以打开的,看来网站的80端口出现问题,而...