How to Install Pi-hole on Manjaro
In this tutorial, you will learn how to install Pi-hole on Manjaro. Pi-hole is an open-source DNS filtering system that block ads and trackers for your entire network. It works by intercepting domain requests and comparing them to a list of known ad-serving domains. This tutorial will guide you through the process of installing Pi-hole on Manjaro.
Prerequisites
- A running Manjaro system with an active internet connection
- A static IP address assigned to your Manjaro machine
- A SSH client to access your Manjaro machine, like
puttyoropenssh-client
Step 1: Update Your System
Before you proceed with the installation, it is important to update your Manjaro system to the latest version. You can run the following command:
sudo pacman -Syu
Step 2: Install Required Dependencies
Pi-hole requires certain dependencies that are not present in a basic Manjaro installation. You can install these dependencies by running the following command:
sudo pacman -S curl git
Step 3: Download Pi-hole Installer
You can download the Pi-hole installer script by running the following command:
curl -sSL https://install.pi-hole.net | bash
This will download the Pi-hole installer and start the installation process.
Step 4: Run Pi-hole Installer
After downloading the installer, you need to run it. You can run the following command to start the installation process:
sudo bash /opt/pihole/install.sh
This will start the Pi-hole installation process. You will be asked for various information like your time zone, password, and DNS server settings.
Step 5: Access Pi-hole Admin Dashboard
After the installation is complete, you can access the Pi-hole admin dashboard by entering your Manjaro machine's IP address into any web browser. The default port for accessing the admin dashboard is http://<ip-address>/admin.
Conclusion
You have successfully installed Pi-hole on your Manjaro machine. Now, you can enjoy ad-free browsing on all the devices connected to your network.