How to Install Poweradmin on Ubuntu Server Latest

Poweradmin is a web-based domain name system (DNS) administration tool that provides a graphical interface for managing DNS servers. This tutorial will show you how to install Poweradmin on Ubuntu Server Latest.

Prerequisites

Before we begin, ensure that you have:

Step 1: Update the System

Before installing any new packages, update your system packages.

sudo apt-get update
sudo apt-get upgrade

Step 2: Install Required Dependencies

Poweradmin uses some dependencies that must be installed on your server.

sudo apt-get install apache2 php7.0 php7.0-xml php7.0-mbstring php7.0-mcrypt php7.0-intl php7.0-mysqlnd mysql-server-5.7

Step 3: Download and Install Poweradmin

To download and install Poweradmin, follow the steps below:

cd /var/www/html
wget http://downloads.sourceforge.net/project/poweradmin/poweradmin-2.1.7.tgz
tar -zxvf poweradmin-2.1.7.tgz
mv poweradmin-2.1.7 /var/www/html/poweradmin
chmod 777 -R /var/www/html/poweradmin

Step 4: Update the Configuration File

Copy the sample configuration file and make the necessary changes.

cd /var/www/html/poweradmin/inc
cp config-me.inc.php config.inc.php

Now edit the config.inc.php file with your database and domain information.

sudo nano /var/www/html/poweradmin/inc/config.inc.php

Step 5: Create a Database

Create a database for Poweradmin.

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

Step 6: Configure Apache

Create a virtual host file for Poweradmin.

sudo nano /etc/apache2/sites-available/poweradmin.conf

Add the following content to the file:

<VirtualHost *:80>
   ServerAdmin webmaster@localhost
   ServerName example.com
   DocumentRoot /var/www/html/poweradmin
   <Directory /var/www/html/poweradmin>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
      allow from all
   </Directory>
   ErrorLog ${APACHE_LOG_DIR}/error.log
   CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Save and close the file. Then, enable the site.

sudo a2ensite poweradmin.conf

After that, restart Apache.

sudo service apache2 restart

Step 7: Run the Installer

Navigate to http://your-server-ip/poweradmin/install and follow the installation wizard to complete the process.

Conclusion

You have sucessfully installed Poweradmin on Ubuntu Server Latest by following this tutorial.

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!