Script untuk Mirror Repository Ubuntu
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
- Sumber : 152.118.24.30 (kambing.ui.ac.id)