Mengubah Repository Debian 7 (Wheezy) menjadi Local indonesia


Repository merupakan tempat penyimpanan ratusan aplikasi atau program yang telah diatur sedemikian rupa dan tersedia untuk dapat diakses melalui aplikasi tertentu misal Synaptic.

kali ini saya akan berbagi cara mengubah Repository Debian 7 (Wheezy) menjadi Local Indonesia, pada kesempatan ini saya menggunakan server indonesia ( kambing.ui.ac.id ). 

  • Buka terminal Crtl+Alt+T, lalu ketikan 

root@eri:~# nano /etc/apt/sources.list
  • Beri semua tanda pagar “#” di depan kata “deb”

# deb cdrom:[Debian GNU/Linux 7.4.0 _Wheezy_ - Official i386 DVD Binary-1 20140$

#deb cdrom:[Debian GNU/Linux 7.4.0 _Wheezy_ - Official i386 DVD Binary-1 201402$

#deb http://security.debian.org/ wheezy/updates main contrib
#deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ wheezy-updates main contrib
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

  • Isikan dibaris paling bawah
deb http://kambing.ui.ac.id/debian/ wheezy main non-free contrib
deb-src http://kambing.ui.ac.id/debian/ wheezy main non-free contrib
  • Setelah selesai tekan Ctrl+X lalu Y lalu enter.
  • Update Repository
root@eri:~# apt-get update
  • Jika update tidak error maka hasilnya akan seperti ini:
root@eri:~# apt-get update
Hit http://kambing.ui.ac.id wheezy Release.gpg
Hit http://kambing.ui.ac.id wheezy Release
Hit http://kambing.ui.ac.id wheezy/main Sources
Hit http://kambing.ui.ac.id wheezy/non-free Sources
Hit http://kambing.ui.ac.id wheezy/contrib Sources
Hit http://kambing.ui.ac.id wheezy/main i386 Packages
Hit http://kambing.ui.ac.id wheezy/non-free i386 Packages
Hit http://kambing.ui.ac.id wheezy/contrib i386 Packages
Hit http://kambing.ui.ac.id wheezy/contrib Translation-en
Hit http://kambing.ui.ac.id wheezy/main Translation-en
Hit http://kambing.ui.ac.id wheezy/non-free Translation-en
Reading package lists... Done
root@eri:~#
Note :
  • Apabila menggunakan repository versi unstable / testing agar berhati – hati karena dapat menimbulkan konflik sistem.
  • Repository diatas merupakan repository versi “stable” sehingga conflict dependensi dapat diminimalkan.
Post a Comment (0)
Previous Post Next Post