Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


installing_pi_hole_linux_ubuntu_version_24_04

This is an old revision of the document!


installing Pi-Hole on Linux Ubuntu version 24.04

First run update packages and upgrade Ubuntu Server

sudo apt update && sudo apt upgrade -y

To check if curl is installed and functioning on Ubuntu Server 24.04, run the command

curl --version

If curl is not installed, run this command to install it:

sudo apt install curl -y

Next, Disable the default systemd-resolved DNS stub listener to free up Port 53 for Pi-hole. Then, restart systemd-resolved with the following commands:

sudo sed -i 's/#DNSStubListener=yes/DNSStubListener=no/' /etc/systemd/resolved.conf

sudo systemctl restart systemd-resolved
installing_pi_hole_linux_ubuntu_version_24_04.1786992765.txt.gz · Last modified: 2026/08/17 18:52 by wikiadmin