Skip navigation


Hari ini lagi butuh paket software buat server Xubuntu gw yang di Divusi, tapi mau konek ke situs luar rada lama. Untungnya gw masih punya ISO DVD Repository Ubuntu yang versi Intrepid Ibex. Caranya gampang mau setting repository.

Pertama-tama kopi semua ISOnya ke sebuah folder, katakanlah “/tmp/iso”.

$sudo cp /path/ke/folder/ubuntu-8.10-repository-i386-1_contrib.iso /tmp/iso
$sudo cp /path/ke/folder/ubuntu-8.10-repository-i386-2_contrib.iso /tmp/iso
$sudo cp /path/ke/folder/ubuntu-8.10-repository-i386-3_contrib.iso /tmp/iso
$sudo cp /path/ke/folder/ubuntu-8.10-repository-i386-4_contrib.iso /tmp/iso
$sudo cp /path/ke/folder/ubuntu-8.10-repository-i386-5_contrib.iso /tmp/iso
$sudo cp /path/ke/folder/ubuntu-8.10-repository-i386-6_contrib.iso /tmp/iso

Kemudian buat sebuah folder tempat repositorynya, katakanlah di “/tmp/repo”

$sudo mkdir /tmp/repo/intrepid-1
$sudo mkdir /tmp/repo/intrepid-2
$sudo mkdir /tmp/repo/intrepid-3
$sudo mkdir /tmp/repo/intrepid-4
$sudo mkdir /tmp/repo/intrepid-5
$sudo mkdir /tmp/repo/intrepid-6

Lalu kita mount semua ISOnya ke folder-folder tersebut

$sudo mount -o loop -t iso9660 /tmp/iso/ubuntu-8.10-repository-i386-1_contrib.iso /tmp/repo/intrepid-1
$sudo mount -o loop -t iso9660 /tmp/iso/ubuntu-8.10-repository-i386-2_contrib.iso /tmp/repo/intrepid-2
$sudo mount -o loop -t iso9660 /tmp/iso/ubuntu-8.10-repository-i386-3_contrib.iso /tmp/repo/intrepid-3
$sudo mount -o loop -t iso9660 /tmp/iso/ubuntu-8.10-repository-i386-4_contrib.iso /tmp/repo/intrepid-4
$sudo mount -o loop -t iso9660 /tmp/iso/ubuntu-8.10-repository-i386-5_contrib.iso /tmp/repo/intrepid-5
$sudo mount -o loop -t iso9660 /tmp/iso/ubuntu-8.10-repository-i386-6_contrib.iso /tmp/repo/intrepid-6

Setelah itu kita edit file “/etc/apt/sources.list/”. Ditambahkan di paling akhir

deb file:///tmp/repo/intrepid-1 intrepid main restricted
deb file:///tmp/repo/intrepid-2 intrepid main multiverse restricted
deb file:///tmp/repo/intrepid-3 intrepid universe
deb file:///tmp/repo/intrepid-4 intrepid universe
deb file:///tmp/repo/intrepid-5 intrepid universe
deb file:///tmp/repo/intrepid-6 intrepid universe

Terakhir kita eksekusi

$sudo apt-get update

Jadi deh🙂

One Comment

  1. mantap mas. thanks ya.. enta tak coba..

    nice info ya.. salam dari Jambi🙂


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: