Difference between revisions of "Membuat Repository Ubuntu Lokal menggunakan debmirror"

From OnnoWiki
Jump to navigation Jump to search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
Langkah membuat repository [[Ubuntu]] dari [[server]],
+
Repository adalah istilah dalam Linux yang kira-kira berarti tempat penyimpanan aplikasi Linux. Berbeda dengan Windows atau sistem operasi pada umumnya, di Linux sebagian besar aplikasi telah tertata rapih di repository dan kita dapat dengan mudah menggunakannya jika kita dapat mengakses repository tersebut.
  
* opensource.telkomspeedy.com:5432/ubuntu
+
Masalahnya, sebagian besar repository berada di Internet. Jika kita tidak mempunyai bandwidth yang cukup besar maka akan susah bagi kita untuk mengkutak katik Linux tersebut.
* dl2.foss-id.web.id
 
  
ke Server lokal di [[LAN]]
+
Pada kesempatan ini, akan di jelaskan cara untuk membuat repository agar berada di harddisk laptop kita. Dengan cara ini, maka bagi mereka yang tidak mempunyai akses ke Internet dapat tetap mengeksplorasi dengan menggunakan repository yang ada di harddisk.
  
==Mengkonfigurasi debmirror==
+
Berikut adalah langkah membuat [[repository]] [[Ubuntu]] dari [[server]],
  
* Install debmirror
+
* id.archive.ubuntu.com
 +
* dl2.foss-id.web.id atau 125.160.17.22
 +
* kambing.ui.ac.id atau 152.118.24.30
  
# apt-get install debmirror
+
ke Server lokal di [[LAN]]
  
 +
==Langkah Mendownload Repostory Menggunakan debmirror==
  
* Buatlah folder untuk menempatkan [[repository]], misalnya /home/media/repo-9.10
+
Mendownload repository dapat dilakukan menggunakan debmirror. Aplkasi debmirror dapat di instalasi menggunakan perintah
  
  # mkdir /home/media/repo-9.10
+
  apt-get install debmirror
  
 +
Contoh di bawah adalah untuk repository Ubuntu 32 bit.
 +
Bagi anda yang ingin mendownload repository 64 bit, yang perlu di ubah hanya paramter
  
* Buatlah script mirror
+
arch=i386
  
# vi /usr/local/bin/mirrorbuild.sh
+
menjadi arsitektur 64 bit, yaitu:
  
 +
arch=amd64
  
* Masukan script berikut
+
* [[Mirror Repository Ubuntu 9.10]]
 +
* [[Mirror Repository Ubuntu 9.10 pakai old-releases.ubuntu.com/ubuntu/]]
 +
* [[Mirror Repository Ubuntu 10.04]]
 +
* [[Mirror Repository Ubuntu 10.04 pakai old-releases.ubuntu.com/ubuntu/]]
 +
* [[Mirror Repository Ubuntu 10.10]]
 +
* [[Mirror Repository Ubuntu 10.10 pakai old-releases.ubuntu.com/ubuntu/]]
 +
* [[Mirror Repository Ubuntu 11.04]]
 +
* [[Mirror Repository Ubuntu 11.10]]
 +
* [[Mirror Repository Ubuntu 12.04]]
 +
* [[Mirror Repository Ubuntu 12.10]]
 +
* [[Mirror Repository Ubuntu 13.04]]
  
 +
==Membuat Repository di Web==
  
#### Start script to automate building of Ubuntu mirror #####
+
* Pertama-tama [[Instalasi Apache]]
## THE NEXT LINE IS NEEDED THE REST OF THE LINES STARTING WITH A # CAN BE DELETED
 
 
#!/bin/bash
 
 
## Setting variables with explanations.
 
 
#
 
# Don't touch the user's keyring, have our own instead
 
#
 
export GNUPGHOME=/home/media/mirrorkeyring
 
 
# Arch=        -a      # Architecture. For Ubuntu can be i386, powerpc or amd64.
 
# sparc, only starts in dapper, it is only the later models of sparc.
 
#
 
arch=i386
 
 
# Minimum Ubuntu system requires main, restricted
 
# Section=      -s      # Section (One of the following - main/restricted/universe/multiverse).
 
# You can add extra file with $Section/debian-installer. ex: main/debian-installer,universe/debian-installer,multiverse/debian-installer,restricted/debian-installer
 
#
 
section=main,restricted,universe,multiverse
 
 
# Release=      -d      # Release of the system (Dapper, Edgy, Feisty, Gutsy, Hardy, Intrepid), and the -updates and -security ( -backports can be  added if desired)
 
#
 
# release=jaunty,jaunty-security,jaunty-updates
 
# release=karmic
 
# release=karmic,karmic-security,karmic-updates
 
release=karmic,karmic-security,karmic-updates,karmic-backports,karmic-proposed
 
 
# Server=      -h      # Server name, minus the protocol and the path at the end
 
# CHANGE "*" to equal the mirror you want to create your mirror from. au. in Australia  ca. in Canada.
 
# This can be found in your own /etc/apt/sources.list file, assuming you have Ubuntu installed.
 
#
 
# server=opensource.telkomspeedy.com:5432
 
# server=dl2.foss-id.web.id
 
server=125.160.17.22
 
 
# Dir=          -r      # Path from the main server, so http://my.web.server/$dir, Server dependant
 
#
 
inPath=ubuntu
 
 
# Proto=        -e      # Protocol to use for transfer (http, ftp, hftp, rsync)
 
# Choose one - http is most usual the service, and the service must be avaialbe on the server you point at.
 
#
 
proto=http
 
 
# Outpath=              # Directory to store the mirror in
 
# Make this a full path to where you want to mirror the material.
 
#
 
outPath=/home/media/repo-9.10
 
 
# The --nosource option only downloads debs and not deb-src's
 
# The --progress option shows files as they are downloaded
 
# --source \ in the place of --no-source \ if you want sources also.
 
# --nocleanup  Do not clean up the local mirror after mirroring is complete. Use this option to keep older repository
 
# Start script
 
#
 
debmirror      -a $arch \
 
                --no-source \
 
                -s $section \
 
                -h $server \
 
                -d $release \
 
                -r $inPath \
 
                --progress \
 
                -e $proto \
 
                $outPath
 
 
#### End script to automate building of Ubuntu mirror ####                                                                                   
 
  
 +
* Buat link statik antara download [[repository]] ke [[Web]]. Misalkan untuk repo-13.04
  
Simpan script jika sudah selesai di edit semua-nya.
+
# mkdir /var/www/ubuntu
 +
# mount --bind /var/data/repository/repo-13.04 /var/www/ubuntu
  
 +
* Jika kita mempunyai banyak repository, kita dapat membuat sebagai berikut:
  
 +
# mkdir /var/www/ubuntu-9.10
 +
# mkdir /var/www/ubuntu-10.04
 +
# mkdir /var/www/ubuntu-10.10
 +
# mkdir /var/www/ubuntu-11.04
 +
# mkdir /var/www/ubuntu-11.10
 +
# mkdir /var/www/ubuntu-12.04
 +
# mkdir /var/www/ubuntu-12.10
 +
# mkdir /var/www/ubuntu-13.04
  
* Ubah ijin agar file mirrorbuild.sh dapat di jalankan
+
# mount --bind /var/data/repository/repo-9.10 /var/www/ubuntu-9.10
 +
# mount --bind /var/data/repository/repo-10.04 /var/www/ubuntu-10.04
 +
# mount --bind /var/data/repository/repo-10.10 /var/www/ubuntu-10.10
 +
# mount --bind /var/data/repository/repo-11.04 /var/www/ubuntu-11.04
 +
# mount --bind /var/data/repository/repo-11.10 /var/www/ubuntu-11.10
 +
# mount --bind /var/data/repository/repo-12.04 /var/www/ubuntu-12.04
 +
# mount --bind /var/data/repository/repo-12.10 /var/www/ubuntu-12.10
 +
# mount --bind /var/data/repository/repo-13.04 /var/www/ubuntu-13.04
  
# chmod -Rf 777 /usr/local/bin/mirrorbuild.sh
+
Konfigurasi / isi file /etc/sources.list harus di ubah jika hal di atas di lakukan.
  
 +
==Cron supaya secara periodik di update==
  
  
* Ubah ijin dari folder mirror
+
* Edit Tabel cron
  
  # chown -Rf root.root /home/media/repo-9.10
+
  # crontab -e
# chmod -Rf 571 /home/media/repo-9.10
 
  
 +
* Agar setiap jam 10 malam di update. Isi dengan kata-kata
  
* Buat folder untuk mirror keyring
+
0 22 * * * /usr/local/bin/mirrorbuild.sh
  
# mkdir /home/media/mirrorkeyring
 
# gpg --no-default-keyring --keyring /home/media/mirrorkeyring/trustedkeys.gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg
 
  
 +
* Aktifkan cron
  
* Jalankan mirrorbuild.sh
+
# /etc/init.d/cron restart
  
# mirrorbuild.sh
+
==Setup di Sisi Client untuk Lokal Folder==
  
* Sebelum bisa digunakan dengan baik, kadang kala kita perlu beberapa kali menjalankan perintah
+
Edit
  
  # gpg --no-default-keyring --keyring /home/media/mirrorkeyring/trustedkeys.gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg
+
  vi /etc/apt/sources.list.untuk-var-data-repo
# mirrorbuild.sh
 
  
 +
===Ubuntu 9.10===
  
 +
deb file:///var/data/repository/repo-9.10/ karmic main multiverse restricted universe
 +
deb file:///var/data/repository/repo-9.10/ karmic-updates main multiverse restricted universe
 +
deb file:///var/data/repository/repo-9.10/ karmic-security main multiverse restricted universe
 +
deb file:///var/data/repository/repo-9.10/ karmic-backports main multiverse restricted universe
 +
deb file:///var/data/repository/repo-9.10/ karmic-proposed main multiverse restricted universe
 +
  
==Membuat Repository di Web==
+
===Ubuntu 10.4===
  
* Pertama-tama [[Instalasi Apache]]
+
deb file:///var/data/repository/repo-10.4/ lucid main multiverse restricted universe
 +
deb file:///var/data/repository/repo-10.4/ lucid-updates main multiverse restricted universe
 +
deb file:///var/data/repository/repo-10.4/ lucid-security main multiverse restricted universe
 +
deb file:///var/data/repository/repo-10.4/ lucid-backports main multiverse restricted universe
 +
deb file:///var/data/repository/repo-10.4/ lucid-proposed main multiverse restricted universe
  
* Buat link statik antara download repository ke Web
+
===Ubuntu 10.10===
  
  # mkdir /var/www/ubuntu
+
  deb file:///var/data/repository/repo-10.10/ maverick main multiverse restricted universe
  # mount --bind /home/media/repo-9.10 /var/www/ubuntu
+
  deb file:///var/data/repository/repo-10.10/ maverick-updates main multiverse restricted universe
 +
deb file:///var/data/repository/repo-10.10/ maverick-security main multiverse restricted universe
 +
deb file:///var/data/repository/repo-10.10/ maverick-backports main multiverse restricted universe
 +
deb file:///var/data/repository/repo-10.10/ maverick-proposed main multiverse restricted universe
 +
 +
===Ubuntu 11.04===
  
==Cron supaya secara periodik di update==
+
deb file:///var/data/repository/repo-11.04/ natty main multiverse restricted universe
 +
deb file:///var/data/repository/repo-11.04/ natty-backports main multiverse restricted universe
 +
deb file:///var/data/repository/repo-11.04/ natty-proposed main multiverse restricted universe
 +
deb file:///var/data/repository/repo-11.04/ natty-security main multiverse restricted universe
 +
deb file:///var/data/repository/repo-11.04/ natty-updates main multiverse restricted universe
 +
 +
===Ubuntu 11.10===
  
 +
deb file:///var/data/repository/repo-11.10/ oneiric main multiverse restricted universe
 +
deb file:///var/data/repository/repo-11.10/ oneiric-backports main multiverse restricted universe
 +
deb file:///var/data/repository/repo-11.10/ oneiric-proposed main multiverse restricted universe
 +
deb file:///var/data/repository/repo-11.10/ oneiric-security main multiverse restricted universe
 +
deb file:///var/data/repository/repo-11.10/ oneiric-updates main multiverse restricted universe
 +
 +
===Ubuntu 12.04===
  
* Edit Tabel cron
+
deb file:///var/data/repository/repo-12.04/ precise main multiverse restricted universe
 +
deb file:///var/data/repository/repo-12.04/ precise-backports main multiverse restricted universe
 +
deb file:///var/data/repository/repo-12.04/ precise-proposed main multiverse restricted universe
 +
deb file:///var/data/repository/repo-12.04/ precise-security main multiverse restricted universe
 +
deb file:///var/data/repository/repo-12.04/ precise-updates main multiverse restricted universe
  
# crontab -e
+
===Ubuntu 12.10===
  
* Agar setiap jam 10 malam di update. Isi dengan kata-kata
+
deb file:///var/data/repository/repo-12.10/ quantal main multiverse restricted universe
 +
deb file:///var/data/repository/repo-12.10/ quantal-backports main multiverse restricted universe
 +
deb file:///var/data/repository/repo-12.10/ quantal-proposed main multiverse restricted universe
 +
deb file:///var/data/repository/repo-12.10/ quantal-security main multiverse restricted universe
 +
deb file:///var/data/repository/repo-12.10/ quantal-updates main multiverse restricted universe
 +
 +
===Ubuntu 13.04===
  
  0 * * * * /usr/local/bin/mirrorbuild.sh
+
  deb file:///var/data/repository/repo-13.04/ raring main restricted universe multiverse
 +
deb file:///var/data/repository/repo-13.04/ raring-backports main multiverse restricted universe
 +
deb file:///var/data/repository/repo-13.04/ raring-proposed main multiverse restricted universe
 +
deb file:///var/data/repository/repo-13.04/ raring-security main multiverse restricted universe
 +
deb file:///var/data/repository/repo-13.04/ raring-updates main multiverse restricted universe
  
 
+
==Setup di sisi Client di Jaringan==
* Aktifkan cron
 
 
 
# /etc/init.d/cron restart
 
 
 
==Setup di sisi Client==
 
  
 
* Edit /etc/apt/sources.list dan isi sebagai berikut
 
* Edit /etc/apt/sources.list dan isi sebagai berikut
  
Untuk 9.04
+
===Ubuntu 9.04===
  
 
  deb http://mirrorbox/ubuntu jaunty main restricted universe multiverse
 
  deb http://mirrorbox/ubuntu jaunty main restricted universe multiverse
Line 165: Line 168:
 
  deb http://mirrorbox/ubuntu jaunty-security main restricted universe multiverse
 
  deb http://mirrorbox/ubuntu jaunty-security main restricted universe multiverse
  
Ubuntu 9.10
+
===Ubuntu 9.10===
  
 
  deb http://mirrorbox/ubuntu/ karmic main restricted universe multiverse
 
  deb http://mirrorbox/ubuntu/ karmic main restricted universe multiverse
Line 172: Line 175:
 
  deb http://mirrorbox/ubuntu/ karmic-backports main restricted universe multiverse
 
  deb http://mirrorbox/ubuntu/ karmic-backports main restricted universe multiverse
 
  deb http://mirrorbox/ubuntu/ karmic-proposed main restricted universe multiverse
 
  deb http://mirrorbox/ubuntu/ karmic-proposed main restricted universe multiverse
 +
 +
===ubuntu 10.04===
 +
 +
deb http://mirrorbox/ubuntu/ lucid main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ lucid-updates main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ lucid-security main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ lucid-backports main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ lucid-proposed main restricted universe multiverse
 +
 +
===Ubuntu 10.10===
 +
 +
deb http://mirrorbox/ubuntu/ maverick main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ maverick-updates main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ maverick-security main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ maverick-backports main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ maverick-proposed main restricted universe multiverse
 +
 +
===Ubuntu 11.04===
 +
 +
deb http://mirrorbox/ubuntu/ natty main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ natty-updates main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ natty-security main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ natty-backports main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ natty-proposed main restricted universe multiverse
 +
 +
===Ubuntu 11.10===
 +
 +
deb http://mirrorbox/ubuntu/ oneiric main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ oneiric-updates main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ oneiric-security main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ oneiric-backports main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ oneiric-proposed main restricted universe multiverse
 +
 +
===Ubuntu 12.04===
 +
 +
deb http://mirrorbox/ubuntu/ precise main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ precise-updates main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ precise-security main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ precise-backports main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ precise-proposed main restricted universe multiverse
 +
 +
===Ubuntu 12.10===
 +
 +
deb http://mirrorbox/ubuntu/ quantal main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ quantal-updates main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ quantal-security main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ quantal-backports main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ quantal-proposed main restricted universe multiverse
 +
 +
===Ubuntu 13.04===
 +
 +
deb http://mirrorbox/ubuntu/ raring main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ raring-updates main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ raring-security main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ raring-backports main restricted universe multiverse
 +
deb http://mirrorbox/ubuntu/ raring-proposed main restricted universe multiverse
 +
 +
==Referensi==
 +
 +
* https://help.ubuntu.com/community/Repositories/CommandLine
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[Linux Howto]]
 
* [[Linux Howto]]
 +
* [[Mirror Repository Ubuntu 9.10]]
 +
* [[Mirror Repository Ubuntu 10.04]]
 +
* [[Mirror Repository Ubuntu 10.10]]
 +
* [[Mirror Repository Ubuntu 11.04]]
 +
* [[Mirror Repository Ubuntu 11.10]]
 +
* [[Mirror Repository Ubuntu 12.04]]
 +
* [[Mirror Repository Ubuntu 12.10]]
 +
* [[Mirror Repository Ubuntu 13.04]]
 +
* [[Mirror Repository Ubuntu 14.04]]
 +
 +
[[Category: Linux]]
 +
[[Category: Repository]]

Latest revision as of 16:22, 1 April 2016

Repository adalah istilah dalam Linux yang kira-kira berarti tempat penyimpanan aplikasi Linux. Berbeda dengan Windows atau sistem operasi pada umumnya, di Linux sebagian besar aplikasi telah tertata rapih di repository dan kita dapat dengan mudah menggunakannya jika kita dapat mengakses repository tersebut.

Masalahnya, sebagian besar repository berada di Internet. Jika kita tidak mempunyai bandwidth yang cukup besar maka akan susah bagi kita untuk mengkutak katik Linux tersebut.

Pada kesempatan ini, akan di jelaskan cara untuk membuat repository agar berada di harddisk laptop kita. Dengan cara ini, maka bagi mereka yang tidak mempunyai akses ke Internet dapat tetap mengeksplorasi dengan menggunakan repository yang ada di harddisk.

Berikut adalah langkah membuat repository Ubuntu dari server,

  • id.archive.ubuntu.com
  • dl2.foss-id.web.id atau 125.160.17.22
  • kambing.ui.ac.id atau 152.118.24.30

ke Server lokal di LAN

Langkah Mendownload Repostory Menggunakan debmirror

Mendownload repository dapat dilakukan menggunakan debmirror. Aplkasi debmirror dapat di instalasi menggunakan perintah

apt-get install debmirror

Contoh di bawah adalah untuk repository Ubuntu 32 bit. Bagi anda yang ingin mendownload repository 64 bit, yang perlu di ubah hanya paramter

arch=i386

menjadi arsitektur 64 bit, yaitu:

arch=amd64

Membuat Repository di Web

  • Buat link statik antara download repository ke Web. Misalkan untuk repo-13.04
# mkdir /var/www/ubuntu
# mount --bind /var/data/repository/repo-13.04 /var/www/ubuntu
  • Jika kita mempunyai banyak repository, kita dapat membuat sebagai berikut:
# mkdir /var/www/ubuntu-9.10
# mkdir /var/www/ubuntu-10.04
# mkdir /var/www/ubuntu-10.10
# mkdir /var/www/ubuntu-11.04
# mkdir /var/www/ubuntu-11.10
# mkdir /var/www/ubuntu-12.04
# mkdir /var/www/ubuntu-12.10
# mkdir /var/www/ubuntu-13.04
# mount --bind /var/data/repository/repo-9.10 /var/www/ubuntu-9.10
# mount --bind /var/data/repository/repo-10.04 /var/www/ubuntu-10.04
# mount --bind /var/data/repository/repo-10.10 /var/www/ubuntu-10.10
# mount --bind /var/data/repository/repo-11.04 /var/www/ubuntu-11.04
# mount --bind /var/data/repository/repo-11.10 /var/www/ubuntu-11.10
# mount --bind /var/data/repository/repo-12.04 /var/www/ubuntu-12.04
# mount --bind /var/data/repository/repo-12.10 /var/www/ubuntu-12.10
# mount --bind /var/data/repository/repo-13.04 /var/www/ubuntu-13.04

Konfigurasi / isi file /etc/sources.list harus di ubah jika hal di atas di lakukan.

Cron supaya secara periodik di update

  • Edit Tabel cron
# crontab -e
  • Agar setiap jam 10 malam di update. Isi dengan kata-kata
0 22 * * * /usr/local/bin/mirrorbuild.sh


  • Aktifkan cron
# /etc/init.d/cron restart

Setup di Sisi Client untuk Lokal Folder

Edit

vi /etc/apt/sources.list.untuk-var-data-repo

Ubuntu 9.10

deb file:///var/data/repository/repo-9.10/ karmic main multiverse restricted universe
deb file:///var/data/repository/repo-9.10/ karmic-updates main multiverse restricted universe
deb file:///var/data/repository/repo-9.10/ karmic-security main multiverse restricted universe
deb file:///var/data/repository/repo-9.10/ karmic-backports main multiverse restricted universe
deb file:///var/data/repository/repo-9.10/ karmic-proposed main multiverse restricted universe

Ubuntu 10.4

deb file:///var/data/repository/repo-10.4/ lucid main multiverse restricted universe
deb file:///var/data/repository/repo-10.4/ lucid-updates main multiverse restricted universe
deb file:///var/data/repository/repo-10.4/ lucid-security main multiverse restricted universe
deb file:///var/data/repository/repo-10.4/ lucid-backports main multiverse restricted universe
deb file:///var/data/repository/repo-10.4/ lucid-proposed main multiverse restricted universe

Ubuntu 10.10

deb file:///var/data/repository/repo-10.10/ maverick main multiverse restricted universe
deb file:///var/data/repository/repo-10.10/ maverick-updates main multiverse restricted universe
deb file:///var/data/repository/repo-10.10/ maverick-security main multiverse restricted universe
deb file:///var/data/repository/repo-10.10/ maverick-backports main multiverse restricted universe
deb file:///var/data/repository/repo-10.10/ maverick-proposed main multiverse restricted universe

Ubuntu 11.04

deb file:///var/data/repository/repo-11.04/ natty main multiverse restricted universe
deb file:///var/data/repository/repo-11.04/ natty-backports main multiverse restricted universe
deb file:///var/data/repository/repo-11.04/ natty-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-11.04/ natty-security main multiverse restricted universe
deb file:///var/data/repository/repo-11.04/ natty-updates main multiverse restricted universe

Ubuntu 11.10

deb file:///var/data/repository/repo-11.10/ oneiric main multiverse restricted universe
deb file:///var/data/repository/repo-11.10/ oneiric-backports main multiverse restricted universe
deb file:///var/data/repository/repo-11.10/ oneiric-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-11.10/ oneiric-security main multiverse restricted universe
deb file:///var/data/repository/repo-11.10/ oneiric-updates main multiverse restricted universe

Ubuntu 12.04

deb file:///var/data/repository/repo-12.04/ precise main multiverse restricted universe
deb file:///var/data/repository/repo-12.04/ precise-backports main multiverse restricted universe
deb file:///var/data/repository/repo-12.04/ precise-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-12.04/ precise-security main multiverse restricted universe
deb file:///var/data/repository/repo-12.04/ precise-updates main multiverse restricted universe

Ubuntu 12.10

deb file:///var/data/repository/repo-12.10/ quantal main multiverse restricted universe
deb file:///var/data/repository/repo-12.10/ quantal-backports main multiverse restricted universe
deb file:///var/data/repository/repo-12.10/ quantal-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-12.10/ quantal-security main multiverse restricted universe
deb file:///var/data/repository/repo-12.10/ quantal-updates main multiverse restricted universe

Ubuntu 13.04

deb file:///var/data/repository/repo-13.04/ raring main restricted universe multiverse 
deb file:///var/data/repository/repo-13.04/ raring-backports main multiverse restricted universe
deb file:///var/data/repository/repo-13.04/ raring-proposed main multiverse restricted universe
deb file:///var/data/repository/repo-13.04/ raring-security main multiverse restricted universe
deb file:///var/data/repository/repo-13.04/ raring-updates main multiverse restricted universe

Setup di sisi Client di Jaringan

  • Edit /etc/apt/sources.list dan isi sebagai berikut

Ubuntu 9.04

deb http://mirrorbox/ubuntu jaunty main restricted universe multiverse
deb http://mirrorbox/ubuntu jaunty-updates main restricted universe multiverse
deb http://mirrorbox/ubuntu jaunty-security main restricted universe multiverse

Ubuntu 9.10

deb http://mirrorbox/ubuntu/ karmic main restricted universe multiverse
deb http://mirrorbox/ubuntu/ karmic-updates main restricted universe multiverse
deb http://mirrorbox/ubuntu/ karmic-security main restricted universe multiverse
deb http://mirrorbox/ubuntu/ karmic-backports main restricted universe multiverse
deb http://mirrorbox/ubuntu/ karmic-proposed main restricted universe multiverse

ubuntu 10.04

deb http://mirrorbox/ubuntu/ lucid main restricted universe multiverse
deb http://mirrorbox/ubuntu/ lucid-updates main restricted universe multiverse
deb http://mirrorbox/ubuntu/ lucid-security main restricted universe multiverse
deb http://mirrorbox/ubuntu/ lucid-backports main restricted universe multiverse
deb http://mirrorbox/ubuntu/ lucid-proposed main restricted universe multiverse

Ubuntu 10.10

deb http://mirrorbox/ubuntu/ maverick main restricted universe multiverse
deb http://mirrorbox/ubuntu/ maverick-updates main restricted universe multiverse
deb http://mirrorbox/ubuntu/ maverick-security main restricted universe multiverse
deb http://mirrorbox/ubuntu/ maverick-backports main restricted universe multiverse
deb http://mirrorbox/ubuntu/ maverick-proposed main restricted universe multiverse

Ubuntu 11.04

deb http://mirrorbox/ubuntu/ natty main restricted universe multiverse
deb http://mirrorbox/ubuntu/ natty-updates main restricted universe multiverse
deb http://mirrorbox/ubuntu/ natty-security main restricted universe multiverse
deb http://mirrorbox/ubuntu/ natty-backports main restricted universe multiverse
deb http://mirrorbox/ubuntu/ natty-proposed main restricted universe multiverse

Ubuntu 11.10

deb http://mirrorbox/ubuntu/ oneiric main restricted universe multiverse
deb http://mirrorbox/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://mirrorbox/ubuntu/ oneiric-security main restricted universe multiverse
deb http://mirrorbox/ubuntu/ oneiric-backports main restricted universe multiverse
deb http://mirrorbox/ubuntu/ oneiric-proposed main restricted universe multiverse

Ubuntu 12.04

deb http://mirrorbox/ubuntu/ precise main restricted universe multiverse
deb http://mirrorbox/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrorbox/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrorbox/ubuntu/ precise-backports main restricted universe multiverse
deb http://mirrorbox/ubuntu/ precise-proposed main restricted universe multiverse

Ubuntu 12.10

deb http://mirrorbox/ubuntu/ quantal main restricted universe multiverse
deb http://mirrorbox/ubuntu/ quantal-updates main restricted universe multiverse
deb http://mirrorbox/ubuntu/ quantal-security main restricted universe multiverse
deb http://mirrorbox/ubuntu/ quantal-backports main restricted universe multiverse
deb http://mirrorbox/ubuntu/ quantal-proposed main restricted universe multiverse

Ubuntu 13.04

deb http://mirrorbox/ubuntu/ raring main restricted universe multiverse
deb http://mirrorbox/ubuntu/ raring-updates main restricted universe multiverse
deb http://mirrorbox/ubuntu/ raring-security main restricted universe multiverse
deb http://mirrorbox/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirrorbox/ubuntu/ raring-proposed main restricted universe multiverse

Referensi

Pranala Menarik