Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

Sorry, this entry is only available in Romanian.

install pi-hole on osmc

sudo service mediacenter stop
cd /home/osmc/.kodi/userdata
nano guisettings.xml

search services.webserverport and change the port (ex 8080)

sudo service mediacenter start

install dependencies: sudo apt install resolvconf php-cgi php-sqlite3

install pi-hole normally

wget -O basic-install.sh https://install.pi-hole.net

sudo bash basic-install.sh

// change admin web server port: sudo nano /etc/lighttpd/lighttpd.conf (server.port = 80)

// sudo lighty-enable-mod fastcgi

// sudo lighty-enable-mod fastcgi-php

run addon myosmc and fix network to get ip from dhcp

sudo nano /etc/pihole/setupVars.conf
update IPv4_address=0.0.0.0

reboot

daca vrei si safesearch si family filter atunci

wget https://raw.githubusercontent.com/jaykepeters/Scripts/Deployment/Pi-hole_SafeSearch.sh
mv ./Pi-hole_SafeSearch.sh /usr/local/bin/
chmod a+x /usr/local/bin/Pi-hole_SafeSearch.sh
Pi-hole_SafeSearch.sh –enable

from https://dlaa.me/blog/archive/201611
si https://quantixed.org/2019/07/29/childs-play-pi-hole-set-up-for-a-safer-internet/