24 Maret, 2009

Repo ubuntu lokal dengan hardisk external

Bismillahhirahmanirohim

Beberapa hari ini saya utak-utek kompi saya untuk membuat repository lokal di hardisk ekternal mengguankan file iso ,, ugh pertama-tama memang bingung juga mau gimana berbekal pertanyaan kepada teman2 pengguna linux yang tergabung dalam KLAS kebetulan saya juga gabuyng dengan mereka tapiu masih awam didunia linux dan dapet file2 dari internet juga

ok kalo gitu dimulai saja
  • masuk sebagai root
SUDO SU
  • Kemudian buatlah direktory ato folder dimana saja yang penting ingat lebih pendek nama folder itu lebih bagus bisa lewat terminal ato lewat GUI
  • #mkdir -p /mnt/repository/dvd1
jadi direktory ini berada di system-mnt-repository/dvd1
buat directory sampai 6 buah dvd1-dvd6
  • Kemudian langkah selanjutnya, masuk ketempat directory file ISO itu berada dan maoun ke tempat folder yang sebelumnya kita buat tadi
mount -o loop -t iso9660 spasi nama file iso itu kemudian spasi , tempat direktory yang kita buat tadi misal /mnt/repository/dvd1
jadi
#mount -o loop -t iso9660 repo1.iso /mnt/repository/dvd1
  • Langkah selanjutnya kita kembali keterminal dan edit source list repositorynya
ketik sudo gedit /etc/apt/sources.list

tambahkan file baris ini di akhir
deb file:///mnt/repository/dvd1 intrepid main restricted
deb file:///mnt/repository/
dvd2 intrepid main restricted multiverse
deb file:///mnt/repository/
dvd3 intrepid universe
deb file:///mnt/repository/
dvd4 intrepid universe
deb file:///mnt/repository/
dvd5 intrepid universe
deb file:///mnt/repository/
dvd6 intrepid universe

sehingga file sources.list nya kalo punya saya jadi beginii
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

# deb http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted
# deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
# deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
# deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid universe
# deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid universe
# deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates universe
# deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid multiverse
# deb http://id.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid-backports main restricted universe multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ intrepid-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 intrepid partner
# deb-src http://archive.canonical.com/ubuntu intrepid partner
# Repositori BlankOn meuligoe

#deb http://arsip.blankonlinux.or.id/blankon/ meuligoe main restricted
#deb http://arsip.blankonlinux.or.id/blankon/ meuligoe-updates main restricted
#deb http://arsip.blankonlinux.or.id/blankon/ meuligoe-security main restricted

# deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
# deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
# deb http://security.ubuntu.com/ubuntu intrepid-security universe
# deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
# deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
# deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse


deb file:///mnt/repository/dvd1 intrepid main restricted
deb file:///mnt/repository/dvd2 intrepid main restricted multiverse
deb file:///mnt/repository/dvd3 intrepid universe
deb file:///mnt/repository/dvd4 intrepid universe
deb file:///mnt/repository/dvd5 intrepid universe
deb file:///mnt/repository/dvd6 intrepid universe

  • selanjutnya bisa digunakan repo lokalnya dan simpen DVD kamu agar awet he,,,he,,,

Bagikan

Jangan lewatkan

Repo ubuntu lokal dengan hardisk external
4 / 5
Oleh

Subscribe via email

Suka dengan artikel di atas? Tambahkan email Anda untuk berlangganan.

SILAHKAN BERKOMENTAR UNTUK KASIH MASUKAN

Diberdayakan oleh Blogger.