Poweradmin is a web-based DNS administration tool that provides an easy-to-use interface for managing DNS zones, records, and settings. In this tutorial, we will guide you through the process of installing Poweradmin on your Linux Mint system.
Before starting this tutorial, you should have a Linux Mint system with LAMP stack (Apache, MySQL, and PHP) already installed.
Visit the official Poweradmin website at http://www.poweradmin.org/ and download the latest version of Poweradmin to your Linux Mint system.
wget https://github.com/poweradmin/poweradmin/archive/v4.3.1.tar.gz
Run the following command to extract the archive file you just downloaded:
tar -zxvf v4.3.1.tar.gz
This will extract the contents of the Poweradmin archive into a new directory called poweradmin-4.3.1
.
You will need to move the poweradmin-4.3.1
directory to the /var/www/html
directory on your Linux Mint system.
sudo mv poweradmin-4.3.1 /var/www/html/poweradmin
Log in to your MySQL database server and create a new database and user for Poweradmin.
mysql -u root -p
CREATE DATABASE poweradmin;
CREATE USER 'poweradmin'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON poweradmin.* TO 'poweradmin'@'localhost';
FLUSH PRIVILEGES;
Replace password
with a strong password of your choice.
Copy the config.inc.php-sample
file to a new file named config.inc.php
.
cd /var/www/html/poweradmin/inc/
cp config.inc.php-sample config.inc.php
Edit the config.inc.php
file and enter the database details you just created.
$db_host = 'localhost';
$db_user = 'poweradmin';
$db_pass = 'password';
$db_name = 'poweradmin';
Replace password
with the password you chose for the poweradmin
user in Step 4.
Create a new Apache virtual host configuration file for Poweradmin.
sudo nano /etc/apache2/sites-available/poweradmin.conf
Add the following content to the file:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/poweradmin/
<Directory /var/www/html/poweradmin/>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/poweradmin_error.log
CustomLog ${APACHE_LOG_DIR}/poweradmin_access.log combined
</VirtualHost>
Enable the new virtual host configuration with the following command:
sudo a2ensite poweradmin.conf
Restart Apache for the changes to take effect:
sudo systemctl restart apache2
You should now be able to access Poweradmin in your web browser by visiting http://localhost/poweradmin/.
Congratulations! You have successfully installed Poweradmin on your Linux Mint system.
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!