Skip to main content

推荐几个国内Ubuntu更新源

-------- 本次更新于2009-11-16 -------

Ubuntu 中默认的官方源实在是太慢了,我这里只有2~3KB/s !!! 于是找了几个不错的更新源分享一下,方便大家找到适合自己的最快更新源。

Ubuntu更新向来很迅速,未能将每个版本的sources.list文件一一列出。请参考下表确认Ubuntu的版本(取开发代号第一个单词,如8.10的intrepid),选择好速度不错的源,然后进行简单文本替换生成所需内容:

Release Edition Codename Remarks
2004-10-20 Ubuntu 4.10 Warty Warthog 长疣的疣猪
2005-04-08 Ubuntu 5.04 Hoary Hedgehog 灰白的刺猬
2005-10-13 Ubuntu 5.10 Breezy Badger 活泼的獾
2006-06-01 Ubuntu 6.06 LTS Dapper Drake 整洁的公鸭
2006-10-06 Ubuntu 6.10 Edgy Eft 急躁的水蜥
2007-04-19 Ubuntu 7.04 Feisty Fawn 坏脾气的小鹿
2007-10-18 Ubuntu 7.10 Gutsy Gibbon 勇敢的长臂猿
2008-04-24 Ubuntu 8.04 LTS Hardy Heron 耐寒的苍鹭
2008-10-30 Ubuntu 8.10 Intrepid Ibex 勇敢的山羊
2009-04-24 Ubuntu 9.04 Jaunty Jackalope 得意的怀俄明野兔
2009-10-29 Ubuntu 9.10 Karmic Koala 幸运的考拉
Im coming ~~ Ubuntu 10.04 LTS Lucid Lynx 清醒的猞猁
未完待续... ...

 

替换前做个副本先:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

编辑源列表,加入国内源地址:
vi /etc/apt/sources.list

# Lupa完整源,据说2-3天与官方同步一次,浙江杭州双线服务器(非江苏

deb http://mirror.lupaworld.com/ubuntu intrepid main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu intrepid-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu intrepid-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu intrepid-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn intrepid main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu intrepid main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu intrepid-security main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu intrepid-updates main restricted universe multiverse
deb-src http://mirror.lupaworld.com/ubuntu intrepid-backports main restricted universe multiverse

或者

# 网易新开的更新源,欢迎国内其它门户继承与发扬

deb http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ intrepid-backports main restricted universe multiverse

或者

# cn99 又回来了!该源服务器线路为江苏常州电信

deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse 
deb http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-updates main restricted universe multiverse 
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.cn99.com/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ intrepid main restricted universe multiverse

或者

# Mirrors.shlug.org 更新服务器,上海电信,Ubuntu China Official Mirror

deb http://cn.archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu intrepid-updates main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu intrepid-backports main restricted universe multiverse
deb http://cn.archive.ubuntu.com/ubuntu intrepid-proposed main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu intrepid-updates main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu intrepid-backports main restricted universe multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu intrepid-proposed main restricted universe multiverse

或者

# 台湾的官方源,速度也相当不错,有时甚至快于内地的

deb http://tw.archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu intrepid-updates main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu intrepid-backports main restricted universe multiverse
deb http://tw.archive.ubuntu.com/ubuntu intrepid-proposed main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid-updates main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid-backports main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu intrepid-proposed main restricted universe multiverse

保存好后测试一下新源的速度如何:
sudo apt-get update

Ubuntu sources list

因为处在不同地区,换用之前先ping一下服务器看看响应时间(有些源没开ping,可以通过浏览器查看感受下速度)。我用的lupa 的源,update 了一下,更新速度基本能在200K左右,已经比较满意了。

——————————————————————————————————————

另,附上几个教育网的源地址,建议打开看看,顺便就可以了解你的访问速度:

http://ubuntu.dormforce.net/ or http://ubuntu.uestc.edu.cn/ (电子科技大学)

http://ftp.sjtu.edu.cn/ (上海交大)

http://mirror.bjtu.edu.cn/ (北京交大)

http://debian.ustc.edu.cn/ubuntu/ (中国科技大学)

ftp://ubuntu.realss.cn/ubuntu/ (吓大的更新服务器)

 

继续更新:

region ubuntu source url
北京世纪互联 http://linux.ilvgo.cn/
马来西亚 Malaysia http://archive.mmu.edu.my/
日本 Japan http://jp.archive.ubuntu.com/
   
   
   

Comments

Popular posts from this blog

Cloudera Hadoop 集群安装(ubuntu + CDH5.10)

前言 CDH是Cloudera公司的Hadoop发行版,基于稳定版本的Apache Hadoop构建,包含Hadoop,Spark,Hive,Hbase和一些工具等,并集成了很多补丁,可直接用于生产环境。通过Cloudera Manager可以简化hadoop各组件的部署和配置过程。 目前CDH对ubuntu支持的最高版本为14.04,因此不建议使用更高版本的ubuntu来部署CDH。 环境准备: 1.配置网络(所有节点) 修改hostname: $ sudo vi /etc/hostname cdh01 修改IP地址: $ sudo vi /etc/network/interfaces auto eth0 iface eth0 inet static         address 172.16.13.11         netmask 255.255.255.0         gateway 172.16.13.254 重启网络服务生效: $ sudo ifdown eth0 && sudo ifup eth0 修改ip与主机名的对应关系: $ sudo vi /etc/hosts 172.16.13.11 cdh01 172.16.13.12 cdh02 172.16.13.13 cdh03 2.配置SSH(所有节点) 启用root登陆(CDH5.10需要进行此步操作) $ sudo vi /etc/ssh/sshd_config #PermitRootLogin without-password PermitRootLogin yes $ sudo service ssh restart $ sudo passwd root 设置ssh无密码登陆 //在主节点上执行一路回车,生成无密码的密钥对 $ ssh-keygen -t rsa //将生成的密钥文件复制到其它节点 $ ssh-copy-id cdh02 $ ssh-copy-id cdh03 测试: 在主节点上ssh hadoop2,正常情况下,不需要密码就能直接登陆进去了。 3.安装Oracle JDK(所有节点) 运行CDH5必须使用Oracle的Jdk,需要Java 7及以上版本支持。 在Oracle的官网下载jdk包,解压到相应目录,例如/usr/java/jdk1.8.0_

Bitwarden 配置 Let’s Encrypt 证书

由于在内网环境部署的Bitwarden,不能通过安装脚本自动申请 Let’s Encrypt 的证书。 起初我用了一个自签名证书,发现特别不好使,虽然在firefox 跟 chrome 内核的浏览器上都能通过插件访问,但必须添加信任才行,特别是用Bitwarden Desktop 客户端连的时候,一直报错,可能是不认自签名证书。 于是琢磨了下怎么手动申请Let’s Encrypt的证书用于内网,对过程简单梳理如下。 自签名证书 | Self-Signed Certificate 如果你在内网环境只需要自签名证书,可以参考Bitwarden的帮助文档( Installing and depoying )进行设置: 1、生成自签名证书: //一条命创建私钥和证书: openssl req -x509 -newkey rsa:4096 -sha256 –nodes -days 10950 \    -keyout privite.key -out identity.crt \    -subj "/C= US /ST= New York /L= New York /O= Company Name /OU= CREAST /CN= bw.creast.win " 将生成的文件放到 /ssl 目录下: privite.key     ~/bwdata/ssl/ bw.creast.win/private.key identity.crt      ~/bwdata/ssl/ bw.creast.win/identity.crt 2、生成.pfx格式证书文件: //一条命令将前面生成的私钥和证书打包成需要的pfx格式文件 openssl pkcs12 -export -out ./ identity.pfx -inkey privite.key \    -in identity.crt -certfile identity.crt -passout pass: IDENTITY_CERT_PASSWORD 注意 IDENTITY_CERT_PASSWORD 跟./env/global.override.e

Tor洋葱路由的设置与使用

先说明一下,这里只是利用Tor来访问被GWF屏蔽的优秀服务(如Wikipedia、Blogger、GG App等),并不侧重于如何匿名访问网络。以下Tor设置方法适用于: MS Windows(2000/XP/Vista/Server)系统 第一步:下载并安装Tor 关于Tor(The Onion Router,洋葱路由)的工作原理,可以参考枪旗工作室的说明 ( http://tcno.net/doc/tor/#para1 )。在Windows下安装配置Tor已经非常容易了,直接下载这样一个Tor的Windows 捆绑软件包( Vidalia-Tor-Privoxy Bundle ),其中已经预先配置好这些软件能够一同工作。 安装前可以看到套件捆绑了哪些软件:Tor、Vidalia(Tor 的一个图形用户界面)和 Privoxy(Web 代理软件)、Torbutton(Firefox浏览器插件)全选这些软件进行安装。 安装完成后会自动运行Vidalia,在弹出的控制面板上可以看到当前的状态,Tor已经运行了,此时不需要再进行其它设置了。 第二步:配置浏览器使用Tor 如果使用 Firefox 浏览器,Bundle里已经附带了 Torbutton 插件 ,打开/重启Firefox就会在右下角显示Tor Enabled/Disabled,单击它可以选择是否开启Tor代理功能。 对于 Internet Explorer 没有现成的插件可用,需要手动配置代理设置,也很容易。 菜单位置 工具 - Internet 选项 - 连接 - 局域网设置 - 代理服务器 - 高级 - 服务器 在代理理服务器地址栏里填入 "localhost",端口为 "8118"(Privoxy不支持FTP代理,填不填都无所谓了);注意套接字SOCKS代理的端口为 "9050",如果有其它选项,请选择Socks5,然后"确定"即可。 对于 Maxthon ,如果对IE设置了Tor可以选择“使用IE代理设置”,或者手动添加一个代理列表,内容与上面填写的一样,然后选择应用就可以了。 这里说明一下 Privoxy 的作用,因为当直接使用 SOCKS 代理时,浏览器会泄露