Poweradmin is a versatile and powerful web-based DNS administration tool. In this tutorial, we will guide you through the process of installing Poweradmin on Manjaro Linux.
Before proceeding with this tutorial, ensure that you have the following prerequisites:
The first step is to download Poweradmin. You can download the latest version of Poweradmin from the official website: http://www.poweradmin.org/. Alternatively, you can use the following command to download the latest version via the command line:
wget https://github.com/poweradmin/poweradmin/archive/master.zip
Once the download is complete, extract the zip file to the Apache web root directory:
sudo unzip master.zip -d /srv/http/
Next, create a new database for Poweradmin using the MySQL command-line tool:
mysql -u root -p
You will be prompted to enter your MySQL root password. Once you have entered your password, create a new database for Poweradmin:
CREATE DATABASE poweradmin;
Create a new user and grant the user access to the newly created database:
CREATE USER 'poweradmin'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON poweradmin.* TO 'poweradmin'@'localhost';
FLUSH PRIVILEGES;
Next, navigate to the Poweradmin directory:
cd /srv/http/poweradmin-master/inc/
Copy the config-me.inc.php
file to config.inc.php
:
sudo cp config-me.inc.php config.inc.php
Open the config.inc.php
file with your preferred text editor:
sudo nano config.inc.php
Enter the database details that you created in Step 2:
$db_host = "localhost";
$db_user = "poweradmin";
$db_pass = "password";
$db_name = "poweradmin";
Save and close the file.
Create a new Apache virtual host configuration file:
sudo nano /etc/httpd/conf/extra/poweradmin.conf
Add the following content to the file:
<VirtualHost *:80>
ServerName your-domain.com
DocumentRoot "/srv/http/poweradmin-master/"
<Directory "/srv/http/poweradmin-master/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Replace your-domain.com
with your own domain name or server IP address.
Save and close the file.
Restart the Apache web server to apply the changes:
sudo systemctl restart httpd
Open your web browser and navigate to http://your-domain.com/install.php
to install Poweradmin.
Follow the on-screen instructions to complete the installation process.
Once the installation is complete, remove the install.php
file:
sudo rm /srv/http/poweradmin-master/install.php
Congratulations! You have successfully installed Poweradmin on Manjaro Linux. You can now use it 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!