Install Pi-Hole -Block Ads and Speedup Internet on on Ubuntu Server 22.04

Опубликовано: 13 Март 2026
на канале: NetSys BD
609
10

Update system
#======#======#====
apt update -y

Install required packages
#======#=======#=======
apt install curl -y

Install Pi-Hole
#======#======#=========
curl -sSL https://install.pi-hole.net | bash

Change password
#==========#======
pihole -a -p admin (here admin is my password. replace admin with your password)

Install unbound
#==========#=====
apt install unbound -y

Config Unbound
#==========#====
nano /etc/unbound/unbound.conf.d/pi-hole.conf

Unbound configuration link
#========#========#=====
https://docs.pi-hole.net/guides/dns/u...

Restart the service
#=======#=======#=====
systemctl restart unbound

Start services at boot
#==========#=========#====
systemctl enable unbound

Show services status
#==========#=========#====
systemctl status unbound