Feb27
PiHole in einen Proxmox-Container installieren
am 27. Februar 2019 um 22:47:56Aloha Freunde,
Eigentlich braucht es da überhaupt nicht viel.
Ein reines Debian (debian-9.0-standard_9.7-1_amd64.tar.gz) reicht.
Folgende Werte hat mein Container:
cores: 1 memory: 512 nameserver: 8.8.8.8 onboot: 1 ostype: debian rootfs: local-lvm:vm-503-disk-0,size=3G swap: 512 |
Nach dem man den Container aktualisiert hat;
wget https://raw.githubusercontent.com/pi-hole/pi-hole/master/automated%20install/basic-install.sh chmod a+x basic-install.sh ./basic-install.sh |
(Quelle: https://github.com/pi-hole/pi-hole )
Nachdem man einige fragen Beantwortet hat, war es das eigentlich schon. Nun fehlen eigentlich nur noch ein paar Filterlisten. Hier meine:
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts https://mirror1.malwaredomains.com/files/justdomains http://sysctl.org/cameleon/hosts https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt https://hosts-file.net/ad_servers.txt https://raw.githubusercontent.com/ZeroDot1/CoinBlockerLists/master/hosts https://raw.githubusercontent.com/GATmyIT/pihole-lists/master/notracking-hosts.txt https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=0&mimetype=plaintext https://raw.githubusercontent.com/Marfjeh/coinhive-block/master/domains |
(Die von sysctl.org bitte mit Vorsicht genießen, die bieten kein https an!)
root@pihole:~# w && free -m 21:40:22 up 7:13, 1 user, load average: 0.30, 0.21, 0.27 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/2 10.0.0.102 21:30 6.00s 0.03s 0.00s w total used free shared buff/cache available Mem: 512 64 237 17 209 447 Swap: 1024 0 1024 root@pihole:~# |
Da das ganze eigentlich für einen Raspberry-Pi der ersten Generation gedacht war, sind die Ansprüche entsprechend gering. So das es im Container richtig gut läuft.