350 lines
8.0 KiB
HTML
350 lines
8.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
<HTML
|
||
><HEAD
|
||
><TITLE
|
||
>Why jigdo?</TITLE
|
||
><META
|
||
NAME="GENERATOR"
|
||
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
||
REL="HOME"
|
||
TITLE="Debian Jigdo mini-HOWTO"
|
||
HREF="index.html"><LINK
|
||
REL="PREVIOUS"
|
||
TITLE="Administrata"
|
||
HREF="administrata.html"><LINK
|
||
REL="NEXT"
|
||
TITLE="How Jigdo Works (optional)"
|
||
HREF="howjigdoworks.html"></HEAD
|
||
><BODY
|
||
CLASS="SECT1"
|
||
BGCOLOR="#FFFFFF"
|
||
TEXT="#000000"
|
||
LINK="#0000FF"
|
||
VLINK="#840084"
|
||
ALINK="#0000FF"
|
||
><DIV
|
||
CLASS="NAVHEADER"
|
||
><TABLE
|
||
SUMMARY="Header navigation table"
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
CELLPADDING="0"
|
||
CELLSPACING="0"
|
||
><TR
|
||
><TH
|
||
COLSPAN="3"
|
||
ALIGN="center"
|
||
>Debian Jigdo mini-HOWTO</TH
|
||
></TR
|
||
><TR
|
||
><TD
|
||
WIDTH="10%"
|
||
ALIGN="left"
|
||
VALIGN="bottom"
|
||
><A
|
||
HREF="administrata.html"
|
||
ACCESSKEY="P"
|
||
>Prev</A
|
||
></TD
|
||
><TD
|
||
WIDTH="80%"
|
||
ALIGN="center"
|
||
VALIGN="bottom"
|
||
></TD
|
||
><TD
|
||
WIDTH="10%"
|
||
ALIGN="right"
|
||
VALIGN="bottom"
|
||
><A
|
||
HREF="howjigdoworks.html"
|
||
ACCESSKEY="N"
|
||
>Next</A
|
||
></TD
|
||
></TR
|
||
></TABLE
|
||
><HR
|
||
ALIGN="LEFT"
|
||
WIDTH="100%"></DIV
|
||
><DIV
|
||
CLASS="SECT1"
|
||
><H1
|
||
CLASS="SECT1"
|
||
><A
|
||
NAME="WHYJIGDO"
|
||
></A
|
||
>2. Why jigdo?</H1
|
||
><DIV
|
||
CLASS="SECT2"
|
||
><H2
|
||
CLASS="SECT2"
|
||
><A
|
||
NAME="AEN97"
|
||
></A
|
||
>2.1. How Does One Get A Debian ISO Image Set?</H2
|
||
><P
|
||
>If you want a set of Debian CDs there are many ways of getting them. One way is to buy
|
||
them from <A
|
||
HREF="http://www.debian.org/CD/vendors/"
|
||
TARGET="_top"
|
||
>vendors</A
|
||
> who sell Debian CDs.
|
||
This definitely has merit since some of the vendors donate money back to the Debian project.
|
||
Your donations help make sure that Debian is around for a long time.</P
|
||
><P
|
||
>Another way of getting a set of Debian CDs is to burn your own set. This first entails
|
||
obtaining an ISO image and then burning that ISO image to a blank CD. Before jigdo, there
|
||
were two ways of creating Debian CDs:</P
|
||
><P
|
||
></P
|
||
><OL
|
||
TYPE="1"
|
||
><LI
|
||
><P
|
||
>Downloading the entire ISO</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
>Using the pseudo-image kit (PIK)</P
|
||
></LI
|
||
></OL
|
||
><P
|
||
>This document is about the newer and better way of obtaining Debian ISO images, using a
|
||
tool called jigdo. In fact, the PIK is now officially dead and all further references to it
|
||
have been removed from this document. The canonical method of getting Debian ISO images is
|
||
with jigdo.</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="SECT2"
|
||
><H2
|
||
CLASS="SECT2"
|
||
><A
|
||
NAME="WHYNOTDOWNLOADTHEWHOLEISOIMAGE"
|
||
></A
|
||
>2.2. Why Not Download The Whole ISO Image?</H2
|
||
><P
|
||
>There are mirrors which offer http and ftp downloads of Debian ISOs. The problem is
|
||
that there are very few mirror sites, and their bandwidth can't support everyone who wants
|
||
Debian ISOs. For example, fsn.hu has reportedly saturated the connection of its provider.
|
||
The outgoing traffic reaches a few terabytes per month!</P
|
||
><P
|
||
>In addition, Debian testing and unstable get updated often. Your ISOs may become
|
||
outdated the same day you download them unless you find some sneaky way of updating them like
|
||
mounting the ISO on a loopback device and using rsync (which is what the PIK did). So if you
|
||
want up-to-date ISO images, you must download a new set of ISO images every day. Clearly,
|
||
this is not the way you want to obtain Debian ISOs!</P
|
||
><P
|
||
>Even if you want to download the stable ISO images, they still get updated every few
|
||
months. Downloading the ISO images will give you up-to-date images for a few months, but
|
||
every time a new revision of Debian stable is released, you'll need to go through the painful
|
||
process of downloading the entire ISO set from scratch. This is not a good use of your time
|
||
and the mirror's resources.</P
|
||
></DIV
|
||
><DIV
|
||
CLASS="SECT2"
|
||
><H2
|
||
CLASS="SECT2"
|
||
><A
|
||
NAME="WHATISJIGDO"
|
||
></A
|
||
>2.3. What Is Jigdo?</H2
|
||
><P
|
||
>Jigdo (which stands for "Jigsaw Download") was written by <A
|
||
HREF="mailto:atterer@debian.org"
|
||
TARGET="_top"
|
||
>Richard Atterer</A
|
||
> and is released under the GNU GPL.
|
||
It's a tool that allows efficient downloading and updating of an ISO image. Any ISO image.
|
||
Jigdo is not Debian specific, however Debian has chosen it to be the official method of
|
||
downloading ISO images.</P
|
||
><P
|
||
>A common misconception is that jigdo creates ISO images; it doesn't. Let's discuss the
|
||
overall process of how jigdo allows you to obtain an ISO image. Let Adam (a Debian release
|
||
manager) be the person offering the ISO image. Let Betty (a Debian user) be the person who
|
||
wants to download the ISO image.</P
|
||
><P
|
||
></P
|
||
><OL
|
||
TYPE="1"
|
||
><LI
|
||
><P
|
||
>Adam first creates an ISO image suitable for burning a CD. He might use a utility
|
||
like <SPAN
|
||
CLASS="APPLICATION"
|
||
>mkisofs</SPAN
|
||
> or <SPAN
|
||
CLASS="APPLICATION"
|
||
>debian-cd</SPAN
|
||
> to create
|
||
the ISO image. He also creates two small files associated with his newly created image: a
|
||
<TT
|
||
CLASS="FILENAME"
|
||
>.jigdo</TT
|
||
> file and a <TT
|
||
CLASS="FILENAME"
|
||
>.template</TT
|
||
> file. He makes these
|
||
two files available for download to anyone who wants to obtain his ISO image.</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
>Betty then downloads the <TT
|
||
CLASS="FILENAME"
|
||
>.jigdo</TT
|
||
> and
|
||
<TT
|
||
CLASS="FILENAME"
|
||
>.template</TT
|
||
> files. She uses <SPAN
|
||
CLASS="APPLICATION"
|
||
>jigdo-lite</SPAN
|
||
> along
|
||
with these two files to download Adam's ISO image.</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
>When Debian gets updated, Adam creates a new version of the ISO and generates new
|
||
<TT
|
||
CLASS="FILENAME"
|
||
>.jigdo</TT
|
||
> and <TT
|
||
CLASS="FILENAME"
|
||
>.template</TT
|
||
> files.</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
>When Betty wants to update her CDs, she downloads the new <TT
|
||
CLASS="FILENAME"
|
||
>.jigdo</TT
|
||
>
|
||
and <TT
|
||
CLASS="FILENAME"
|
||
>.template</TT
|
||
> files and uses them with
|
||
<SPAN
|
||
CLASS="APPLICATION"
|
||
>jigdo-light</SPAN
|
||
> to update her copy of the ISO images. The important
|
||
thing here is that she only downloads the differences between her old ISO and Adam's new
|
||
ISO. She does not have to re-download the parts that are unchanged.</P
|
||
></LI
|
||
></OL
|
||
><P
|
||
>Jigdo comes with two utilities: <SPAN
|
||
CLASS="APPLICATION"
|
||
>jigdo-file</SPAN
|
||
> (used by Adam)
|
||
which creates the <TT
|
||
CLASS="FILENAME"
|
||
>.jigdo</TT
|
||
> and <TT
|
||
CLASS="FILENAME"
|
||
>.template</TT
|
||
> files, and
|
||
<SPAN
|
||
CLASS="APPLICATION"
|
||
>jigdo-lite</SPAN
|
||
> (used by Betty) which uses these two files to download
|
||
or update the ISO. If all you want to do is obtain/update Debian ISOs, you'll only use
|
||
<SPAN
|
||
CLASS="APPLICATION"
|
||
>jigdo-lite</SPAN
|
||
>. You can forget that jigdo-file even exists. <20>
|
||
:-)</P
|
||
><P
|
||
>Jigdo addresses all the problems with the other methods of obtaining Debian ISO
|
||
images:</P
|
||
><P
|
||
></P
|
||
><UL
|
||
><LI
|
||
><P
|
||
>It's much faster than downloading the entire ISO image.</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
>Unlike downloading the entire ISO image, it can take an outdated CD (or a loop
|
||
mounted outdated ISO image), download <EM
|
||
>only</EM
|
||
> the files that have changed
|
||
since the CD (or ISO image) was created and create a new updated ISO. Very similar to how you
|
||
use cvs to update source code.</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
>jigdo-lite uses wget which, by default, uses http to transfer files. Unlike
|
||
rsync, http is never blocked by firewalls (except the ones behind which you shouldn't be using
|
||
jigdo to begin with).</P
|
||
></LI
|
||
><LI
|
||
><P
|
||
>Jigdo is very kind to the bandwidth of the servers offering the Debian images.
|
||
The Debian mirrors can handle a bigger load of people using jigdo to download Debian images
|
||
than with other methods of getting them.</P
|
||
></LI
|
||
></UL
|
||
><P
|
||
>Clearly, jigdo is the best method of obtaining Debian ISO images.</P
|
||
></DIV
|
||
></DIV
|
||
><DIV
|
||
CLASS="NAVFOOTER"
|
||
><HR
|
||
ALIGN="LEFT"
|
||
WIDTH="100%"><TABLE
|
||
SUMMARY="Footer navigation table"
|
||
WIDTH="100%"
|
||
BORDER="0"
|
||
CELLPADDING="0"
|
||
CELLSPACING="0"
|
||
><TR
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="left"
|
||
VALIGN="top"
|
||
><A
|
||
HREF="administrata.html"
|
||
ACCESSKEY="P"
|
||
>Prev</A
|
||
></TD
|
||
><TD
|
||
WIDTH="34%"
|
||
ALIGN="center"
|
||
VALIGN="top"
|
||
><A
|
||
HREF="index.html"
|
||
ACCESSKEY="H"
|
||
>Home</A
|
||
></TD
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="right"
|
||
VALIGN="top"
|
||
><A
|
||
HREF="howjigdoworks.html"
|
||
ACCESSKEY="N"
|
||
>Next</A
|
||
></TD
|
||
></TR
|
||
><TR
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="left"
|
||
VALIGN="top"
|
||
>Administrata</TD
|
||
><TD
|
||
WIDTH="34%"
|
||
ALIGN="center"
|
||
VALIGN="top"
|
||
> </TD
|
||
><TD
|
||
WIDTH="33%"
|
||
ALIGN="right"
|
||
VALIGN="top"
|
||
>How Jigdo Works (optional)</TD
|
||
></TR
|
||
></TABLE
|
||
></DIV
|
||
></BODY
|
||
></HTML
|
||
> |