How to install Poweradmin on OpenSUSE Latest

Poweradmin is an open-source web-based DNS administration tool. In this tutorial, we will explain how to install Poweradmin on OpenSUSE Latest.

Prerequisites

Before starting with the installation process, you need to make sure that you have the following requirements:

Step 1 - Download Poweradmin

The first step is to download the Poweradmin package from the official website. You can download the latest stable version from the following link:

wget https://downloads.sourceforge.net/project/poweradmin/poweradmin-2.1.7.tgz

Step 2 - Extract Poweradmin

Then extract the downloaded package using the following command:

tar -zxvf poweradmin-2.1.7.tgz

Step 3 - Move Poweradmin to the webserver directory

Move the extracted Poweradmin directory to Apache webserver directory "/srv/www/htdocs":

sudo mv poweradmin-2.1.7 /srv/www/htdocs/poweradmin

Step 4 - Create a database and user

Create a new database and database user for the Poweradmin installation.

mysql -u root -p
mysql> CREATE DATABASE poweradmin;
mysql> CREATE USER 'poweradmin'@'localhost' IDENTIFIED BY 'poweradminpass';
mysql> GRANT ALL PRIVILEGES ON poweradmin.* TO 'poweradmin'@'localhost';
mysql> FLUSH PRIVILEGES;
mysql> exit;

Step 5 - Configure Poweradmin

Poweradmin provides an example configuration file called "config.inc.php-sample" located in the Poweradmin directory. Copy the example file to a new file called "config.inc.php":

cd /srv/www/htdocs/poweradmin/inc
cp config.inc.php-sample config.inc.php

Open the "config.inc.php" file for editing and update the following configuration settings:

$db_host = 'localhost';
$db_login = 'poweradmin';
$db_password = 'poweradminpass';
$db_name = 'poweradmin';

Step 6 - Set the permissions

Poweradmin requires write permissions to certain directories to work correctly. Run the following commands to set the correct permissions:

cd /srv/www/htdocs/poweradmin
sudo chown -R wwwrun:www poweradmin/
sudo chmod -R 770 poweradmin/inc/templates_c/

Step 7 - Access Poweradmin

Now you can access the Poweradmin web interface by opening your web browser and navigating to:

http://YOUR_DOMAIN_NAME/poweradmin

Conclusion

You have successfully installed Poweradmin on your OpenSUSE Latest server. You can now use Poweradmin to manage your DNS records.

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!