Membuat Repository Ubuntu Lokal

From OnnoWiki
Revision as of 03:12, 1 February 2008 by Onnowpurbo (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Install Ubuntu FTP Repo By: Onno W. Purbo


  1. apt-get install vsftpd
  2. chown -Rf root.root /home/ftp
  3. /etc/init.d/vsftpd restart
  4. mkdir /home/ftp/pub
  5. chown -Rf ftp.nogroup /home/ftp/pub


Contoh drapper repo

  1. mkdir /opt/dapper-repo
  2. cd /opt/dapper-repo
  3. dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-1_contrib.iso
  4. dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-2_contrib.iso
  5. dd if=/dev/cdrom of=ubuntu-6.06-repository-i386-3_contrib.iso
  6. mkdir /home/ftp/pub/dapper-repo01
  7. mkdir /home/ftp/pub/dapper-repo02
  8. mkdir /home/ftp/pub/dapper-repo03
  9. mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-1_contrib.iso /home/ftp/pub/dapper-repo01
  10. mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-2_contrib.iso /home/ftp/pub/dapper-repo02
  11. mount -t iso9660 -o loop /opt/dapper-repo/ubuntu-6.06-repository-i386-3_contrib.iso /home/ftp/pub/dapper-repo03
  12. 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

  1. apt-get update


Contoh Edgy Repo

  1. mkdir /opt/edgy-repo
  2. cd /opt/edgy-repo
  3. dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-1_contrib.iso
  4. dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-2_contrib.iso
  5. dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-3_contrib.iso
  6. dd if=/dev/cdrom of=ubuntu-6.10-repository-i386-4_contrib.iso
  7. mkdir /home/ftp/pub/edgy-repo01
  8. mkdir /home/ftp/pub/edgy-repo02
  9. mkdir /home/ftp/pub/edgy-repo03
  10. mkdir /home/ftp/pub/edgy-repo04
  11. mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-1_contrib.iso /home/ftp/pub/edgy-repo01
  12. mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-2_contrib.iso /home/ftp/pub/edgy-repo02
  13. mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-3_contrib.iso /home/ftp/pub/edgy-repo03
  14. mount -t iso9660 -o loop /opt/edgy-repo/ubuntu-6.10-repository-i386-4_contrib.iso /home/ftp/pub/edgy-repo04
  15. 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

  1. apt-get update


Contoh Fiesty Repo

  1. mkdir /opt/fiesty-repo
  2. cd /opt/fiesty-repo
  3. dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-1_contrib.iso
  4. dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-2_contrib.iso
  5. dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-3_contrib.iso
  6. dd if=/dev/cdrom of=ubuntu-7.04-repository-i386-4_contrib.iso
  7. mkdir /home/ftp/pub/fiesty-repo1
  8. mkdir /home/ftp/pub/fiesty-repo2
  9. mkdir /home/ftp/pub/fiesty-repo3
  10. mkdir /home/ftp/pub/fiesty-repo4
  11. mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-1_contrib.iso /home/ftp/pub/fiesty-repo1
  12. mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-2_contrib.iso /home/ftp/pub/fiesty-repo2
  13. mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-3_contrib.iso /home/ftp/pub/fiesty-repo3
  14. mount -t iso9660 -o loop /opt/fiesty-repo/ubuntu-7.04-repository-i386-4_contrib.iso /home/ftp/pub/fiesty-repo4
  15. 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
  1. apt-get update



Contoh Gusty Repo

  1. mkdir /home/ftp/pub/gusty-repo1
  2. mkdir /home/ftp/pub/gusty-repo2
  3. mkdir /home/ftp/pub/gusty-repo3
  4. mkdir /home/ftp/pub/gusty-repo4
  5. mkdir /home/ftp/pub/gusty-repo5
  6. mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-1.iso /home/ftp/pub/gusty-repo1
  7. mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-2.iso /home/ftp/pub/gusty-repo2
  8. mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-3.iso /home/ftp/pub/gusty-repo3
  9. mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-4.iso /home/ftp/pub/gusty-repo4
  10. mount -t iso9660 -o loop /mnt/ntfs/ubuntu-dvd-7.10/ubuntu-7.10-repository-i386-5.iso /home/ftp/pub/gusty-repo5
  11. 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
  1. apt-get update





Contoh Campcaster Repo

  1. mkdir /home/ftp/pub/campcaster-1.2.0
  2. mount -t iso9660 -o loop /home/library/iso/campcaster/campcaster-1.2.0-repo.iso /home/ftp/pub/campcaster-1.2.0
  3. vi /etc/apt/source.list

deb ftp://127.0.0.1/pub/campcaster-1.2.0/repository/ /

  1. apt-get update