Langkah Membuat Repository di Ubuntu

1. Copy semua cd atau dvd anda ke hardisk
2. setelah anda copy semua filenya seharusnya susunan direktorinya sbb :
Direktori letak anda mencopy
—pool
——-main
——— file2 installer
——-multiverse
——— file2 installer
——-restricted
——— file2 installer
——-universe
——— file2 installer
—dist
——-feisty
———–main
—————-binary-i386
——————–Packages.gz
———–multiverse
—————-binary-i386
——————–Packages.gz
———–restricted
—————-binary-i386
——————–Packages.gz
———–universe
—————-binary-i386
——————–Packages.gz
dst….
3. lakukan perintah scanpackage
root@lion:/home/ubrep/feisty# dpkg-scanpackages pool/main /dev/null | gzip -9c > dists/feisty/main/binary-i386/Packages.gz
root@lion:/home/ubrep/feisty# dpkg-scanpackages pool/multiverse /dev/null | gzip -9c > dists/feisty/multiverse/binary-i386/Packages.gz
root@lion:/home/ubrep/feisty# dpkg-scanpackages pool/restricted/ /dev/null | gzip -9c > dists/feisty/restricted/binary-i386/Packages.gz
root@lion:/home/ubrep/feisty# dpkg-scanpackages pool/universe/ /dev/null | gzip -9c > dists/feisty/universe/binary-i386/Packages.gz
4. update source list dengan menambahkan baris berikut (letak file : /etc/apt/source.list)
deb file:///home/ubrep/feisty feisty main
deb file:///home/ubrep/feisty feisty multiverse
deb file:///home/ubrep/feisty feisty restricted
deb file:///home/ubrep/feisty feisty universe
itu kalo anda mau make untuk localhost aja, kalo mau agar dapat diakses jaringan bisa anda ganti file dengan http atau ftp sesuai keinginan anda๐Ÿ˜€
5. yang terakhir update dr source list yg baru
root@lion:/home/ubrep/feisty# apt-get update
6. udah selesai

3 thoughts on “Langkah Membuat Repository di Ubuntu

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s