Difference between revisions of "Membuat Beberapa Repository Lokal di Satu Mesin"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 37: | Line 37: | ||
* [[Linux Howto]] | * [[Linux Howto]] | ||
+ | |||
+ | [[Category: Linux]] | ||
+ | [[Category: Repository]] |
Revision as of 09:54, 11 May 2010
Kadang kala kita ingin membuat beberapa repository lokal di sebuah mesin. Misalnya untuk
- Ubuntu 9.10
- Ubuntu 10.04
Yang perlu dilakukan
- Instalasi Apache
- Mirror Repository misalnya
/var/data/repo-9.10 /var/data/repo-10.04
- Buat statik link, ada baiknya diletakan di /etc/rc.local
ln -s /var/data/repo-9.10 /var/www/ubuntu-9.10 ln -s /var/data/repo-10.04 /var/www/ubuntu-10.04
Entry di /etc/apt/sources.list Client
## untuk ubuntu karmic [9.10 arch 32bit & 64bit] deb http://192.168.0.2/ubuntu-9.10 karmic main restricted universe multiverse deb http://192.168.0.2/ubuntu-9.10 karmic-updates main restricted universe multiverse deb http://192.168.0.2/ubuntu-9.10 karmic-security main restricted universe multiverse deb http://192.168.0.2/ubuntu-9.10 karmic-backports main multiverse restricted universe deb http://192.168.0.2/ubuntu-9.10 karmic-proposed main multiverse restricted universe
## untuk ubuntu lucid [10.04 arch 32bit & 64bit] deb http://192.168.0.2/ubuntu-10.04 lucid main restricted universe multiverse deb http://192.168.0.2/ubuntu-10.04 lucid-updates main restricted universe multiverse deb http://192.168.0.2/ubuntu-10.04 lucid-security main restricted universe multiverse deb http://192.168.0.2/ubuntu-10.04 lucid-backports main multiverse restricted universe deb http://192.168.0.2/ubuntu-10.04 lucid-proposed main multiverse restricted universe