在virtualbox里虚拟了个ubuntu server,下的是DVD盘,所以不需要联网更新,只需本地添加光盘源就可以了。
先挂载光驱
sudo mount /dev/scd0 /media/cdrom0/
再添加源
sudo apt-cdrom -m -d /cdrom add
修改sourcelist文件,只保留cdrom作为源
然后更新,或是安装软件即可。
比如我要添加php的sqlit支持,只需
apt-get install php5-sqlite
就会直接从光驱里找软件包,而不是去联网找,如果不删除sourcelist里的多余源,就会优先从网上找。
再重启apapche2后php就支持sqlite了。
当然还可添加ISO镜像文件作为软件源,
sudo mount -t iso9660 -o loop XXX.iso /media/cdrom
在源里加上cdrom
sudo apt-cdrom -m -d /cdrom add
最近一直在用centos稳定工作,没怎么注意ubuntu的事情,今天偶然得到一个消息,在网易的赞助下cn99的源复活了(真的是后知后觉)。
原以为cn99的源复出会遥遥无期,没想到网易站出来赞助。真的是舒坦,大快人心。
http://ubuntu.cn99.com/
http://mirrors.163.com/
两个域名,但是实际地址相同。
FreeBSD/ 04-Jan-2009 09:58 -
OpenBSD/ 15-May-2008 11:09 -
RedHat/ 03-Jul-2008 17:50 -
archlinux/ 18-Feb-2009 03:27 -
centos/ 07-Nov-2008 21:15 -
debian/ 21-Mar-2009 03:14 -
debian-backport/ 21-Mar-2009 02:38 -
debian-cd/ 18-Feb-2009 17:10 -
debian-security/ 21-Mar-2009 19:20 -
eclipse/ 07-Nov-2008 23:12 -
fedora/ 08-Dec-2008 15:53 -
firewall/ 12-Sep-2008 23:14 -
gentoo/ 26-Sep-2008 14:43 -
openfiler/ 30-Apr-2008 21:07 -
trixbox/ 07-Dec-2008 20:24 -
ubuntu/ 21-Mar-2009 01:49 -
ubuntu-cd/ 24-Feb-2009 13:57 -
ubuntu-cn/ 21-Mar-2009 02:10
推荐使用域名http://ubuntu.dormforce.net代替http://ubuntu.uestc.edu.cn
Ubuntu 8.10 Intrepid Ibex
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ intrepid-updates main restricted universe multiverse
Ubuntu 8.04 Hardy Heron
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ hardy-updates main restricted universe multiverse
Ubuntu 7.10 Gutsy Gibbon
deb http://ubuntu.uestc.edu.cn/ubuntu/ gutsy main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ gutsy-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ gutsy-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ gutsy main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ gutsy-updates main restricted universe multiverse
Ubuntu 7.04 Feisty Fawn
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ feisty-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ feisty-updates main restricted universe multiverse
最近一些软件更新源经常出问题,收藏几个避免无源可用。
deb http://mirror.cs.umn.edu/ubuntu/ hardy main restricted universe multiverse
deb http://mirror.cs.umn.edu/ubuntu/ hardy-security main restricted universe multiverse
deb http://mirror.cs.umn.edu/ubuntu/ hardy-updates main restricted universe multiverse
deb http://mirror.cs.umn.edu/ubuntu/ hardy-proposed main restricted universe multiverse
deb http://mirror.cs.umn.edu/ubuntu/ hardy-backports main restricted universe multiverse
deb-src http://mirror.cs.umn.edu/ubuntu/ hardy main restricted universe multiverse
deb-src http://mirror.cs.umn.edu/ubuntu/ hardy-security main restricted universe multiverse
deb-src http://mirror.cs.umn.edu/ubuntu/ hardy-updates main restricted universe multiverse
deb-src http://mirror.cs.umn.edu/ubuntu/ hardy-proposed main restricted universe multiverse
deb-src http://mirror.cs.umn.edu/ubuntu/ hardy-backports main restricted universe multiverse
这里https://launchpad.net/ubuntu/+archivemirrors可以找到一些通过官方认证的源。