Installing Pi-hole (5.0 beta) on Ubuntu Server 18.04.3 LTS

      No Comments on Installing Pi-hole (5.0 beta) on Ubuntu Server 18.04.3 LTS

First you need to gather the installation files in .ISO format for Ubuntu Server 18.04.3 LTS linux distribution. You can either transfer this file to a USB stick or use the .ISO in your hypervisor environment.

After installing the Ubuntu Server to your (virtual) machine you are need to proceed by getting the Ubuntu Server updated.

sudo apt-get update

sudo apt-get upgrade

sudo reboot

Automating the apt-get update/upgrade

sudo nano /nano /etc/apt/apt.conf.d/50unattended-upgrades

Check the version of the installed Ubuntu Server

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

Install Pi-hole

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

Set/remove password for the web interface

pihole -a -p

Upgrade to the 5.0 beta release

#Upgrade the FTL components to 5.0 beta
echo "release/v5.0" | sudo tee /etc/pihole/ftlbranch

#Upgrade the CORE components to 5.0 beta
pihole checkout core release/v5.0

#Upgrade the web interface to 5.0 beta
pihole checkout web release/v5.0

Add custom entries to the ‘custom dns’

Editing the /etc/pihole/custom.list

restarting DNS resolver pihole restartdns

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.