利用 Zsync 更新已有的 Ubuntu ISO 镜像

{ 撰文/Yunkwan }

对!是升级 ISO 镜像,不是升级系统。从旧的镜像升级到新的镜像。可能有点迟了~大家都 Down 好了镜像~我现在才有心情和时间写 Blog 哦~由 Alpha 的 ISO 升到正式版都可以。呃~当然,估计由 Alpha 开始的话,下载量也与直接下载正式版区别不大~这么多人下载,速度当然会慢喇~用 Zsync 来升级镜像减少了下载量也是一个不错的方法哦~

首先要安装 Zsync 喇~

sudo aptitude install zsync

然后,就是把你原有的 ISO 镜像,重命名,无论是 Alpha,Beta,还是 RC,估计 daily-build 也可以哦~都重命名为正式版的名字:

mv ubuntu-9.10-rc-desktop-i386.iso ubuntu-9.10-desktop-i386.iso

(当然,你不用命令行也可) 当然终端的工作目录要 cd 到原镜像所在目录~只要你找到发布镜像的地址,该镜像又有 *.zsync 的就可以了。

命令使用:

zsync *.zsync

(不是运行这个哦~ 这个是使用方法)

然后,你使用以下的命令就可以升级 ISO 镜像了~ Zsync 会自动帮你搞定的~

========================32 位桌面版=================================

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-desktop-i386.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-desktop-i386.iso.zsync

========================64 位桌面版=================================

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-desktop-amd64.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-desktop-amd64.iso.zsync

========================32 位 Alternate 版=================================

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-alternate-i386.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-alternate-i386.iso.zsync

========================64 位 Alternate 版=================================

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-alternate-amd64.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-alternate-amd64.iso.zsync

========================32 位上网本(Netbook Remix)版=================================

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-netbook-remix-i386.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-netbook-remix-i386.iso.zsync

========================32 位服务器版=================================

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-server-i386.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-server-i386.iso.zsync

========================64 位服务器版=================================

zsync http://mirrors.cat.pdx.edu/ubuntu-releases/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://ftp.usf.edu/pub/ubuntu-releases/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://mirror.as29550.net/releases.ubuntu.com/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://mirror.anl.gov/pub/ubuntu-iso/CDs-Ubuntu/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://ubuntu.osuosl.org/releases/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://mirrors.xmission.com/ubuntu-cd/9.10/ubuntu-9.10-server-amd64.iso.zsync
zsync http://ubuntu.inode.at/cdimage/karmic/ubuntu-9.10-server-amd64.iso.zsync

{ Source. Thanks Yunkwan. }

Read More:

13 Comments

  1. 1 hantsy Commented @ 2009-10-31 14:51Reply to this comment

    debian n年前就有这种工具了。。。fedora 也自带了

  2. 2 autoxbc Commented @ 2009-10-31 15:03Reply to this comment

    Ubuntu 也 n 年前就有了,说这个有鸟用,还不如补一句抄 fedora 的更带劲儿。

  3. 3 simsilver Commented @ 2009-10-31 15:30Reply to this comment

    不要打口水仗了,好用就是王道

  4. 4 apal-zhg Commented @ 2009-10-31 15:35Reply to this comment

    使用那个版本的linux由用户来决定,好于不好也由用户来决定,发行版只要做好就行

  5. 5 bmbtgys Commented @ 2009-10-31 16:49Reply to this comment

    菜鸟。。早2天在下载目录里面看到这个文件,就一直好奇是做啥用的。。原来是这样。。学习了。。

  6. 6 Louis Han Commented @ 2009-10-31 19:57Reply to this comment

    Ubuntu本来就是基于debian的,肯定会一直有这个技术啊

  7. 7 zmd56 Commented @ 2009-11-01 2:23Reply to this comment

    棒子们,此文没有出来时,一个都不说,文章出来,又在马后炮,真佩服!!!!

  8. 8 fkk Commented @ 2009-11-01 12:49Reply to this comment

    我还以为用linux的都是比较包容的人,看来都是一样的~~

  9. 9 buffer Commented @ 2009-11-01 14:01Reply to this comment

    昨天晚上刚刚用zsync把beta版的iso升级成正式版,节约了40%的下载,恩,挺强大的~

  10. 10 walkerxk Commented @ 2009-11-02 9:25Reply to this comment

    很久没有用iso装系统了,感觉iso没什么用,还是debootstrap+chroot好,自定义,想装什么包,就装什么包。

  11. 11 alen Commented @ 2009-11-02 11:10Reply to this comment

    试过,下载速度很慢,还不如用多线程工具直接下载新文件快

  12. 12 walkerxk Commented @ 2009-11-02 11:16Reply to this comment

    @alen: 不一定是要追求速度,为服务器节省流量也是好的。

  13. 13 slackcode Commented @ 2009-11-02 17:17Reply to this comment

    这样子可以在不支持rsync的服务器使用zsync来同步吗? 稳定性如何?