How to Install PDNS Gui on OpenSUSE Latest

PDNS Gui is a web-based GUI for PowerDNS server. It allows you to manage DNS records and zones using a web interface. In this tutorial, we will guide you through the process of installing PDNS Gui on OpenSUSE Latest.

Prerequisites

Before we begin, you should have the following:

  • A server running OpenSUSE Latest
  • Root access to the server
  • A web browser

Step 1 - Install Dependencies

PDNS Gui requires several software packages to be installed on your server. Run the following command to install the required dependencies:

sudo zypper in apache2 php7 php7-mysqlnd php7-curl

Step 2 - Install PowerDNS Server

PDNS Gui is a GUI for PowerDNS server. Install PowerDNS server by running the following command:

sudo zypper in pdns

Step 3 - Install PDNS Gui

Clone the PDNS Gui repository from Github by running the following command:

git clone https://github.com/odoucet/pdns-gui.git

Move the PDNS Gui directory to your Apache web root directory:

sudo mv pdns-gui /srv/www/htdocs/

Change the ownership of the PDNS Gui directory to the Apache user:

sudo chown -R wwwrun:www /srv/www/htdocs/pdns-gui

Step 4 - Configure Apache

Create a new Apache configuration file for PDNS Gui:

sudo nano /etc/apache2/conf.d/pdns-gui.conf

Add the following lines to the file:

Alias /pdns-gui /srv/www/htdocs/pdns-gui
<Directory "/srv/www/htdocs/pdns-gui">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
</Directory>

Save and close the file.

Restart Apache to apply the changes:

sudo systemctl restart apache2

Step 5 - Access PDNS Gui

Open a web browser and type the server's IP address or hostname followed by /pdns-gui in the address bar.

Example: http://192.168.100.10/pdns-gui

You should see the PDNS Gui login page. Enter the PowerDNS server's database credentials to continue.

Congratulations! You have successfully installed PDNS Gui on OpenSUSE Latest.