How to Install Pi-hole on Fedora Server Latest
Pi-hole is a DNS sinkhole that blocks unwanted ads by acting as a DNS server for your network. This tutorial will guide you through the steps to install Pi-hole on your Fedora Server.
Prerequisites
Before we start, please make sure:
- You have a Fedora Server installed on it.
- Your system is up-to-date.
- You logged into your system as root or a user with sudo privileges.
- You have access to a command-line terminal.
Installing Pi-hole
Step 1: Install curl
Open your terminal and install the curl by running the following command:
sudo dnf install curl -y
Step 2: Download Pi-hole
Download Pi-hole by running the following command:
curl -sSL https://install.pi-hole.net | bash
Step 3: Start the installation
After downloading Pi-hole successfully, run the installation script by typing:
sudo bash basic-install.sh
Step 4: Configure Pi-hole
- Choose your upstream DNS provider.
- Set your timezone.
- Configure the webserver.
By default, the web interface is running on port 80.
Step 5: Verify the installation
After installation, you can verify the installation by visiting the IP address of your server in a browser, and you should see the dashboard of Pi-hole.
Conclusion
Congratulations, you have successfully installed Pi-hole on Fedora Server. To keep it up-to-date, run the following command:
pihole -up
In this tutorial, you learned how to install Pi-hole on your Fedora Server. Enjoy your ad-free browsing experience.