Difference between revisions of "Membuat Repository Ubuntu Lokal i386 amd64"

From OnnoWiki
Jump to navigation Jump to search
Line 72: Line 72:
 
==Beberapa Server==
 
==Beberapa Server==
  
Ada beberapa server yang dapat kita tulis di belakang -h di atas, antara lain adalah
+
Ada beberapa server yang dapat kita tulis di belakang parameter -h di debmirror, antara lain adalah
  
 
* kambing.ui.edu
 
* kambing.ui.edu

Revision as of 06:28, 6 November 2014

Siapkan Folder

mkdir -p /var/data/repository/
mkdir -p /var/data/mirrorkeyring/


Setup Mirror Keyring

Update keyring

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 40976EAF437D05B5
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
mkdir -p /var/data/mirrorkeyring
gpg --no-default-keyring --keyring /var/data/mirrorkeyring/trustedkeys.gpg --import /usr/share/keyrings/ubuntu-archive-keyring.gpg
gpg --no-default-keyring --keyring /var/data/mirrorkeyring/trustedkeys.gpg --import /etc/apt/trusted.gpg



Ambil repo dari kambing.ui.ac.id

Contoh script 12.04

export GNUPGHOME=/var/data/mirrorkeyring
debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \
          -h 152.118.24.30 \
          -d precise,precise-backports,precise-proposed,precise-security \
          -r ubuntu --progress -e http /var/data/repository/repo-12.04/

Contoh script 12.10

export GNUPGHOME=/var/data/mirrorkeyring
debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \
          -h 152.118.24.30 \
          -d quantal,quantal-backports,quantal-proposed,quantal-security,quantal-updates \
          -r ubuntu --progress -e http /var/data/repository/repo-12.10/

Contoh script 13.04

export GNUPGHOME=/var/data/mirrorkeyring
debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \
          -h 152.118.24.30 \
          -d raring,raring-backports,raring-proposed,raring-security,raring-updates \
          -r ubuntu --progress -e http /var/data/repository/repo-13.04/

Contoh script 13.10

export GNUPGHOME=/var/data/mirrorkeyring
debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \
          -h 152.118.24.30 \
          -d saucy,saucy-backports,saucy-proposed,saucy-security,saucy-updates \
          -r ubuntu --progress -e http /var/data/repository/repo-13.10/

Contoh script 14.04

export GNUPGHOME=/var/data/mirrorkeyring
debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \
          -h 152.118.24.30 \
          -d quantal,quantal-backports,quantal-proposed,quantal-security,quantal-updates \
          -r ubuntu --progress -e http /var/data/repository/repo-14.04/

Contoh script 14.10

export GNUPGHOME=/var/data/mirrorkeyring
debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \
          -h 152.118.24.30 \
          -d utopic,utopic-backports,utopic-proposed,utopic-security,utopic-updates \
          -r ubuntu --progress -e http /var/data/repository/repo-14.10/


Beberapa Server

Ada beberapa server yang dapat kita tulis di belakang parameter -h di debmirror, antara lain adalah

  • kambing.ui.edu
  • id.archive.ubuntu.com

IP address

  • 152.118.24.30 - IP address kambing.ui.ac.id
  • 125.160.17.22
  • 91.189.91.24
  • 91.189.92.200
  • 91.189.92.201
  • 91.189.88.149
  • 91.189.88.153
  • 91.189.91.13
  • 91.189.91.14
  • 91.189.91.15
  • 91.189.91.23