Rabu, 24 November 2010

Repositori Ubuntu Lokal

sssst...
udah deh, daripada nantinya di bilang copas
mending ane jelasin dari sekarang. tulisan tulisan di blog ini semata mata hanya sebagai dokumentasi pribadi dari experiment, pengalaman, dan catatan saya.
jadi kalau pertanyaannya "buat apa sih, posting repo. kan di internet dah banyak tutorialnya?"
jawabannya sudah pasti, ini hanya sebagai catatan saya. jadi harap maklum ye kalo gak penting :D


oke, jadi ceritanya kita baru install ubuntu nih.
mau install software via apt-get tapi...
tapi repositori nya masih ke server official ubuntu.
nah, rugi kan kalo kita gunain repo luar sedangkan di dalam negri aja udah banyak mirrornya?
nah, begini caranya

step :

pertama tama, ubah nama file konfigurasi repo-nya
dari pada capek pencet backspace mending pake MV aja :D


mv /etc/apt/sources.list /etc/apt/sources.list.bekap


trus kita bikin file konfigurasi yang baru

nano /etc/apt/sources.list


lalu di isi salah satu dari grup baris ini


###mirror.its.ac.id (ITS, INHERENT)
deb http://mirror.its.ac.id/ubuntu maverick main multiverse restricted universe
deb http://mirror.its.ac.id/ubuntu maverick-security main multiverse restricted universe
deb http://mirror.its.ac.id/ubuntu maverick-backports main multiverse restricted universe
deb http://mirror.its.ac.id/ubuntu maverick-updates main multiverse restricted universe
deb http://mirror.its.ac.id/ubuntu maverick-proposed main multiverse restricted universe

###kambing.ui.edu (UI, Telkom, Indosat, OpenIXP, INHERENT)
deb http://kambing.ui.edu/ubuntu maverick main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu maverick-updates main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu maverick-security main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu maverick-backports main restricted universe multiverse
deb http://kambing.ui.edu/ubuntu maverick-proposed main restricted universe multiverse

###mirror.cbn.net.id (OpenIXP)
deb http://ubuntu.cbn.net.id/Ubuntu maverick main restricted universe multiverse
deb http://ubuntu.cbn.net.id/Ubuntu maverick-updates main restricted universe multiverse
deb http://ubuntu.cbn.net.id/Ubuntu maverick-security main restricted universe multiverse
deb http://ubuntu.cbn.net.id/Ubuntu maverick-backports main restricted universe multiverse
deb http://ubuntu.cbn.net.id/Ubuntu maverick-proposed main restricted universe multiverse

###komo.vlsm.org
deb http://komo.vlsm.org/ubuntu maverick main restricted universe multiverse
deb http://komo.vlsm.org/ubuntu maverick-updates main restricted universe multiverse
deb http://komo.vlsm.org/ubuntu maverick-security main restricted universe multiverse
deb http://komo.vlsm.org/ubuntu maverick-backports main restricted universe multiverse
deb http://komo.vlsm.org/ubuntu maverick-proposed main restricted universe multiverse

###indika.net.id (OpenIXP)
deb http://ubuntu.indika.net.id/ maverick main restricted universe multiverse
deb http://ubuntu.indika.net.id/ maverick-updates main restricted universe multiverse
deb http://ubuntu.indika.net.id/ maverick-security main restricted universe multiverse
deb http://ubuntu.indika.net.id/ maverick-backports main restricted universe multiverse
deb http://ubuntu.indika.net.id/ maverick-proposed main restricted universe multiverse

###ftp.itb.ac.id (ITB, INHERENT)
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick-updates main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick-security main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick-backports main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick-proposed main restricted universe multiverse

###www.foss-id.web.id (Telkom)
deb http://dl2.foss-id.web.id/ubuntu maverick main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu maverick-updates main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu maverick-security main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu maverick-backports main restricted universe multiverse
deb http://dl2.foss-id.web.id/ubuntu maverick-proposed main restricted universe multiverse


maksudnya, kalau mau pake di kambing ya copy-nya kambing aja
kalo mau pake foss foss aja.

PERHATIAN
jangan menggabung beberapa repositori yang berbeda server.
misalnya repo dari official server ubuntu dan repo dari itb.
karena ntar waktu mau install, banyak masalah << sudah pernah saya alami sendiri

oke lanjut, sebagai contoh kita pake repo dari itb nih

jadi isi file "/etc/apt/sources.list"-nya gini nih kira kira

###ftp.itb.ac.id (ITB, INHERENT)
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick-updates main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick-security main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick-backports main restricted universe multiverse
deb ftp://ftp.itb.ac.id/pub/ubuntu maverick-proposed main restricted universe multiverse


simpan dengan pencet tombol "ctrl + x", lalu "Enter"
abis itu tinggal di update deh.

apt-get update


loh, kok cuman ubuntu maverick?
gw masih pake lucid, jadi gimana dong?
gampaaang. tinggal ganti tulisan maverick jadi lucid atau apapun versi yang dipakai

dah dulu ya.. bye...

0 komentar:

Posting Komentar