Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


poweradmin_on_centos_6.4

Poweradmin

  • OS: CentOS 6.4 minimal
  • Backend: MySQL

Get Poweradmin

Note! I'm not using the older version in the EPEL repo.

wget https://github.com/downloads/poweradmin/poweradmin/poweradmin-2.1.6.tgz

Install Apache, PHP

Install the EPEL repo:

rpm -ivh http://<somemirror>/epel-release-6-8.noarch.rpm
yum update

Install httpd, php:

yum -y install httpd php php-mysql php-mcrypt php-php-gettext php-pdo gettext mod_ssl

chkconfig httpd on
service httpd start

Unpack PowerAdmin

cd /var/www/html
tar zxvf poweradmin-2.1.6.tgz
ln -s poweradmin-2.1.6/ poweradmin
chown -R apache:apache poweradmin*

Configure httpd vhost

vi /etc/httpd/conf.d/poweradmin.conf

<VirtualHost 1.2.3.4:443 >

  SSLEngine on
  SSLProtocol all -SSLv2
  SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
  SSLCertificateFile /etc/pki/tls/certs/web.cer
  SSLCertificateKeyFile /etc/pki/tls/private/webprivate.key
  SSLCACertificateFile /etc/pki/tls/certs/bundle.ca-bundle

  DocumentRoot /var/www/html/poweradmin
  DirectoryIndex index.php index.html
  ServerName <servername>

  <Directory /var/www/html/poweradmin>
      AllowOverride all
      Order allow,deny
      Allow from <your management subnets / IPs>
  </Directory>

</VirtualHost>

seliux

setsebool -P httpd_can_network_connect 1

Configure Poweradmin

Go to: https:<yourhost>/install/ and configure Poweradmin.

poweradmin_on_centos_6.4.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1