Hrvatska akademska i istraživačka mreža
  NASLOVNICA MAPA WEBA TRAŽILICA KONTAKTI CARNET WEB
Hrvatska akademska i istraživačka mreža
 
menu 4
Sigurnost
menu 4
Distribucija
menu 4
Pomoć
menu 4
Dokumenti
menu 4
menu 4

 

 

28-04-05 09:59
Izrada CD/DVD distribucije Debian Linuxa

piše ZDENKO ŠKILJAN

Ako trebate instalacijski CD s najsvježijom distribucijom Linuxa,

za početak instalirajte paket jigdo-lite.

 

# apt-get install jigdo-file

 

Pronađite .jigdo datoteke na nekom od Debian mirrora (http://www.debian.org/mirror/list).

 

Na službenim stranicama Debian Linuxa možete naći DVD slike stabilne distribucije (Woody):

http://non-us.cdimage.debian.org/jigdo-area/3.0_r4-dvd/jigdo/i386/

ili

DVD slike testing distribucije (Sarge):

http://cdimage.debian.org/pub/cdimage-testing/dvd/jigdo-area/i386/

 

Primjerom ćemo pokazati kako napraviti ISO sliku Sarge distribucije.

 

Vašim omiljenim preglednikom pogledajte gore navedene stranice.

 

# lynx http://cdimage.debian.org/pub/cdimage-testing/dvd/jigdo-area/i386/

 

Index of /pub/cdimage-testing/dvd/jigdo-area/i386

 

        Name                    Last modified       Size  Description

___________________________________________________________________________

 [DIR]  Parent Directory        05-Mar-2005 16:10      -

 [   ]  MD5SUMS                 05-Mar-2005 08:17     1k

 [DIR]  jigdotemplates/         05-Mar-2005 08:17      -

 [   ]  sarge-i386-1.jigdo      05-Mar-2005 08:17   205k

 [   ]  sarge-i386-2.jigdo      05-Mar-2005 08:17   235k

___________________________________________________________________________

 

 

Uočite dvije .jigdo datoteke i direktorij jigdotemplates.

 

Pomoću programa wget 'skinite' jigdo datoteke.

 

# wget http://cdimage.debian.org/pub/cdimage-testing/dvd/jigdo-area/i386/sarge-i386-1.jigdo

# wget http://cdimage.debian.org/pub/cdimage-testing/dvd/jigdo-area/i386/sarge-i386-2.jigdo

 

 

# lynx http://cdimage.debian.org/pub/cdimage-testing/dvd/jigdo-area/i386/jigdotemplates/

 

Index of /pub/cdimage-testing/dvd/jigdo-area/i386/jigdotemplates

 

        Name                    Last modified       Size  Description

___________________________________________________________________________

 

 [DIR]  Parent Directory        05-Mar-2005 08:17      -

 [   ]  sarge-i386-1.template   05-Mar-2005 07:19   7.0M

 [   ]  sarge-i386-2.template   05-Mar-2005 08:07   7.8M

   ___________________________________________________________________________

 

Zatim skinite i jigdo template

# wget http://cdimage.debian.org/pub/cdimage-testing/dvd/jigdo-area/i386/jigdotemplates/sarge-i386-1.template

# wget http://cdimage.debian.org/pub/cdimage-testing/dvd/jigdo-area/i386/jigdotemplates/sarge-i386-2.template

 

… i sve je spremno za početak!

 

Pokrenite naredbu jigdo-lite. Kao argument možete proslijediti ime .jigdo datoteke ali i URL koji pokazuje na neku .jigdo datoteku.

 

Primjer 1. # jigdo-lite

Primjer 2. # jigdo-lite sarge-i386-1.jigdo

Primjer 3. # jigdo-lite http://cdimage.debian.org/pub/cdimage-testing/dvd/jigdo-area/i386/sarge-i386-1.jigdo

 

Nakon što pokrenete bilo koju od gore navedenih naredaba potrebno je još malo interakcije s jigdo-lite programom kako bi uspješno završili posao.

 

# jigdo-lite

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:

sarge-i386-1.jigdo

 

-----------------------------------------------------------------

Images offered by `sarge-i386-1.jigdo':

  1: 'Debian GNU/Linux testing "Sarge" - Official Snapshot i386 Binary-1' (sarge-i386-1.iso)

Further information about `sarge-i386-1.iso':

Generated on Fri, 4 Mar 2005 23:19:14 -0700

-----------------------------------------------------------------

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.

Files to scan:

<ENTER>

-----------------------------------------------------------------

The jigdo file refers to files stored on Debian mirrors. Please

choose a Debian mirror as follows: Either enter a complete URL

pointing to a mirror (in the form

`ftp://ftp.debian.org/debian/'), or enter any regular expression

for searching through the list of mirrors: Try a two-letter

country code such as `de', or a country name like `United

States', or a server name like `sunsite'.

Debian mirror [http://security.debian.org/]:

ftp://ftp.hr.debian.org/debian/

 

i počinje 'skidanje' slike …

 

Preporučeno je upisati lokalni mirror ftp://ftp.hr.debian.org/debian/ jer je razlika u brzini skidanja ogromna!

 

Ako umjesto toga upišete generički debianov URL

ftp://ftp.debian.org/debian/

jigdo-lite će vam automatski ponuditi lokalni mirror

http://debian.carnet.hr/debian-non-US/.

 

Ako nešto pođe po zlu i želite sve iz početka, počistite sve:

# rm -r ~/.jigdo-lite jigdo-file-cache.db sarge-i386-1.iso.list sarge-i386-1.jigdo.unpacked sarge-i386-1.iso.tmpdir sarge-i386-1.iso.tmp

(popis može biti različit, ovisno o trenutku kada je jigdo-lite prekinut).

Kao i uvijek budite oprezni pri brisanju.

 

Preporučeno štivo:

http://www.debian.org

http://www.debian.org/distrib/cd

http://www.debian.org/CD/jigdo-cd

http://www.tldp.org/HOWTO/Debian-Jigdo/

http://www.google.com/search?q=jigdo+how-to&btnG=Google+Search'

 





[Lista]
Ovu uslugu CARNeta realizira Sveučilišni računski centar Sveučilišta u Zagrebu
  Copyright ©2005. CARNet. Sva prava zadržana. Impressum.
Mail to
sys-portal@CARNet.hr