Langkah-langkah membuat repositori pada hardisk lokal (mounting repo pada hardisk lokal) adalah sebagai berikut :
1. Buka Terminal : Aplikasi – Aksesori – Terminal
Lalu akan muncul jendela terminal seperti berikut :
Perhatikan jendela terminal di bawah ini :
Perintah-perintah pada jendela terminal di atas adalah perintah pada langkah nomor 2 – 6.
2. Ketik perintah : $ sudo su (lalu tekan enter) dan masukkan password (dan enter).
3. Ketik perintah : # cd /mnt (enter) untuk pindah ke direktori /mnt.
4. Ketik perintah : # mkdir /reposaya (enter) untuk membuat direktori /reposaya di dalam direktori /mnt.
5. Ketik perintah : # cd reposaya/ (enter) untuk pindah ke direktori /reposaya.
6. Ketik perintah : # mkdir repo1 repo2 repo3 repo4 repo5 repo6 repo6 repo7 (enter) untuk membuat direktori /repo1 s/d /repo7 di dalam direktori /mnt.
7. Copy (Salin) baris perintah di bawah ini :
3. Ketik perintah : # cd /mnt (enter) untuk pindah ke direktori /mnt.
4. Ketik perintah : # mkdir /reposaya (enter) untuk membuat direktori /reposaya di dalam direktori /mnt.
5. Ketik perintah : # cd reposaya/ (enter) untuk pindah ke direktori /reposaya.
6. Ketik perintah : # mkdir repo1 repo2 repo3 repo4 repo5 repo6 repo6 repo7 (enter) untuk membuat direktori /repo1 s/d /repo7 di dalam direktori /mnt.
7. Copy (Salin) baris perintah di bawah ini :
- mount -t iso9660 /media/DATAGAMES/Ubuntu\ 910/ubuntu-9.10-repository-i386-1_contrib.iso /mnt/reposaya/repo1 -o loop
- mount -t iso9660 /media/DATAGAMES/Ubuntu\ 910/ubuntu-9.10-repository-i386-2_contrib.iso /mnt/reposaya/repo2 -o loop
- mount -t iso9660 /media/DATAGAMES/Ubuntu\ 910/ubuntu-9.10-repository-i386-3_contrib.iso /mnt/reposaya/repo3 -o loop
- mount -t iso9660 /media/DATAGAMES/Ubuntu\ 910/ubuntu-9.10-repository-i386-4_contrib.iso /mnt/reposaya/repo4 -o loop
- mount -t iso9660 /media/DATAGAMES/Ubuntu\ 910/ubuntu-9.10-repository-i386-5_contrib.iso /mnt/reposaya/repo5 -o loop
- mount -t iso9660 /media/DATAGAMES/Ubuntu\ 910/ubuntu-9.10-repository-i386-6_contrib.iso /mnt/reposaya/repo6 -o loop
- mount -t iso9660 /media/DATAGAMES/Ubuntu\ 910/ubuntu-9.10-repository-i386-7_contrib.iso /mnt/reposaya/repo7 -o loop
8. Kemudian Paste (Pasang) ke dalam terminal dengan cara klik kanan pada jendela terminal.
Kemudian akan seperti gambar berikut :
Setelah itu periksa salah satu direktori dalam my computer – system file di : /mnt/reposaya/repo1. Mounting repositori telah berhasil jika tampil seperti gambar :
Tutup jendela tersebut.
9. Ketik perintah : # sudo gedit /etc/apt/sources.list (enter)
Kemudian akan muncul jendela Gedit yang berisi file sources.list atau seperti gambar berikut :
Isi file sources.list adalah sebagai berikut :
#deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://id.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic universe
deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://id.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner
deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://id.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://id.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic universe
deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://id.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner
deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
Tambahkanlah sources berikut dan letakkan di paling bawah pada file sources.list :
deb file:///mnt/reposaya/repo1 karmic main
deb file:///mnt/reposaya/repo2 karmic main multiverse restricted
deb file:///mnt/reposaya/repo3 karmic multiverse universe
deb file:///mnt/reposaya/repo4 karmic universe
deb file:///mnt/reposaya/repo5 karmic universe
deb file:///mnt/reposaya/repo6 karmic universe
deb file:///mnt/reposaya/repo7 karmic universe
deb file:///mnt/reposaya/repo2 karmic main multiverse restricted
deb file:///mnt/reposaya/repo3 karmic multiverse universe
deb file:///mnt/reposaya/repo4 karmic universe
deb file:///mnt/reposaya/repo5 karmic universe
deb file:///mnt/reposaya/repo6 karmic universe
deb file:///mnt/reposaya/repo7 karmic universe
Kemudian rubahlah source tersebut (tambahkan karakter # di depan sources) kecuali pada ke-7 baris sources tambahan sehinggan sources menjadi seperti :
# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic main restricted
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic universe
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic universe
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates universe
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic multiverse
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner
# deb http://security.ubuntu.com/ubuntu karmic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
# deb http://security.ubuntu.com/ubuntu karmic-security universe
# deb-src http://security.ubuntu.com/ubuntu karmic-security universe
# deb http://security.ubuntu.com/ubuntu karmic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
deb file:///mnt/reposaya/repo1 karmic main
deb file:///mnt/reposaya/repo2 karmic main multiverse restricted
deb file:///mnt/reposaya/repo3 karmic multiverse universe
deb file:///mnt/reposaya/repo4 karmic universe
deb file:///mnt/reposaya/repo5 karmic universe
deb file:///mnt/reposaya/repo6 karmic universe
deb file:///mnt/reposaya/repo7 karmic universe
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic main restricted
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic universe
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic universe
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates universe
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic multiverse
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
## Uncomment the following two lines to add software from the ‘backports’
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical’s
## ‘partner’ repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic partner
# deb http://security.ubuntu.com/ubuntu karmic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
# deb http://security.ubuntu.com/ubuntu karmic-security universe
# deb-src http://security.ubuntu.com/ubuntu karmic-security universe
# deb http://security.ubuntu.com/ubuntu karmic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
deb file:///mnt/reposaya/repo1 karmic main
deb file:///mnt/reposaya/repo2 karmic main multiverse restricted
deb file:///mnt/reposaya/repo3 karmic multiverse universe
deb file:///mnt/reposaya/repo4 karmic universe
deb file:///mnt/reposaya/repo5 karmic universe
deb file:///mnt/reposaya/repo6 karmic universe
deb file:///mnt/reposaya/repo7 karmic universe
10. Buka jendela Software Source dengan cara meng-klik Sistem – Administrati – Sumber Perangkat Lunak :
Kemudian akan muncul jendela konfirmasi password :
Isilah password Anda dan klik OK, maka akan muncul gambar :
Pilih Tab “Perangkat Lunak Lainnya”, kemudian akan seperti gambar :
Setelah gambar di komputer Anda sesuai dengan gambar-gambar tersebut, berarti pembuatan repositori berhasil.
11. Kemudian tutup terminal dengan mengetikkan perintah : # exit (enter).
$ exit (enter). Seperti gambar berikut :
$ exit (enter). Seperti gambar berikut :
0 komentar:
Posting Komentar