Difference between revisions of "Membuat Repository Ubuntu Lokal tanpa SERVER"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Bagi anda yang ingin membuat repository Ubuntu lokal di [[harddisk]] tanpa [[server]] sama sekali dapat melakukan | Bagi anda yang ingin membuat repository Ubuntu lokal di [[harddisk]] tanpa [[server]] sama sekali dapat melakukan | ||
+ | |||
+ | * Pastikan harddisk anda punya sisa sekitar 40Gbyte-an sebaiknya lebih. | ||
* copy isi repository ke sebuah folder misalnya | * copy isi repository ke sebuah folder misalnya | ||
Line 6: | Line 8: | ||
mkdir /var/data/repo | mkdir /var/data/repo | ||
cp -Rf repository/* /var/data/repo | cp -Rf repository/* /var/data/repo | ||
− | + | chown -Rf nobody.nogroup /var/data/repo | |
− | * | + | chmod -Rf 777 /var/data/repo |
+ | |||
+ | * Kalau mau di siapkan supaya bisa nantinya di akses melalui [[Web]] oleh semua [[komputer]] di jaringan lakukan | ||
+ | |||
+ | mkdir /var/www | ||
+ | mkdir /var/www/ubuntu | ||
+ | cp -Rf repository/* /var/www/ubuntu | ||
+ | chown -Rf nobody.nogroup /var/www/ubuntu | ||
+ | chmod -Rf 777 /var/www/ubuntu | ||
+ | |||
− | deb file:///var/ | + | * arahkan isi file /etc/apt/sources.list ke file repository, misalnya, |
− | deb file:///var/ | + | |
+ | deb file:///var/www/ubuntu karmic main restricted multiverse universe | ||
+ | |||
+ | deb file:///var/www/ubuntu lucid main restricted multiverse universe | ||
==Versi "lengkap" 10.04== | ==Versi "lengkap" 10.04== | ||
− | Misalnya | + | Misalnya repository Ubuntu 10.04 yang lengkap di simpan di /var/www/ubuntu |
− | edit file /etc/apt/sources.list isinya jadi | + | |
+ | Maka 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 | ||
Line 21: | Line 36: | ||
deb /var/www/ubuntu lucid-backports main multiverse restricted universe | deb /var/www/ubuntu lucid-backports main multiverse restricted universe | ||
deb /var/www/ubuntu lucid-proposed main multiverse restricted universe | deb /var/www/ubuntu lucid-proposed main multiverse restricted universe | ||
+ | |||
+ | ==Update Repo== | ||
+ | |||
+ | Jangan lupa ketik | ||
+ | |||
+ | apt-get update | ||
+ | |||
+ | sesudah edit /etc/apt/sources.list | ||
==Pranala Menarik== | ==Pranala Menarik== |
Latest revision as of 21:11, 24 June 2010
Bagi anda yang ingin membuat repository Ubuntu lokal di harddisk tanpa server sama sekali dapat melakukan
- Pastikan harddisk anda punya sisa sekitar 40Gbyte-an sebaiknya lebih.
- copy isi repository ke sebuah folder misalnya
mkdir /var/data mkdir /var/data/repo cp -Rf repository/* /var/data/repo chown -Rf nobody.nogroup /var/data/repo chmod -Rf 777 /var/data/repo
- Kalau mau di siapkan supaya bisa nantinya di akses melalui Web oleh semua komputer di jaringan lakukan
mkdir /var/www mkdir /var/www/ubuntu cp -Rf repository/* /var/www/ubuntu chown -Rf nobody.nogroup /var/www/ubuntu chmod -Rf 777 /var/www/ubuntu
- arahkan isi file /etc/apt/sources.list ke file repository, misalnya,
deb file:///var/www/ubuntu karmic main restricted multiverse universe
deb file:///var/www/ubuntu lucid main restricted multiverse universe
Versi "lengkap" 10.04
Misalnya repository Ubuntu 10.04 yang lengkap di simpan di /var/www/ubuntu
Maka 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
Update Repo
Jangan lupa ketik
apt-get update
sesudah edit /etc/apt/sources.list