debian:other-debian:pi-hole-debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
debian:other-debian:pi-hole-debian [2018/11/08 13:09] – [Weiteres] michaeldebian:other-debian:pi-hole-debian [2018/12/04 15:21] (current) – [Installation / Deployment von Pi-hole] michael
Line 15: Line 15:
 # apt-get upgrade # apt-get upgrade
  
-# apt-get install docker+# apt-get install docker-ce
 </code> </code>
  
-''**Step 2** - Compile and install docker-compose:''<code># cd /tmp/ +''**Step 2** - Install docker-compose binary:''
-# git clone https://github.com/docker/compose.git+
  
-# cd compose +Neuste Version auf GitHub nachschauen[[https://github.com/docker/compose/releases|docker-compose]]
-# docker build -t docker-compose:armhf -f Dockerfile.armhf . +
-# docker run --rm --entrypoint="script/build/linux-entrypoint" -v $(pwd)/dist:/code/dist -v $(pwd)/.git:/code/.git "docker-compose:armhf"+
  
-ls -+<code>curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose 
-# cp dist/docker-compose-Linux-armv7l /usr/local/bin/docker-compose + 
-# chmod 0755 /usr/local/bin/docker-compose+# chmod +x /usr/local/bin/docker-compose 
 +# curl -L https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose
  
 # docker-compose version # docker-compose version
 </code> </code>
- 
-''**Step 3** - Install manpages for docker-compose:''<code> 
-# curl -L https://raw.githubusercontent.com/docker/compose/$(docker-compose version --short)/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose 
-</code> 
- 
 </WRAP> </WRAP>
  
Line 115: Line 108:
 ---- ----
  
-===== Installation / Deployment von Pi-hole =====+===== Installation / Deployment von pi-hole =====
  
 <WRAP center box 100%> <WRAP center box 100%>
Line 211: Line 204:
  
 <WRAP center box 100%> <WRAP center box 100%>
-==== Anlegen des docker-compose file für Pi-hole ====+==== Anlegen des docker-compose file für pi-hole ====
  
 Das verwendete Image ist ausschlisslich für x86_x64 Systeme geeignet. Soll Pi-hole auf einem ARM basierten System dokerisiert installiert werden, kann [[debian:other-debian:pi-hole-debian-arm|HIER]] geschaut werden.  Das verwendete Image ist ausschlisslich für x86_x64 Systeme geeignet. Soll Pi-hole auf einem ARM basierten System dokerisiert installiert werden, kann [[debian:other-debian:pi-hole-debian-arm|HIER]] geschaut werden. 
Line 268: Line 261:
  
 <WRAP center box 100%> <WRAP center box 100%>
-==== Starten und testen des Pi-hole Docker Containers ====+==== Starten und testen des pi-hole Docker Containers ====
  
 <code> <code>
 # docker-compose -f /opt/docker-pihole/docker_compose.yml up -d # docker-compose -f /opt/docker-pihole/docker_compose.yml up -d
-# docker ps </code>+# docker ps -a</code>
 </WRAP> </WRAP>
  
Line 347: Line 340:
 # vim /opt/docker-pihole/pihole/blacklist.txt # vim /opt/docker-pihole/pihole/blacklist.txt
 </code> </code>
 +
 +<hidden blacklist.txt><sxh plain;>
 +bvadtgs.scdn1.secure.raxcdn.com
 +4b6994dfa47cee4.com
 +metrics.plex.tv
 +gebadu.com
 +pl4518712.puserving.com
 +analytics.ff.avast.com
 +p5-3os3pimkl6tg2-ixzsvd47ghupqap6-659208-i1-v6exp3.ds.metric.gstatic.com
 +</sxh>
 +</hidden>
 +
 +----
  
 <code> <code>
 # vim /opt/docker-pihole/pihole/whitelist.txt # vim /opt/docker-pihole/pihole/whitelist.txt
 </code> </code>
 +
 +<hidden whitelist.txt><sxh plain;>
 +raw.githubusercontent.com
 +mirror1.malwaredomains.com
 +sysctl.org
 +zeustracker.abuse.ch
 +s3.amazonaws.com
 +hosts-file.net
 +serials.ws
 +www.serials.ws
 +www.googleadservices.com
 +platform.linkedin.com
 +cdn.ravenjs.com
 +public-assets.envato-static.com
 +ipm-provider.ff.avast.com
 +www.smartredirect.de
 +
 +</sxh>
 +</hidden>
 +
 +----
  
 <code> <code>
 # vim /opt/docker-pihole/pihole/setupVars.conf # vim /opt/docker-pihole/pihole/setupVars.conf
 </code> </code>
 +
 +<hidden setupVars.conf><sxh plain;>
 +DHCP_START=192.168.1.180
 +DHCP_END=192.168.1.250
 +DHCP_ROUTER=192.168.1.1
 +DHCP_LEASETIME=48
 +PIHOLE_DOMAIN=local
 +DHCP_IPv6=true
 +DHCP_ACTIVE=false
 +DNS_FQDN_REQUIRED=true
 +DNS_BOGUS_PRIV=true
 +DNSSEC=false
 +CONDITIONAL_FORWARDING=true
 +CONDITIONAL_FORWARDING_IP=192.168.1.1
 +CONDITIONAL_FORWARDING_DOMAIN=fritz.box
 +CONDITIONAL_FORWARDING_REVERSE=1.168.192.in-addr.arpa
 +PIHOLE_DNS_1=127.0.0.1#5353
 +PIHOLE_DNS_2=
 +QUERY_LOGGING=true
 +INSTALL_WEB_SERVER=true
 +INSTALL_WEB_INTERFACE=true
 +LIGHTTPD_ENABLED=
 +IPV4_ADDRESS=192.168.1.2
 +IPV6_ADDRESS=
 +WEBPASSWORD=d295e1c88d5494f1f40cce9be08428e73a79792d37f4ffa6100ac283901479aa
 +PIHOLE_INTERFACE=enp1s0
 +
 +</sxh>
 +</hidden>
 +
 +----
  
 <code> <code>
Line 363: Line 421:
  
 <WRAP center box 100%> <WRAP center box 100%>
-==== Reverse Proxy Beispiel Setup ====+==== Reverse Proxy Setup Beispiel ====
  
 <code> <code>
  • debian/other-debian/pi-hole-debian.1541678957.txt.gz
  • Last modified: 2018/11/08 13:09
  • by michael