Difference between revisions of "Membuat Repository Ubuntu Lokal"

From OnnoWiki
Jump to navigation Jump to search
(New page: Install Ubuntu FTP Repo By: Onno W. Purbo # apt-get install vsftpd # chown -Rf root.root /home/ftp # /etc/init.d/vsftpd restart # mkdir /home/ftp/pub # chown -Rf ftp.nogroup /home/ftp/p...)
 
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
Install Ubuntu FTP Repo
+
Repository lokal di bangun menggunakan [[FTP server]] menggunakan vsftpd. Beberapa langkah awal untuk menyiapkan [[FTP server]] maupun home directory-nya adalah sebagai berikut
By: Onno W. Purbo
 
  
 +
# apt-get install vsftpd
 +
# mkdir /home/ftp
 +
# chown -Rf root.root /home/ftp
 +
# /etc/init.d/vsftpd restart
 +
# mkdir /home/ftp/pub
 +
# chown -Rf ftp.nogroup /home/ftp/pub
  
 +
Logika membuat repository lokal sangat mudah, yaitu
  
# apt-get install vsftpd
+
* buat iso dari masing-masing [[DVD]]
# chown -Rf root.root /home/ftp
+
* buat directory untuk mount masing-masing iso [[DVD]] di home FTP
# /etc/init.d/vsftpd restart
+
* mount iso ke folder yang di sediakan
# mkdir /home/ftp/pub
+
* edit /etc/apt/sources.list sesuai dengan lokasinya
# chown -Rf ftp.nogroup /home/ftp/pub
 
  
 +
Untuk penggunaan dalam jaringan / [[LAN]] kita perlu mengedit /etc/apt/sources.list
 +
menjadi misalnya
  
 +
deb ftp://ip-server/pub/folder-iso gutsy main
  
Contoh drapper repo
 
# mkdir /opt/dapper-repo
 
# cd /opt/dapper-repo
 
# dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-1_contrib.iso
 
# dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-2_contrib.iso
 
# dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-3_contrib.iso
 
# mkdir /home/ftp/pub/dapper-repo01
 
# mkdir /home/ftp/pub/dapper-repo02
 
# mkdir /home/ftp/pub/dapper-repo03
 
# mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-1_contrib.iso /home/ftp/pub/dapper-repo01
 
# mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-2_contrib.iso /home/ftp/pub/dapper-repo02
 
# mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-3_contrib.iso /home/ftp/pub/dapper-repo03
 
# vi /etc/apt/source.list
 
deb file:///home/ftp/dapper-repo01 dapper main multiverse restricted
 
deb file:///home/ftp/dapper-repo02 dapper universe
 
deb file:///home/ftp/dapper-repo03 dapper universe
 
# apt-get update
 
  
 +
== Repository Drapper ==
 +
# mkdir /opt/dapper-repo
 +
# cd /opt/dapper-repo
 +
# dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-1_contrib.iso
 +
# dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-2_contrib.iso
 +
# dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-3_contrib.iso
 +
# mkdir /home/ftp/pub/dapper-repo01
 +
# mkdir /home/ftp/pub/dapper-repo02
 +
# mkdir /home/ftp/pub/dapper-repo03
 +
# mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-1_contrib.iso /home/ftp/pub/dapper-repo01
 +
# mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-2_contrib.iso /home/ftp/pub/dapper-repo02
 +
# mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-3_contrib.iso /home/ftp/pub/dapper-repo03
  
Contoh Edgy Repo
+
Edit isi sources.list
# mkdir /opt/edgy-repo
 
# cd /opt/edgy-repo
 
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-1_contrib.iso
 
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-2_contrib.iso
 
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-3_contrib.iso
 
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-4_contrib.iso
 
# mkdir /home/ftp/pub/edgy-repo01
 
# mkdir /home/ftp/pub/edgy-repo02
 
# mkdir /home/ftp/pub/edgy-repo03
 
# mkdir /home/ftp/pub/edgy-repo04
 
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-1_contrib.iso /home/ftp/pub/edgy-repo01
 
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-2_contrib.iso /home/ftp/pub/edgy-repo02
 
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-3_contrib.iso /home/ftp/pub/edgy-repo03
 
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-4_contrib.iso /home/ftp/pub/edgy-repo04
 
# vi /etc/apt/source.list
 
deb file:///home/ftp/pub/edgy-repo01 edgy main restricted
 
deb file:///home/ftp/pub/edgy-repo02 edgy universe
 
deb file:///home/ftp/pub/edgy-repo03 edgy universe
 
deb file:///home/ftp/pub/edgy-repo04 edgy universe multiverse
 
# apt-get update
 
  
 +
# vi /etc/apt/source.list
 +
deb file:///home/ftp/dapper-repo01 dapper main multiverse restricted
 +
deb file:///home/ftp/dapper-repo02 dapper universe
 +
deb file:///home/ftp/dapper-repo03 dapper universe
  
Contoh Fiesty Repo
+
Update
# mkdir /opt/fiesty-repo
 
# cd /opt/fiesty-repo
 
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-1_contrib.iso
 
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-2_contrib.iso
 
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-3_contrib.iso
 
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-4_contrib.iso
 
# mkdir /home/ftp/pub/fiesty-repo1
 
# mkdir /home/ftp/pub/fiesty-repo2
 
# mkdir /home/ftp/pub/fiesty-repo3
 
# mkdir /home/ftp/pub/fiesty-repo4
 
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-1_contrib.iso /home/ftp/pub/fiesty-repo1
 
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-2_contrib.iso /home/ftp/pub/fiesty-repo2
 
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-3_contrib.iso /home/ftp/pub/fiesty-repo3
 
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-4_contrib.iso /home/ftp/pub/fiesty-repo4
 
# vi /etc/apt/source.list
 
        deb file:///home/ftp/pub/fiesty-repo1 fiesty main restricted
 
        deb file:///home/ftp/pub/fiesty-repo2 fiesty universe
 
        deb file:///home/ftp/pub/fiesty-repo3 fiesty universe
 
        deb file:///home/ftp/pub/fiesty-repo4 fiesty universe multiverse
 
# apt-get update
 
  
 +
# apt-get update
  
  
 +
== Repository Edgy ==
 +
# mkdir /opt/edgy-repo
 +
# cd /opt/edgy-repo
 +
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-1_contrib.iso
 +
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-2_contrib.iso
 +
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-3_contrib.iso
 +
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-4_contrib.iso
 +
# mkdir /home/ftp/pub/edgy-repo01
 +
# mkdir /home/ftp/pub/edgy-repo02
 +
# mkdir /home/ftp/pub/edgy-repo03
 +
# mkdir /home/ftp/pub/edgy-repo04
 +
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-1_contrib.iso /home/ftp/pub/edgy-repo01
 +
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-2_contrib.iso /home/ftp/pub/edgy-repo02
 +
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-3_contrib.iso /home/ftp/pub/edgy-repo03
 +
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-4_contrib.iso /home/ftp/pub/edgy-repo04
  
Contoh Gusty Repo
+
Edit isi sources.list
# mkdir /home/ftp/pub/gusty-repo1
 
# mkdir /home/ftp/pub/gusty-repo2
 
# mkdir /home/ftp/pub/gusty-repo3
 
# mkdir /home/ftp/pub/gusty-repo4
 
# mkdir /home/ftp/pub/gusty-repo5
 
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-1.iso /home/ftp/pub/gusty-repo1
 
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-2.iso /home/ftp/pub/gusty-repo2
 
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-3.iso /home/ftp/pub/gusty-repo3
 
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-4.iso /home/ftp/pub/gusty-repo4
 
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-5.iso /home/ftp/pub/gusty-repo5
 
# vi /etc/apt/source.list
 
        deb file:///home/ftp/pub/gusty-repo1 gutsy main
 
        deb file:///home/ftp/pub/gusty-repo2 gutsy main multiverse restricted
 
        deb file:///home/ftp/pub/gusty-repo3 gutsy universe
 
        deb file:///home/ftp/pub/gusty-repo4 gutsy universe
 
        deb file:///home/ftp/pub/gusty-repo5 gutsy universe
 
# apt-get update
 
  
 +
# vi /etc/apt/sources.list
 +
deb file:///home/ftp/pub/edgy-repo01 edgy main restricted
 +
deb file:///home/ftp/pub/edgy-repo02 edgy universe
 +
deb file:///home/ftp/pub/edgy-repo03 edgy universe
 +
deb file:///home/ftp/pub/edgy-repo04 edgy universe multiverse
  
 +
Update
  
 +
# apt-get update
  
  
 +
== Repository Fiesty ==
 +
# mkdir /opt/fiesty-repo
 +
# cd /opt/fiesty-repo
 +
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-1_contrib.iso
 +
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-2_contrib.iso
 +
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-3_contrib.iso
 +
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-4_contrib.iso
 +
# mkdir /home/ftp/pub/fiesty-repo1
 +
# mkdir /home/ftp/pub/fiesty-repo2
 +
# mkdir /home/ftp/pub/fiesty-repo3
 +
# mkdir /home/ftp/pub/fiesty-repo4
 +
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-1_contrib.iso /home/ftp/pub/fiesty-repo1
 +
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-2_contrib.iso /home/ftp/pub/fiesty-repo2
 +
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-3_contrib.iso /home/ftp/pub/fiesty-repo3
 +
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-4_contrib.iso /home/ftp/pub/fiesty-repo4
  
 +
Edit sources.list
  
 +
# vi /etc/apt/sources.list
 +
deb file:///home/ftp/pub/fiesty-repo1 fiesty main restricted
 +
deb file:///home/ftp/pub/fiesty-repo2 fiesty universe
 +
deb file:///home/ftp/pub/fiesty-repo3 fiesty universe
 +
deb file:///home/ftp/pub/fiesty-repo4 fiesty universe multiverse
  
Contoh Campcaster Repo
+
Update
# mkdir /home/ftp/pub/campcaster-1.2.0
+
 
# mount -t iso9660 -o loop /home/library/iso/campcaster/campcaster-1.2.0-repo.iso /home/ftp/pub/campcaster-1.2.0
+
# apt-get update
# vi /etc/apt/source.list
+
 
deb ftp://127.0.0.1/pub/campcaster-1.2.0/repository/ /
+
 
# apt-get update
+
==Repository Gutsy==
 +
# mkdir /home/ftp/pub/gusty-repo1
 +
# mkdir /home/ftp/pub/gusty-repo2
 +
# mkdir /home/ftp/pub/gusty-repo3
 +
# mkdir /home/ftp/pub/gusty-repo4
 +
# mkdir /home/ftp/pub/gusty-repo5
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-1.iso /home/ftp/pub/gusty-repo1
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-2.iso /home/ftp/pub/gusty-repo2
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-3.iso /home/ftp/pub/gusty-repo3
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-4.iso /home/ftp/pub/gusty-repo4
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-5.iso /home/ftp/pub/gusty-repo5
 +
 
 +
Edit sources.list
 +
 
 +
# vi /etc/apt/sources.list
 +
deb file:///home/ftp/pub/gusty-repo1 gutsy main
 +
deb file:///home/ftp/pub/gusty-repo2 gutsy main multiverse restricted
 +
deb file:///home/ftp/pub/gusty-repo3 gutsy universe
 +
deb file:///home/ftp/pub/gusty-repo4 gutsy universe
 +
deb file:///home/ftp/pub/gusty-repo5 gutsy universe
 +
 
 +
atau
 +
 
 +
deb ftp://192.168.0.1/pub/gusty-repo1/ gutsy main
 +
deb ftp://192.168.0.1/pub/gusty-repo2/ gutsy main multiverse restricted
 +
deb ftp://192.168.0.1/pub/gusty-repo3/ gutsy universe
 +
deb ftp://192.168.0.1/pub/gusty-repo4/ gutsy universe
 +
deb ftp://192.168.0.1/pub/gusty-repo5/ gutsy universe
 +
 
 +
 
 +
Update repository
 +
 
 +
# apt-get update
 +
 
 +
 
 +
 
 +
==Repository Hardy==
 +
# mkdir /home/ftp/pub/hardy-repo1
 +
# mkdir /home/ftp/pub/hardy-repo2
 +
# mkdir /home/ftp/pub/hardy-repo3
 +
# mkdir /home/ftp/pub/hardy-repo4
 +
# mkdir /home/ftp/pub/hardy-repo5
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-1_contrib.iso /home/ftp/pub/hardy-repo1
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-2_contrib.iso /home/ftp/pub/hardy-repo2
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-3_contrib.iso /home/ftp/pub/hardy-repo3
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-4_contrib.iso /home/ftp/pub/hardy-repo4
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-5_contrib.iso /home/ftp/pub/hardy-repo5
 +
 
 +
Edit sources.list
 +
 
 +
# vi /etc/apt/sources.list
 +
deb file:///home/ftp/pub/hardy-repo1 hardy main restricted
 +
deb file:///home/ftp/pub/hardy-repo2 hardy main multiverse universe
 +
deb file:///home/ftp/pub/hardy-repo3 hardy universe
 +
deb file:///home/ftp/pub/hardy-repo4 hardy universe
 +
deb file:///home/ftp/pub/hardy-repo5 hardy universe
 +
 
 +
atau
 +
 
 +
deb ftp://192.168.0.1/pub/hardy-repo1/ hardy main restricted
 +
deb ftp://192.168.0.1/pub/hardy-repo2/ hardy main multiverse universe
 +
deb ftp://192.168.0.1/pub/hardy-repo3/ hardy universe
 +
deb ftp://192.168.0.1/pub/hardy-repo4/ hardy universe
 +
deb ftp://192.168.0.1/pub/hardy-repo5/ hardy universe
 +
 
 +
 
 +
Update repository
 +
 
 +
# apt-get update
 +
 
 +
 
 +
 
 +
==Repository Intrepid==
 +
# mkdir /home/ftp/pub/intrepid-repo1
 +
# mkdir /home/ftp/pub/intrepid-repo2
 +
# mkdir /home/ftp/pub/intrepid-repo3
 +
# mkdir /home/ftp/pub/intrepid-repo4
 +
# mkdir /home/ftp/pub/intrepid-repo5
 +
# mkdir /home/ftp/pub/intrepid-repo6
 +
 
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-1_contrib.iso /home/ftp/pub/intrepid-repo1
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-2_contrib.iso /home/ftp/pub/intrepid-repo2
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-3_contrib.iso /home/ftp/pub/intrepid-repo3
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-4_contrib.iso /home/ftp/pub/intrepid-repo4
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-5_contrib.iso /home/ftp/pub/intrepid-repo5
 +
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-6_contrib.iso /home/ftp/pub/intrepid-repo6
 +
 
 +
Edit sources.list
 +
 
 +
# vi /etc/apt/sources.list
 +
deb file:///home/ftp/pub/intrepid-repo1 intrepid main restricted
 +
deb file:///home/ftp/pub/intrepid-repo2 intrepid main multiverse restricted
 +
deb file:///home/ftp/pub/intrepid-repo3 intrepid universe
 +
deb file:///home/ftp/pub/intrepid-repo4 intrepid universe
 +
deb file:///home/ftp/pub/intrepid-repo5 intrepid universe
 +
deb file:///home/ftp/pub/intrepid-repo6 intrepid universe
 +
 
 +
atau
 +
 
 +
deb ftp://192.168.0.1/pub/intrepid-repo1/ intrepid main restricted
 +
deb ftp://192.168.0.1/pub/intrepid-repo2/ intrepid main multiverse restricted
 +
deb ftp://192.168.0.1/pub/intrepid-repo3/ intrepid universe
 +
deb ftp://192.168.0.1/pub/intrepid-repo4/ intrepid universe
 +
deb ftp://192.168.0.1/pub/intrepid-repo5/ intrepid universe
 +
deb ftp://192.168.0.1/pub/intrepid-repo6/ intrepid universe
 +
 
 +
Update repository
 +
 
 +
# apt-get update
 +
 
 +
 
 +
==Repository Campcaster==
 +
# mkdir /home/ftp/pub/campcaster-1.2.0
 +
# mount -t iso9660 -o loop /home/library/iso/campcaster/campcaster-1.2.0-repo.iso /home/ftp/pub/campcaster-1.2.0
 +
 
 +
Edit sources.list
 +
 
 +
# vi /etc/apt/sources.list
 +
deb ftp://127.0.0.1/pub/campcaster-1.2.0/repository/ /
 +
 
 +
Update
 +
 
 +
# apt-get update
 +
 
 +
 
 +
 
 +
==Pranala Menarik==
 +
 
 +
* [[Linux Howto]]
 +
* [[Ubuntu Repository di Speedy]]
 +
 
 +
[[Category: Linux]]
 +
[[Category: Repository]]

Latest revision as of 09:53, 11 May 2010

Repository lokal di bangun menggunakan FTP server menggunakan vsftpd. Beberapa langkah awal untuk menyiapkan FTP server maupun home directory-nya adalah sebagai berikut

# apt-get install vsftpd
# mkdir /home/ftp
# chown -Rf root.root /home/ftp
# /etc/init.d/vsftpd restart
# mkdir /home/ftp/pub
# chown -Rf ftp.nogroup /home/ftp/pub

Logika membuat repository lokal sangat mudah, yaitu

  • buat iso dari masing-masing DVD
  • buat directory untuk mount masing-masing iso DVD di home FTP
  • mount iso ke folder yang di sediakan
  • edit /etc/apt/sources.list sesuai dengan lokasinya

Untuk penggunaan dalam jaringan / LAN kita perlu mengedit /etc/apt/sources.list menjadi misalnya

deb ftp://ip-server/pub/folder-iso gutsy main


Repository Drapper

# mkdir /opt/dapper-repo
# cd /opt/dapper-repo
# dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-1_contrib.iso
# dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-2_contrib.iso
# dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-3_contrib.iso
# mkdir /home/ftp/pub/dapper-repo01
# mkdir /home/ftp/pub/dapper-repo02
# mkdir /home/ftp/pub/dapper-repo03
# mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-1_contrib.iso /home/ftp/pub/dapper-repo01 
# mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-2_contrib.iso /home/ftp/pub/dapper-repo02 
# mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-3_contrib.iso /home/ftp/pub/dapper-repo03 

Edit isi sources.list

# vi /etc/apt/source.list
deb file:///home/ftp/dapper-repo01 dapper main multiverse restricted
deb file:///home/ftp/dapper-repo02 dapper universe
deb file:///home/ftp/dapper-repo03 dapper universe 

Update

# apt-get update


Repository Edgy

# mkdir /opt/edgy-repo
# cd /opt/edgy-repo
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-1_contrib.iso
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-2_contrib.iso
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-3_contrib.iso
# dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-4_contrib.iso
# mkdir /home/ftp/pub/edgy-repo01
# mkdir /home/ftp/pub/edgy-repo02
# mkdir /home/ftp/pub/edgy-repo03
# mkdir /home/ftp/pub/edgy-repo04
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-1_contrib.iso /home/ftp/pub/edgy-repo01 
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-2_contrib.iso /home/ftp/pub/edgy-repo02 
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-3_contrib.iso /home/ftp/pub/edgy-repo03 
# mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-4_contrib.iso /home/ftp/pub/edgy-repo04 

Edit isi sources.list

# vi /etc/apt/sources.list
deb file:///home/ftp/pub/edgy-repo01 edgy main restricted
deb file:///home/ftp/pub/edgy-repo02 edgy universe
deb file:///home/ftp/pub/edgy-repo03 edgy universe 
deb file:///home/ftp/pub/edgy-repo04 edgy universe multiverse

Update

# apt-get update


Repository Fiesty

# mkdir /opt/fiesty-repo
# cd /opt/fiesty-repo
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-1_contrib.iso
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-2_contrib.iso
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-3_contrib.iso
# dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-4_contrib.iso
# mkdir /home/ftp/pub/fiesty-repo1
# mkdir /home/ftp/pub/fiesty-repo2
# mkdir /home/ftp/pub/fiesty-repo3
# mkdir /home/ftp/pub/fiesty-repo4
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-1_contrib.iso /home/ftp/pub/fiesty-repo1
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-2_contrib.iso /home/ftp/pub/fiesty-repo2
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-3_contrib.iso /home/ftp/pub/fiesty-repo3
# mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-4_contrib.iso /home/ftp/pub/fiesty-repo4

Edit sources.list

# vi /etc/apt/sources.list
deb file:///home/ftp/pub/fiesty-repo1 fiesty main restricted
deb file:///home/ftp/pub/fiesty-repo2 fiesty universe
deb file:///home/ftp/pub/fiesty-repo3 fiesty universe
deb file:///home/ftp/pub/fiesty-repo4 fiesty universe multiverse

Update

# apt-get update


Repository Gutsy

# mkdir /home/ftp/pub/gusty-repo1
# mkdir /home/ftp/pub/gusty-repo2
# mkdir /home/ftp/pub/gusty-repo3
# mkdir /home/ftp/pub/gusty-repo4
# mkdir /home/ftp/pub/gusty-repo5
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-1.iso /home/ftp/pub/gusty-repo1
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-2.iso /home/ftp/pub/gusty-repo2
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-3.iso /home/ftp/pub/gusty-repo3
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-4.iso /home/ftp/pub/gusty-repo4
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-5.iso /home/ftp/pub/gusty-repo5

Edit sources.list

# vi /etc/apt/sources.list
deb file:///home/ftp/pub/gusty-repo1 gutsy main
deb file:///home/ftp/pub/gusty-repo2 gutsy main multiverse restricted
deb file:///home/ftp/pub/gusty-repo3 gutsy universe
deb file:///home/ftp/pub/gusty-repo4 gutsy universe
deb file:///home/ftp/pub/gusty-repo5 gutsy universe

atau

deb ftp://192.168.0.1/pub/gusty-repo1/ gutsy main
deb ftp://192.168.0.1/pub/gusty-repo2/ gutsy main multiverse restricted
deb ftp://192.168.0.1/pub/gusty-repo3/ gutsy universe
deb ftp://192.168.0.1/pub/gusty-repo4/ gutsy universe
deb ftp://192.168.0.1/pub/gusty-repo5/ gutsy universe


Update repository

# apt-get update


Repository Hardy

# mkdir /home/ftp/pub/hardy-repo1
# mkdir /home/ftp/pub/hardy-repo2
# mkdir /home/ftp/pub/hardy-repo3
# mkdir /home/ftp/pub/hardy-repo4
# mkdir /home/ftp/pub/hardy-repo5
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-1_contrib.iso /home/ftp/pub/hardy-repo1
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-2_contrib.iso /home/ftp/pub/hardy-repo2
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-3_contrib.iso /home/ftp/pub/hardy-repo3
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-4_contrib.iso /home/ftp/pub/hardy-repo4
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.04/ubuntu-8.04-repository-i386-5_contrib.iso /home/ftp/pub/hardy-repo5

Edit sources.list

# vi /etc/apt/sources.list
deb file:///home/ftp/pub/hardy-repo1 hardy main restricted
deb file:///home/ftp/pub/hardy-repo2 hardy main multiverse universe
deb file:///home/ftp/pub/hardy-repo3 hardy universe
deb file:///home/ftp/pub/hardy-repo4 hardy universe
deb file:///home/ftp/pub/hardy-repo5 hardy universe

atau

deb ftp://192.168.0.1/pub/hardy-repo1/ hardy main restricted
deb ftp://192.168.0.1/pub/hardy-repo2/ hardy main multiverse universe
deb ftp://192.168.0.1/pub/hardy-repo3/ hardy universe
deb ftp://192.168.0.1/pub/hardy-repo4/ hardy universe
deb ftp://192.168.0.1/pub/hardy-repo5/ hardy universe


Update repository

# apt-get update


Repository Intrepid

# mkdir /home/ftp/pub/intrepid-repo1
# mkdir /home/ftp/pub/intrepid-repo2
# mkdir /home/ftp/pub/intrepid-repo3
# mkdir /home/ftp/pub/intrepid-repo4
# mkdir /home/ftp/pub/intrepid-repo5
# mkdir /home/ftp/pub/intrepid-repo6
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-1_contrib.iso /home/ftp/pub/intrepid-repo1
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-2_contrib.iso /home/ftp/pub/intrepid-repo2
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-3_contrib.iso /home/ftp/pub/intrepid-repo3
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-4_contrib.iso /home/ftp/pub/intrepid-repo4
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-5_contrib.iso /home/ftp/pub/intrepid-repo5
# mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-8.10/ubuntu-8.10-repository-i386-6_contrib.iso /home/ftp/pub/intrepid-repo6

Edit sources.list

# vi /etc/apt/sources.list
deb file:///home/ftp/pub/intrepid-repo1 intrepid main restricted
deb file:///home/ftp/pub/intrepid-repo2 intrepid main multiverse restricted
deb file:///home/ftp/pub/intrepid-repo3 intrepid universe
deb file:///home/ftp/pub/intrepid-repo4 intrepid universe
deb file:///home/ftp/pub/intrepid-repo5 intrepid universe
deb file:///home/ftp/pub/intrepid-repo6 intrepid universe

atau

deb ftp://192.168.0.1/pub/intrepid-repo1/ intrepid main restricted
deb ftp://192.168.0.1/pub/intrepid-repo2/ intrepid main multiverse restricted
deb ftp://192.168.0.1/pub/intrepid-repo3/ intrepid universe
deb ftp://192.168.0.1/pub/intrepid-repo4/ intrepid universe
deb ftp://192.168.0.1/pub/intrepid-repo5/ intrepid universe
deb ftp://192.168.0.1/pub/intrepid-repo6/ intrepid universe

Update repository

# apt-get update


Repository Campcaster

# mkdir /home/ftp/pub/campcaster-1.2.0
# mount -t iso9660 -o loop /home/library/iso/campcaster/campcaster-1.2.0-repo.iso /home/ftp/pub/campcaster-1.2.0

Edit sources.list

# vi /etc/apt/sources.list
deb ftp://127.0.0.1/pub/campcaster-1.2.0/repository/ /

Update

# apt-get update


Pranala Menarik