diff options
author | max.bra | 2017-01-03 12:37:07 +0100 |
---|---|---|
committer | max.bra | 2017-01-03 12:37:07 +0100 |
commit | 2518a1c02d8329fda3430c6fd7b4fe362120e2ec (patch) | |
tree | 0d012d08e8b40a65a5e3a964683a9c8553b6dafb /configuration | |
parent | dad6b74e19c3f9a3c22a106fd819f105b3e644aa (diff) | |
download | aur-2518a1c02d8329fda3430c6fd7b4fe362120e2ec.tar.gz |
v. 2.11 and web v. 2.3
Diffstat (limited to 'configuration')
-rw-r--r-- | configuration | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/configuration b/configuration index 6beeb8c060bf..5fc1bc7cd9e1 100644 --- a/configuration +++ b/configuration @@ -12,12 +12,7 @@ A) First install steps *** if you already use dnsmasq and it's functional - 1) copy pi-hole include config lines in right place - - # mkdir /etc/dnsmasq.d - # cp /etc/pihole/configs/dnsmasq.include /etc/dnsmasq.d/01-pihole.conf - - 2) edit your /etc/dnsmasq.conf to uncomment last line (including new pi-hole config lines) + 1) edit your /etc/dnsmasq.conf to uncomment last line (including new pi-hole config lines) # sed -i 's|#conf-dir=/etc/dnsmasq.d/,\*.conf|conf-dir=/etc/dnsmasq.d/,\*.conf|' /etc/dnsmasq.conf @@ -25,31 +20,29 @@ A) First install steps *** if you installed dnsmasq with this package for the first time - 3) backup original dnsmasq config file and copy pi-hole main and include files + 2) backup original dnsmasq config file and copy pi-hole main and include files # cp /etc/dnsmasq.conf /etc/dnsmasq.orig # cp /etc/pihole/configs/dnsmasq.main /etc/dnsmasq.conf - # mkdir /etc/dnsmasq.d - # cp /etc/pihole/configs/dnsmasq.include /etc/dnsmasq.d/01-pihole.conf *** end if - 4) lighttpd need port 80 to be free. backup original config file and copy pi-hole one + 3) lighttpd need port 80 to be free. backup original config file and copy pi-hole one # cp /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.orig # cp /etc/pihole/configs/lighttpd.conf /etc/lighttpd/lighttpd.conf - 5) enable and start dnsmasq service + 4) enable and start dnsmasq service # systemctl reenable dnsmasq.service # systemctl restart dnsmasq.service - 6) enable and start lighttpd service + 5) enable and start lighttpd service # systemctl reenable lighttpd.service # systemctl restart lighttpd.service - 7) FUNDAMENTAL: point dns resolution of your lan clients to this machine + 6) FUNDAMENTAL: point dns resolution of your lan clients to this machine B) Upgrade steps @@ -58,7 +51,6 @@ B) Upgrade steps 1) update dnsmasq conf file - # [ -f /etc/dnsmasq.d/pihole.conf ] && cp /etc/pihole/configs/dnsmasq.include /etc/dnsmasq.d/pihole.conf # [ -f /etc/dnsmasq.orig ] && cp /etc/pihole/configs/dnsmasq.complete /etc/dnsmasq.conf 2) update lighttpd conf file @@ -81,7 +73,6 @@ C) Uninstall steps # systemctl disable dnsmasq.service # systemctl stop lighttpd.service # systemctl disable lighttpd.service - # [ -f /etc/dnsmasq.d/pihole.conf ] && rm /etc/dnsmasq.d/pihole.conf # [ -f /etc/dnsmasq.orig ] && cp /etc/dnsmasq.orig /etc/dnsmasq.conf # [ -f /etc/lighttpd/lighttpd.orig ] && cp /etc/lighttpd/lighttpd.orig /etc/lighttpd/lighttpd.conf |