Difference between revisions of "Membuat Repository Ubuntu Lokal tanpa SERVER"

From OnnoWiki
Jump to navigation Jump to search
Line 14: Line 14:
 
==Versi "lengkap" 10.04==
 
==Versi "lengkap" 10.04==
 
Misalnya repo di simpan di /var/www/ubuntu
 
Misalnya repo di simpan di /var/www/ubuntu
 +
edit file /etc/apt/sources.list isinya jadi
  
 
  deb /var/www/ubuntu lucid main multiverse restricted universe
 
  deb /var/www/ubuntu lucid main multiverse restricted universe

Revision as of 05:58, 21 June 2010

Bagi anda yang ingin membuat repository Ubuntu lokal di harddisk tanpa server sama sekali dapat melakukan

  • copy isi repository ke sebuah folder misalnya
mkdir /var/data
mkdir /var/data/repo
cp -Rf repository/* /var/data/repo

  • arahkan isi file /etc/apt/sources.list ke file repository
deb file:///var/data/repo karmic main restricted multiverse universe
deb file:///var/data/repo lucid main restricted multiverse universe

Versi "lengkap" 10.04

Misalnya repo di simpan di /var/www/ubuntu edit file /etc/apt/sources.list isinya jadi

deb /var/www/ubuntu lucid main multiverse restricted universe
deb /var/www/ubuntu lucid-updates main multiverse restricted universe
deb /var/www/ubuntu lucid-security main multiverse restricted universe
deb /var/www/ubuntu lucid-backports main multiverse restricted universe
deb /var/www/ubuntu lucid-proposed main multiverse restricted universe

Pranala Menarik