Difference between revisions of "Membuat Beberapa Repository Lokal di Satu Mesin"

From OnnoWiki
Jump to navigation Jump to search
(New page: Kadang kala kita ingin membuat beberapa repository lokal di sebuah mesin. Misalnya untuk * Ubuntu 9.10 * Ubuntu 10.04 Yang perlu dilakukan * Instalasi Apache * [[Membuat Repository ...)
 
Line 19: Line 19:
 
==Entry di /etc/apt/sources.list Client==
 
==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
  
  

Revision as of 13:16, 18 April 2010

Kadang kala kita ingin membuat beberapa repository lokal di sebuah mesin. Misalnya untuk

  • Ubuntu 9.10
  • Ubuntu 10.04

Yang perlu dilakukan

/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


Pranala Menarik