User Tools

Site Tools


powerdns_centos7

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
powerdns_centos7 [2015/06/24 19:17] herwarthpowerdns_centos7 [2015/06/24 20:34] (current) herwarth
Line 3: Line 3:
   * Download latest poweradmin [[https://sourceforge.net/projects/poweradmin/files/latest/download?source=directory]]   * Download latest poweradmin [[https://sourceforge.net/projects/poweradmin/files/latest/download?source=directory]]
 =====Installation===== =====Installation=====
-  yum install pdns-backend-mysql pdns-recursor mariadb-server httpd php mod_ssl+  yum install pdns-backend-mysql pdns-recursor mariadb-server httpd php mod_ssl php-mcrypt php-pdo php-mysql
   systemctl enable mariadb   systemctl enable mariadb
   systemctl start mariadb   systemctl start mariadb
Line 82: Line 82:
     DocumentRoot /usr/share/poweradmin/     DocumentRoot /usr/share/poweradmin/
     <Directory /usr/share/poweradmin>     <Directory /usr/share/poweradmin>
-      Options FollowSymLinks MultiViews +      Require all granted
-      AllowOverride None +
-      Order allow,deny +
-      allow from all+
     </Directory>     </Directory>
  
Line 96: Line 93:
 </VirtualHost> </VirtualHost>
 </code> </code>
 +
 +  setsebool -P httpd_can_network_connect 1
 +  systemctl restart httpd
 +
 +Go to your URL: [[http://dns.mngt.bh.helux.nl/install]] and follow the instructions.
 +
 +=====Backup and restore=====
 +On the old server with older PowerDNS database:
 +  mysqldump -u powerdns -p powerdns > /var/tmp/backup_tables.sql
 +
 +On the new server:
 +  mysql -u powerdns -p powerdns < /var/tmp/backup_tables.sql
 +
 +Upgrade to new schema:
 +  mysql -u powerdns -p powerdns < /usr/share/doc/pdns-backend-mysql-3.4.4/nodnssec-3.x_to_3.4.0_schema.mysql.sql
 +{{tag>centos}}
powerdns_centos7.1435173475.txt.gz · Last modified: by herwarth