• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Poweradmin on Ubuntu 16.04

{{postValue.id}}

To install Poweradmin on Ubuntu 16.04

Poweradmin is a free internet based PowerDNS administration tool and it is used for managing PowerDNS. It can be used even by a novice user. Also, it lets its users to easily define Zone files and record types. It is so simple to install Poweradmin and in this article, you will be briefed about the installation process of Poweradmin on Ubuntu 16.04

Installing Poweradmin

In order to install Poweradmin, you need to download its official installation package, and for that you need to enter into html location. You can use the following command to reach the location.

root@linuxhelp11:~# cd /var/www/html/

From there, you can download the package by using the wget command.

root@linuxhelp11:/var/www/html# wget http://downloads.sourceforge.net/project/poweradmin/poweradmin-2.1.7.tgz
--2017-10-27 02:08:38-- http://downloads.sourceforge.net/project/poweradmin/poweradmin-2.1.7.tgz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://excellmedia.dl.sourceforge.net/project/poweradmin/poweradmin-2.1.7.tgz [following]
--2017-10-27 02:08:39-- https://excellmedia.dl.sourceforge.net/project/poweradmin/poweradmin-2.1.7.tgz
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 296469 (290K) [application/octet-stream]
Saving to: ‘ poweradmin-2.1.7.tgz’ 

poweradmin-2.1.7.tg 100%[===================> ] 289.52K 203KB/s in 1.4s

2017-10-27 02:08:43 (203 KB/s) - ‘ poweradmin-2.1.7.tgz’  saved [296469/296469]

Once the file is downloaded, extract the package as follows.

root@linuxhelp11:/var/www/html# tar xvf poweradmin-2.1.7.tgz
poweradmin-2.1.7/
poweradmin-2.1.7/.gitignore
poweradmin-2.1.7/LICENSE
poweradmin-2.1.7/README.md
poweradmin-2.1.7/add_perm_templ.php
poweradmin-2.1.7/add_record.php
poweradmin-2.1.7/add_supermaster.php
poweradmin-2.1.7/add_user.php
poweradmin-2.1.7/add_zone_master.php
poweradmin-2.1.7/add_zone_slave.php
poweradmin-2.1.7/add_zone_templ.php
.
.
poweradmin-2.1.7/sql/powerdns-sqlite-db-structure.sql
poweradmin-2.1.7/style/
poweradmin-2.1.7/style/example.css
poweradmin-2.1.7/users.php

After that, you need to rename extracted directory, you can use the following command for the same purpose.

root@linuxhelp11:/var/www/html# mv poweradmin-2.1.7 poweradmin

One of the most important steps involved now is the configuration of the VirtualHost, and for that, you need to create a .conf file.

root@linuxhelp11:/var/www/html# vim /etc/apache2/sites-available/power.conf

Now, you should give the host entry in below mentioned hosts file.

root@linuxhelp11:/var/www/html# vim /etc/hosts

Later you need to change ownership and permission of file in html location, you can do that by running the following command.

root@linuxhelp11:/var/www/html# chown -R www-data.www-data /var/www/html/
root@linuxhelp11:/var/www/html# chmod -R 777 /var/www/html/

Once it is done, you need to restart your Apache service as follows.

root@linuxhelp11:/var/www/html# systemctl restart apache2

Later, you need to switch to your browser and give url as power.com/install, and on the page that appears, you need to choose your desired language, and then click Go to step 2.

1

Click Go to step 3.

2

Fill database details, and click Go to step 4.

3

Here you need to fill configuration, click Go to step 5.

4

In here you need to copy command which should be run in your MySQL ,

5

Now, on your terminal, run command to enter into your MySQL database. Paste the copied content in there.

root@linuxhelp11:/var/www/html# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with   or g.
Your MariaDB connection id is 56
Server version: 10.0.31-MariaDB-0ubuntu0.16.04.2 Ubuntu 16.04

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.

MariaDB [(none)]>  GRANT SELECT, INSERT, UPDATE, DELETE
->  ON power.*
->  TO ' admin' @' localhost' 
->  IDENTIFIED BY ' 123'  

Query OK, 0 rows affected (0.01 sec)

Then again, you need to go to the browser, and click on Go to step 6.

6

Here, you need to copy this specific content.

7

Again move to your terminal and enter the configuration file by running the following command, and paste the copied content in it.

root@linuxhelp11:/var/www/html# nano poweradmin/inc/config.inc.php

< ?php

$db_host = ' localhost'  
$db_user = ' admin'  
$db_pass = ' 123'  
$db_name = ' power'  
$db_type = ' mysql'  
$db_layer = ' PDO'  

$session_key = ' v+m(]s@V~c{SboqAh+~TNlrWT33Il& HyD^N3phP_5~yaeo'  

$iface_lang = ' en_EN'  

$dns_hostmaster = ' linuxhelp'  

$dns_ns1 = ' ns1.linux.com'  

$dns_ns2 = ' ns2.linux.com'  

Save and exit the file.

After that, you need to move to your browser again and click on Go to step 7.

8

The installation is now complete.

9

It doesn' t end with this, you should remove the install directory from your system.

10

Run the following command to remove the directory.

root@linuxhelp11:/var/www/html# rm -rf poweradmin/install/

Once it is done, refresh your page and give the admin privileges.

PRIVILEGES

admin page

12

With this, the installation of Poweradmin gets completed.

Tags:
jackson
Author: 

Comments ( 1 )

madhusudhan
Hi, i am getting an Errors while accessing in browser
"Error: You have to install PHP mcrypt extension!" Please help me how to clear this.
Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

How do I completely disable caching in MediaWiki?

A

To disable caching in MediaWiki

Add in your LocalSettings.php file the following lines:



$wgEnableParserCache = false;

$wgCachePages = false;

Q

How do I allow uploading of additional formats in Mediawiki?

A

By using this command you allow the additional formats


Syntax: "$wgFileExtensions[] = 'pdf';"

Q

How do I stop anonymous users from editing any page in Mediawiki?

A

To stop the annonymous user is by changing the value of the $wgGroupPermissions configuration option. Edit LocalSettings.php and add the line:


"$wgGroupPermissions['*']['edit'] = false;"

Q

How do I restrict account creation in Power admin?

A

By using this command you can restrict the user


'$wgGroupPermissions['*']['createaccount'] = false;"

Q

Does MediaWiki work with safe_mode enabled?

A

Yes, MediaWiki is a safemode but only to a limited degree in safemode.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.