Script untuk Mirror Repository Ubuntu

From OnnoWiki
Revision as of 05:35, 7 April 2015 by Onnowpurbo (talk | contribs) (New page: ==Setup Mirror Keyring== Secara sederhana keyring dibutuhkan untuk authentikasi bahwa repository software tersebut memang benar dari distro tertentu & versi tertentu. Update keyring su...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Setup Mirror Keyring

Secara sederhana keyring dibutuhkan untuk authentikasi bahwa repository software tersebut memang benar dari distro tertentu & versi tertentu.

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

Asumsi Folder

  • Folder : /var/data/repository
  • Keyring : /var/data/mirrorkeyring

Script