-
Notifications
You must be signed in to change notification settings - Fork 0
Installatie
Geert van Zoest edited this page Mar 31, 2026
·
2 revisions
| Component | Minimum versie | Check commando | Installatie |
|---|---|---|---|
| bash | 4.x | bash --version |
Standaard aanwezig |
| curl | 7.68 | curl --version |
Standaard aanwezig |
| jq | 1.6 | jq --version |
sudo apt-get install -y jq |
Raspberry Pi OS (Bullseye/Bookworm) heeft bash en curl standaard. Alleen jq moet geïnstalleerd worden.
sudo apt-get update
sudo apt-get install -y jqControleer:
jq --version
# Verwacht: jq-1.6 of hogerOptie A: via git clone
git clone https://github.com/geertvanzoest/azure-ddns.git
cd azure-ddnsOptie B: alleen het script
sudo curl -o /usr/local/bin/azure-ddns \
https://raw.githubusercontent.com/geertvanzoest/azure-ddns/main/azure-ddns
sudo chmod +x /usr/local/bin/azure-ddnsAls je optie A gebruikte:
chmod +x azure-ddns./azure-ddnsVerwachte output (zonder env vars):
[2026-03-31 10:00:00] ERROR: AZURE_TENANT_ID is niet ingesteld
[2026-03-31 10:00:00] ERROR: AZURE_CLIENT_ID is niet ingesteld
[2026-03-31 10:00:00] ERROR: AZURE_CLIENT_SECRET is niet ingesteld
[2026-03-31 10:00:00] ERROR: AZURE_SUBSCRIPTION_ID is niet ingesteld
[2026-03-31 10:00:00] ERROR: AZURE_RESOURCE_GROUP is niet ingesteld
[2026-03-31 10:00:00] ERROR: DNS_ZONE_NAME is niet ingesteld
[2026-03-31 10:00:00] ERROR: DNS_RECORD_NAME is niet ingesteld
Dit bewijst dat het script correct werkt — ga nu door naar Azure configuratie.
Bij een nieuwe versie:
cd /pad/naar/azure-ddns
git pullOf bij standalone installatie:
sudo curl -o /usr/local/bin/azure-ddns \
https://raw.githubusercontent.com/geertvanzoest/azure-ddns/main/azure-ddns