How to Install PDNS Gui on Fedora Server Latest

PDNS Gui is an open-source web-based graphical user interface designed for the PowerDNS DNS server. In this tutorial, we will guide you on how to install PDNS Gui on Fedora Server latest version.

Prerequisites

Before installing PDNS Gui, make sure that you have the following prerequisites installed on your Fedora server:

Step 1: Install Dependencies

First, you need to install some required dependencies that are not included in the Fedora repository. Open your terminal and run the following command:

sudo dnf install epel-release

Step 2: Install PDNS Gui

To install PDNS Gui on Fedora Server, you need to follow these steps:

  1. Clone the PDNS Gui repository from Github by running the following command in the terminal:
git clone https://github.com/odoucet/pdns-gui.git
  1. Move the PDNS Gui folder to Apache web root directory using the following command:
sudo mv pdns-gui /var/www/html/
  1. Navigate to the PDNS Gui directory using the following command:
cd /var/www/html/pdns-gui/
  1. Copy the configuration file template and edit the configuration file using the following command:
cp config.inc.php.template config.inc.php
nano config.inc.php
  1. Find the 'DB_HOST' and 'DB_PASSWORD' configuration settings and edit them to match your MariaDB server settings.

  2. Save and exit the file.

Step 3: Configure MariaDB Server for PDNS Gui

  1. Log in to the MariaDB server using the following command:
mysql -u root -p
  1. Create a new database by running the following command:
CREATE DATABASE pdns_gui;
  1. After creating the database, create a new user and grant privileges using the following command:
CREATE USER 'pdns_gui'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON pdns_gui.* TO 'pdns_gui'@'localhost';
  1. Finally, exit from the MariaDB server by running the following command:
exit

Step 4: Accessing PDNS Gui

  1. Open a web browser and navigate to the following URL:
http://your_server_IP/pdns-gui/
  1. You will be prompted with the PDNS Gui login page. Enter your MariaDB server user credentials and click on the 'Login' button.

Congratulations! You have successfully installed PDNS Gui on Fedora server. You can now use PDNS Gui to manage your PowerDNS server.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!