Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | Pi-Hole: Use the updated block page? #1313

Closed
Fourdee opened this issue Dec 18, 2017 · 4 comments
Closed

DietPi-Software | Pi-Hole: Use the updated block page? #1313

Fourdee opened this issue Dec 18, 2017 · 4 comments

Comments

@Fourdee
Copy link
Collaborator

Fourdee commented Dec 18, 2017

image
https://github.com/Fourdee/DietPi/issues/1298#issuecomment-352314748

@k-plan
Copy link
Contributor

k-plan commented Dec 18, 2017

@Fourdee

Nice, thanks! 👍


Install by running :

curl -sSL https://install.pi-hole.net | bash

171218-0004

root@RPi-Zero_W-Stretch:~# ls -lah /var/www/
total 16K
drwxr-xr-x  4 root     root     4.0K Dec 18 12:45 .
drwxr-xr-x 12 root     root     4.0K Dec 18 12:44 ..
drwxr-xr-x  2 root     root     4.0K Jan 14  2017 cgi-bin
drwxrwxr-x  4 www-data www-data 4.0K Dec 18 13:24 html
root@RPi-Zero_W-Stretch:~# ls -lah /var/www/html/
total 20K
drwxrwxr-x 4 www-data www-data 4.0K Dec 18 13:24 .
drwxr-xr-x 4 root     root     4.0K Dec 18 12:45 ..
drwxr-xr-x 7 root     root     4.0K Dec 18 12:44 admin
-rw-r--r-- 1 root     root     3.3K Dec 18 12:46 index.lighttpd.orig
drwxr-xr-x 2 root     root     4.0K Dec 18 13:24 pihole
root@RPi-Zero_W-Stretch:~# ls -lah /var/www/html/pihole/
total 40K
drwxr-xr-x 2 root     root     4.0K Dec 18 13:24 .
drwxrwxr-x 4 www-data www-data 4.0K Dec 18 13:24 ..
-rwxr-xr-x 1 root     root      13K Dec 18 13:24 blockingpage.css
-rwxr-xr-x 1 root     root      14K Dec 18 13:24 index.php

Install by running :

dietpi-software install id 93

171215-0001

root@NanoPi-Neo:~# ls -lah /var/www/ | grep admin
lrwxrwxrwx  1 www-data www-data   19 Dez 11 20:11 admin -> /var/www/html/admin
lrwxrwxrwx  1 www-data www-data   19 Dez 11 20:11 pihole -> /var/www/html/admin

Can I help you, eg. provide additional informations or config files ?

Think, where is or will be a problem to get:

pihole -r

and

pihole -up

to run proper on lighttp and all different web stacks.
[ provide a own update function ( 👍 ) or back to your own fork ( 👎 ) ...]

@LexiconCode
Copy link

LexiconCode commented Dec 24, 2017

A bit off-topic. Would there be a possibility to specify the port that Pi Hole uses for the web administration panel? That way other services can utilize port 80.

@MichaIng
Copy link
Owner

MichaIng commented Apr 9, 2018

@LexiconCode
The current implementation should allow other services to use port 80 as well, as PiHole web ui ist just available via .../pihole sub location. But currently PiHole reconfiguration and update breaks this, as it reapplies it's own Lighttpd config, at least if there is an update for the web ui available.
€: Ah if really another process/service (besides webserver) needs to bind to port 80, then the webserver that runs Pi-hole web interface, needs to use another port, thus vhosts need to be adjusted e.g. But I would always leave webserver at 80 (+443) and then better run all other server on other ports.

Hui, we have now 3 issues opened about basically the same topic:

Need to merge this, collecting all helpful information...

As PiHole is great stuff that is widely used by our users, I wan't to focus a bid to get this solved, e.g. via pihole service hooks, as mentioned within the other topic. For practical reasons just need a quick possibility to fake a lower version for pihole -up 😉.

@MichaIng
Copy link
Owner

Close in favour of https://github.com/Fourdee/DietPi/issues/1696

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants