Inofficial Icinga 2 Archlinux Mirror Server

Achtung! Dieser Artikel ist älter als ein Jahr. Der Inhalt ist möglicherweise nicht mehr aktuell!

I’ve abandoned this project!

I only run Archlinux on my home network. The only problem I have is getting Icinga 2. There are no official packages provided by Archlinux. Archlinux hast the Arch User Repository (short: AUR) where you can get additional software. The downside of the AUR ist that you have to compile it yourself. Doing this on every machine is just consuming to much CPU and you have to install the required libs everywhere and so on. So this way was not practical. I then developed an ansible role to compile Icinga 2 for Archlinux on one machine and distribute the package then onto every machine.

This sucks less but is not the best way to distribute packages. I decided to set up my own inofficial Archlinux mirror server so I can upgrade the package with pacman. You can find it under https://icinga2.mirror.veloc1ty.de. You can use it with https and http. The TLS certificate is provided by Let’s Encrypt.

How to use it

Every package on that mirrir is signed with this PGP key:

Yes it’s short, but it’s not an RSA key but an ECC one. Save the key for example under /root/icinga2.pub. Now you can import it (of course being root):

Now we have to trust it. Here is how that’s done:

Now you have to add this to /etc/pacman.conf:

That’s it. This has to be done on every server where you want to use the mirror. You can automate this. I’ve written it up on GitHub under „Protip: Distribute the mirror key to other clients“: https://github.com/vlcty/ansible-role-arch-mirror


Du hast einen Kommentar, einen Wunsch oder eine Verbesserung? Schreib mir doch eine E-Mail! Die Infos dazu stehen hier.

🖇️ = Link zu anderer Webseite
🔐 = Webseite nutzt HTTPS (verschlüsselter Transportweg)
Zurück