Hay, Sobat Madu
“Repository bagaikan Playstore di Linux”.
Dari situlah kita dapat install packet aplikasi di linux dengan sangat mudah secara online."Mengapa kok diganti ke repository local, min?"
Karena, agar mempercepat download/update repository. dan tentunya mengurangi pemakaian bandwidth pada jaringan internet kita.Langkah mudah mengganti repository di /etc/apt/source.list
Pertama kita login dan masuk ke mode Super User (root) :Ketikkan perintah su pada terminal.
- masukkan password root ****
Buka file source.list
- nano /etc/apt/source.list
[Sebelum diedit]
Pilih repositori dari server lokal (Indonesia)
- deb http://kambing.ui.ac.id/debian/ stretch main contrib non-free
- deb http://kambing.ui.ac.id/debian/ stretch-updates main contrib non-free
- deb http://kambing.ui.ac.id/debian-security/ stretch/updates main contrib non-free
- deb http://kartolo.sby.datautama.net.id/debian/ stretch main contrib non-free
- deb http://kartolo.sby.datautama.net.id/debian/ stretch-updates main contrib non-free
- deb http://kartolo.sby.datautama.net.id/debian-security/ stretch/updates main contrib non-free
Alternatif repo
Kebo VLSM- deb http://kebo.vlsm.org/debian/ stretch main contrib non-free
- deb http://kebo.vlsm.org/debian/ stretch-updates main contrib non-free
- deb http://kebo.vlsm.org/debian-security/ stretch/updates main contrib non-free
- deb http://mirror.unej.ac.id/debian/ stretch main contrib non-free
- deb http://mirror.unej.ac.id/debian/ stretch-updates main contrib non-free
- deb http://mirror.unej.ac.id/debian-security/ stretch/updates main contrib non-free
UGM
- deb http://repo.ugm.ac.id/debian/ stretch main contrib non-free
- deb http://repo.ugm.ac.id/debian/ stretch-updates main contrib non-free
- deb http://repo.ugm.ac.id/debian-security/ stretch/updates main contrib non-free
Pilih dan copykan salah satu daftar miror repository server lokal ke source list.
[Sesudah diedit]
Save dengan kombinasi tombol (ctrl+o), dan keluar dengan kompbinasi tombol (ctrl+x)
Terakhir update repository debian server kita
- apt-get update atau,
- apt update
Ganti Repository Debian 9 (Stretch) ke Mirror Lokal Indonesia
Reviewed by CerdasIN
on
July 25, 2019
Rating:
repository sekolah
ReplyDeletedeb [trusted=yes] http://192.168.3.111/repo stretch main
deb-src [trusted=yes] http://192.168.3.111/repo stretch main