Difference between revisions of "Membuat Repository Ubuntu Lokal i386 amd64"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 23: | Line 23: | ||
===Contoh script 12.04=== | ===Contoh script 12.04=== | ||
+ | export GNUPGHOME=/var/data/mirrorkeyring | ||
debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ | debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ | ||
-h 152.118.24.30 \ | -h 152.118.24.30 \ | ||
Line 30: | Line 31: | ||
===Contoh script 14.04=== | ===Contoh script 14.04=== | ||
+ | export GNUPGHOME=/var/data/mirrorkeyring | ||
debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ | debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ | ||
-h 152.118.24.30 \ | -h 152.118.24.30 \ | ||
-d trusty,trusty-backports,trusty-proposed,trusty-security,trusty-updates \ | -d trusty,trusty-backports,trusty-proposed,trusty-security,trusty-updates \ | ||
-r ubuntu --progress -e http /var/data/repository/repo-14.04/ | -r ubuntu --progress -e http /var/data/repository/repo-14.04/ |
Revision as of 05:34, 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 14.04
export GNUPGHOME=/var/data/mirrorkeyring debmirror -a i386,amd64 --no-source -s main,restricted,universe,multiverse \ -h 152.118.24.30 \ -d trusty,trusty-backports,trusty-proposed,trusty-security,trusty-updates \ -r ubuntu --progress -e http /var/data/repository/repo-14.04/