个人工具

“UbuntuHelp:JigdoDownloadHowto”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的5个中间版本)
第8行: 第8行:
 
sudo aptitude install jigdo-file
 
sudo aptitude install jigdo-file
 
</nowiki></pre>
 
</nowiki></pre>
=== Use & Example downloading Ubuntu 8.04 ===
+
=== Use & Example downloading Ubuntu 8.10 (Intrepid Ibex) ===
'''Note: Using a development release is not recommended unless you do mot mind (possibly frequent) crashes and other problems.'''
+
 
Start the program from the terminal:
 
Start the program from the terminal:
 
<pre><nowiki>
 
<pre><nowiki>
第18行: 第17行:
 
<pre><nowiki>
 
<pre><nowiki>
 
Jigsaw Download "lite"
 
Jigsaw Download "lite"
Copyright (C) 2001-2004 |  jigdo@
+
Copyright (C) 2001-2005 |  jigdo@
 
Richard Atterer          |  atterer.net
 
Richard Atterer          |  atterer.net
 
Getting mirror information from /etc/apt/sources.list
 
Getting mirror information from /etc/apt/sources.list
第27行: 第26行:
 
You can also enter several URLs/filenames, separated with spaces,
 
You can also enter several URLs/filenames, separated with spaces,
 
or enumerate in {}, e.g. `http://server/cd-{1_NONUS,2,3}.jigdo'
 
or enumerate in {}, e.g. `http://server/cd-{1_NONUS,2,3}.jigdo'
'''jigdo''':
+
jigdo:  
 
</nowiki></pre>
 
</nowiki></pre>
In this situation we'll use [http://cdimage.ubuntu.com/daily/current/hardy-alternate-i386.jigdo Current Daily Build] (copy link-location & paste into prompt above)
+
In this situation we'll use [http://releases.ubuntu.com/8.10/ubuntu-8.10-alternate-i386.jigdo Intrepid Ibex Alternate Install Disc (x86)] (copy link-location & paste into prompt above)
 
==== Supply previous CD image ====
 
==== Supply previous CD image ====
Jigdo will then download a copy of the .jigdo file and prompt you for any previous images you have to base the download from.  Here you can point Jigdo to an existing burned copy of the CD image. (eg. /media/cdrom)
+
Jigdo will then download a copy of the .jigdo file and prompt you for any previous images you have to base the download from.  Here you can point Jigdo to an existing burned copy of the CD image, or loop-mounted ISO image (see [[UbuntuHelp:MountIso|MountIso]]). (eg. /media/cdrom or /media/cdimage)
 
<pre><nowiki>
 
<pre><nowiki>
 
If you already have a previous version of the CD you are
 
If you already have a previous version of the CD you are
第40行: 第39行:
 
Alternatively, just press enter if you want to start downloading
 
Alternatively, just press enter if you want to start downloading
 
the remaining files.
 
the remaining files.
 +
</nowiki></pre>
 +
If you didn't burn the old image to a CD, you can loop-mount it (see [[UbuntuHelp:MountIso|MountIso]])
 +
<pre><nowiki>
 +
sudo mkdir /media/cdimage
 +
sudo mount -o loop intrepid-alternate-i386.iso /media/cdimage
 
</nowiki></pre>
 
</nowiki></pre>
 
==== Comparing files ====
 
==== Comparing files ====
第45行: 第49行:
 
<pre><nowiki>
 
<pre><nowiki>
 
Found xxxx of the xxxx files required by the template
 
Found xxxx of the xxxx files required by the template
Copied input files to temporary file `hardy-alternate-i386.iso.tmp' - repeat command and supply more files to continue
+
Copied input files to temporary file `intrepid-alternate-i386.iso.tmp' - repeat command and supply more files to continue
 
</nowiki></pre>
 
</nowiki></pre>
 
At this point you can include any additional sources you might have (optional) or press '''ENTER''' to continue to the next step.
 
At this point you can include any additional sources you might have (optional) or press '''ENTER''' to continue to the next step.
第51行: 第55行:
 
=== Links ===
 
=== Links ===
 
* [[UbuntuHelp:BurningIsoHowto|BurningIsoHowto]] Instructions on Burning the finished CD image
 
* [[UbuntuHelp:BurningIsoHowto|BurningIsoHowto]] Instructions on Burning the finished CD image
[[category:CategoryDocumentation]]
+
* [[UbuntuHelp:MountIso|MountIso]] Loop mounting a CD image without burning it
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年5月12日 (二) 17:37的最新版本

Definition

Jigdo (JIGsaw-DOwnload) can be used to efficiently download daily CD builds or update existing .iso images without the need to re-download the entire CD image. It simply checks for differences or updates between an existing CD image (on your system) and the latest released image.

Installation

Install the required packages for Jigdo.

sudo aptitude install jigdo-file

Use & Example downloading Ubuntu 8.10 (Intrepid Ibex)

Start the program from the terminal:

jigdo-lite

Supply the .jigdo file

The program then asks you for the URL to the .jigdo template you want to download.

Jigsaw Download "lite"
Copyright (C) 2001-2005  |  jigdo@
Richard Atterer          |  atterer.net
Getting mirror information from /etc/apt/sources.list

-----------------------------------------------------------------
To resume a half-finished download, enter name of .jigdo file.
To start a new download, enter URL of .jigdo file.
You can also enter several URLs/filenames, separated with spaces,
or enumerate in {}, e.g. `http://server/cd-{1_NONUS,2,3}.jigdo'
jigdo: 

In this situation we'll use Intrepid Ibex Alternate Install Disc (x86) (copy link-location & paste into prompt above)

Supply previous CD image

Jigdo will then download a copy of the .jigdo file and prompt you for any previous images you have to base the download from. Here you can point Jigdo to an existing burned copy of the CD image, or loop-mounted ISO image (see MountIso). (eg. /media/cdrom or /media/cdimage)

If you already have a previous version of the CD you are
downloading, jigdo can re-use files on the old CD that are also
present in the new image, and you do not need to download them
again. Mount the old CD ROM and enter the path it is mounted under
(e.g. `/mnt/cdrom').
Alternatively, just press enter if you want to start downloading
the remaining files.

If you didn't burn the old image to a CD, you can loop-mount it (see MountIso)

sudo mkdir /media/cdimage
sudo mount -o loop intrepid-alternate-i386.iso /media/cdimage

Comparing files

Jigdo then scans the existing files & compares them with the latest copies from the .jigdo template.

Found xxxx of the xxxx files required by the template
Copied input files to temporary file `intrepid-alternate-i386.iso.tmp' - repeat command and supply more files to continue

At this point you can include any additional sources you might have (optional) or press ENTER to continue to the next step. If you have no additional sources you can press ENTER twice and it will download the remaining packages that it needs. This, again, significantly cuts down on bandwidth and download time & easily keeps you up to date on the latest daily builds.

Links

  • BurningIsoHowto Instructions on Burning the finished CD image
  • MountIso Loop mounting a CD image without burning it