10Update - amagerard/PowerDNS GitHub Wiki

HOME

RedHat/Powerdns

1- Network 2- Pdns 3- Mariadb 4- PowerAdmin 5- PdnsRecursor 6- Selinux
7- GnomeShell 8-Synoptic 09-ManageDns 10-Update

10 Update.

10.1 New installation with RedHat 9.5.

January 26, 2025.
I did a clean install again.
And restore the powerdns database from Almalinux.
I have not tested the powerdns migration from Redhat 9.4 to 9.5.
I think it is the same procedure as with Almalinux.

10.2 Updated September 4, 2024 (with nginx).

This follows a preceding installation with a VM Template Alamlinux 9.3
The procedure allows you to update:

  • Almalinux 9.3 to 9.4
  • Mariadb 11.2.2 to 11.5.2
  • pdns 4.8 to 4.8.4
  • PHP 8.3 to 8.3.11
  • Poweradmin 3.6.1 to 3.8.1

10.2.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable nginx  

10.2.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.2.3 Restart DNS1.

reboot

10.2.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.2.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.2.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.2.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.2.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.2.9 Update all packages.

dnf update
It is possible to have to remove iptables-legacy.

10.2.10 Install MariaDB.

dnf install MariaDB-server
systemctl start mariadb
mariadb-upgrade -u root -p
All is "OK".

10.2.11 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.2.12 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.2.13 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.2.14 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.2.15 Replace php configuration for nginx.

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.2.16 Install latest poweradmin - 3.8.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.8.1.tar.gz
tar xvzf v3.8.1.tar.gz
cp -R /opt/poweradmin-3.8.1 /var/www/html/
mv /var/www/html/poweradmin-3.8.1 /var/www/html/poweradmin
chown -R nginx:nginx /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown nginx:nginx /var/www/html/poweradmin/inc/config.inc.php

10.2.17 Start Nginx.

systemctl start nginx

10.2.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.2.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.2.20 Restart DNS1.

reboot

10.2.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now nginx  
systemctl enable --now php-fpm  

10.2.22 The End.

10.3 Updated php-fpm-8.3.11-1 August 28, 2024 (only with nginx).

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.4 Update december 16,2023 (with apache)

This follows a preceding installation with a
VM Template Alamlinux 9.2
The procedure allows you to update:

  • Almalinux 9.2 to 9.3
  • Mariadb 11.0.2 to 11.2.2
  • pdns 4.7 to 4.8
  • PHP 8.2 to 8.3
  • Poweradmin 3.5.1 to 3.6.1

10.4.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable httpd  

10.4.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.4.3 Restart DNS1.

reboot

10.4.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.4.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.4.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.4.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.4.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.4.9 Update all packages.

dnf update

10.4.10 Move ssl.conf.

mv /etc/httpd/conf.d/ssl.conf /etc/httpd/sites-available/ssl.conf_ori

10.4.11 Install MariaDB.

dnf install MariaDB-server

10.4.11.1 Start MariaDB.

systemctl start mariadb

10.4.11.2 Update database powerdns.

Only you have old pdns 4.6.
mariadb -u root -p

MariaDB [(none)]> use powerdns;  
MariaDB [powerdns]>  
ALTER TABLE domains ADD options VARCHAR(64000) DEFAULT NULL;  
ALTER TABLE domains ADD catalog VARCHAR(255) DEFAULT NULL;  
ALTER TABLE domains MODIFY type VARCHAR(8) NOT NULL;  
CREATE INDEX catalog_idx ON domains(catalog);  
FLUSH PRIVILEGES;  
exit  

10.4.11.3 Update MariaDB.

mariadb-upgrade -u root -p
All is "OK".

10.4.12 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.4.13 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.4.14 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.4.15 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.4.16 Install latest poweradmin - 3.6.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.6.1.tar.gz
tar xvzf v3.6.1.tar.gz
cp -R /opt/poweradmin-3.6.1 /var/www/html/
mv /var/www/html/poweradmin-3.6.1 /var/www/html/poweradmin
chown -R apache:apache /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown apache:apache /var/www/html/poweradmin/inc/config.inc.php

10.4.17 Start httpd.

systemctl start httpd

10.4.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.4.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.4.20 Restart DNS1.

reboot

10.4.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now httpd  
systemctl enable --now php-fpm  

10.4.22 The End.

amagerard/Home

RedHat/Powerdns

1- Network 2- Pdns 3- Mariadb 4- PowerAdmin 5- PdnsRecursor 6- Selinux
7- GnomeShell 8-Synoptic 09-ManageDns 10-Update

10 Update.

10.1 New installation with RedHat 9.5.

January 26, 2025.
I did a clean install again.
And restore the powerdns database from Almalinux.
I have not tested the powerdns migration from Redhat 9.4 to 9.5.
I think it is the same procedure as with Almalinux.

10.2 Updated September 4, 2024 (with nginx).

This follows a preceding installation with a VM Template Alamlinux 9.3
The procedure allows you to update:

  • Almalinux 9.3 to 9.4
  • Mariadb 11.2.2 to 11.5.2
  • pdns 4.8 to 4.8.4
  • PHP 8.3 to 8.3.11
  • Poweradmin 3.6.1 to 3.8.1

10.2.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable nginx  

10.2.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.2.3 Restart DNS1.

reboot

10.2.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.2.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.2.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.2.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.2.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.2.9 Update all packages.

dnf update
It is possible to have to remove iptables-legacy.

10.2.10 Install MariaDB.

dnf install MariaDB-server
systemctl start mariadb
mariadb-upgrade -u root -p
All is "OK".

10.2.11 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.2.12 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.2.13 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.2.14 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.2.15 Replace php configuration for nginx.

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.2.16 Install latest poweradmin - 3.8.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.8.1.tar.gz
tar xvzf v3.8.1.tar.gz
cp -R /opt/poweradmin-3.8.1 /var/www/html/
mv /var/www/html/poweradmin-3.8.1 /var/www/html/poweradmin
chown -R nginx:nginx /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown nginx:nginx /var/www/html/poweradmin/inc/config.inc.php

10.2.17 Start Nginx.

systemctl start nginx

10.2.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.2.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.2.20 Restart DNS1.

reboot

10.2.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now nginx  
systemctl enable --now php-fpm  

10.2.22 The End.

10.3 Updated php-fpm-8.3.11-1 August 28, 2024 (only with nginx).

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.4 Update december 16,2023 (with apache)

This follows a preceding installation with a
VM Template Alamlinux 9.2
The procedure allows you to update:

  • Almalinux 9.2 to 9.3
  • Mariadb 11.0.2 to 11.2.2
  • pdns 4.7 to 4.8
  • PHP 8.2 to 8.3
  • Poweradmin 3.5.1 to 3.6.1

10.4.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable httpd  

10.4.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.4.3 Restart DNS1.

reboot

10.4.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.4.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.4.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.4.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.4.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.4.9 Update all packages.

dnf update

10.4.10 Move ssl.conf.

mv /etc/httpd/conf.d/ssl.conf /etc/httpd/sites-available/ssl.conf_ori

10.4.11 Install MariaDB.

dnf install MariaDB-server

10.4.11.1 Start MariaDB.

systemctl start mariadb

10.4.11.2 Update database powerdns.

Only you have old pdns 4.6.
mariadb -u root -p

MariaDB [(none)]> use powerdns;  
MariaDB [powerdns]>  
ALTER TABLE domains ADD options VARCHAR(64000) DEFAULT NULL;  
ALTER TABLE domains ADD catalog VARCHAR(255) DEFAULT NULL;  
ALTER TABLE domains MODIFY type VARCHAR(8) NOT NULL;  
CREATE INDEX catalog_idx ON domains(catalog);  
FLUSH PRIVILEGES;  
exit  

10.4.11.3 Update MariaDB.

mariadb-upgrade -u root -p
All is "OK".

10.4.12 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.4.13 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.4.14 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.4.15 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.4.16 Install latest poweradmin - 3.6.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.6.1.tar.gz
tar xvzf v3.6.1.tar.gz
cp -R /opt/poweradmin-3.6.1 /var/www/html/
mv /var/www/html/poweradmin-3.6.1 /var/www/html/poweradmin
chown -R apache:apache /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown apache:apache /var/www/html/poweradmin/inc/config.inc.php

10.4.17 Start httpd.

systemctl start httpd

10.4.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.4.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.4.20 Restart DNS1.

reboot

10.4.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now httpd  
systemctl enable --now php-fpm  

10.4.22 The End.

amagerard/Home

RedHat/Powerdns

1- Network 2- Pdns 3- Mariadb 4- PowerAdmin 5- PdnsRecursor 6- Selinux
7- GnomeShell 8-Synoptic 09-ManageDns 10-Update

10 Update.

10.1 New installation with RedHat 9.5.

January 26, 2025.
I did a clean install again.
And restore the powerdns database from Almalinux.
I have not tested the powerdns migration from Redhat 9.4 to 9.5.
I think it is the same procedure as with Almalinux.

10.2 Updated September 4, 2024 (with nginx).

This follows a preceding installation with a VM Template Alamlinux 9.3
The procedure allows you to update:

  • Almalinux 9.3 to 9.4
  • Mariadb 11.2.2 to 11.5.2
  • pdns 4.8 to 4.8.4
  • PHP 8.3 to 8.3.11
  • Poweradmin 3.6.1 to 3.8.1

10.2.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable nginx  

10.2.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.2.3 Restart DNS1.

reboot

10.2.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.2.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.2.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.2.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.2.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.2.9 Update all packages.

dnf update
It is possible to have to remove iptables-legacy.

10.2.10 Install MariaDB.

dnf install MariaDB-server
systemctl start mariadb
mariadb-upgrade -u root -p
All is "OK".

10.2.11 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.2.12 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.2.13 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.2.14 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.2.15 Replace php configuration for nginx.

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.2.16 Install latest poweradmin - 3.8.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.8.1.tar.gz
tar xvzf v3.8.1.tar.gz
cp -R /opt/poweradmin-3.8.1 /var/www/html/
mv /var/www/html/poweradmin-3.8.1 /var/www/html/poweradmin
chown -R nginx:nginx /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown nginx:nginx /var/www/html/poweradmin/inc/config.inc.php

10.2.17 Start Nginx.

systemctl start nginx

10.2.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.2.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.2.20 Restart DNS1.

reboot

10.2.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now nginx  
systemctl enable --now php-fpm  

10.2.22 The End.

10.3 Updated php-fpm-8.3.11-1 August 28, 2024 (only with nginx).

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.4 Update december 16,2023 (with apache)

This follows a preceding installation with a
VM Template Alamlinux 9.2
The procedure allows you to update:

  • Almalinux 9.2 to 9.3
  • Mariadb 11.0.2 to 11.2.2
  • pdns 4.7 to 4.8
  • PHP 8.2 to 8.3
  • Poweradmin 3.5.1 to 3.6.1

10.4.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable httpd  

10.4.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.4.3 Restart DNS1.

reboot

10.4.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.4.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.4.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.4.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.4.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.4.9 Update all packages.

dnf update

10.4.10 Move ssl.conf.

mv /etc/httpd/conf.d/ssl.conf /etc/httpd/sites-available/ssl.conf_ori

10.4.11 Install MariaDB.

dnf install MariaDB-server

10.4.11.1 Start MariaDB.

systemctl start mariadb

10.4.11.2 Update database powerdns.

Only you have old pdns 4.6.
mariadb -u root -p

MariaDB [(none)]> use powerdns;  
MariaDB [powerdns]>  
ALTER TABLE domains ADD options VARCHAR(64000) DEFAULT NULL;  
ALTER TABLE domains ADD catalog VARCHAR(255) DEFAULT NULL;  
ALTER TABLE domains MODIFY type VARCHAR(8) NOT NULL;  
CREATE INDEX catalog_idx ON domains(catalog);  
FLUSH PRIVILEGES;  
exit  

10.4.11.3 Update MariaDB.

mariadb-upgrade -u root -p
All is "OK".

10.4.12 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.4.13 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.4.14 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.4.15 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.4.16 Install latest poweradmin - 3.6.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.6.1.tar.gz
tar xvzf v3.6.1.tar.gz
cp -R /opt/poweradmin-3.6.1 /var/www/html/
mv /var/www/html/poweradmin-3.6.1 /var/www/html/poweradmin
chown -R apache:apache /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown apache:apache /var/www/html/poweradmin/inc/config.inc.php

10.4.17 Start httpd.

systemctl start httpd

10.4.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.4.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.4.20 Restart DNS1.

reboot

10.4.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now httpd  
systemctl enable --now php-fpm  

10.4.22 The End.

amagerard/Home

RedHat/Powerdns

1- Network 2- Pdns 3- Mariadb 4- PowerAdmin 5- PdnsRecursor 6- Selinux
7- GnomeShell 8-Synoptic 09-ManageDns 10-Update

10 Update.

10.1 New installation with RedHat 9.5.

January 26, 2025.
I did a clean install again.
And restore the powerdns database from Almalinux.
I have not tested the powerdns migration from Redhat 9.4 to 9.5.
I think it is the same procedure as with Almalinux.

10.2 Updated September 4, 2024 (with nginx).

This follows a preceding installation with a VM Template Alamlinux 9.3
The procedure allows you to update:

  • Almalinux 9.3 to 9.4
  • Mariadb 11.2.2 to 11.5.2
  • pdns 4.8 to 4.8.4
  • PHP 8.3 to 8.3.11
  • Poweradmin 3.6.1 to 3.8.1

10.2.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable nginx  

10.2.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.2.3 Restart DNS1.

reboot

10.2.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.2.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.2.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.2.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.2.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.2.9 Update all packages.

dnf update
It is possible to have to remove iptables-legacy.

10.2.10 Install MariaDB.

dnf install MariaDB-server
systemctl start mariadb
mariadb-upgrade -u root -p
All is "OK".

10.2.11 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.2.12 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.2.13 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.2.14 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.2.15 Replace php configuration for nginx.

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.2.16 Install latest poweradmin - 3.8.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.8.1.tar.gz
tar xvzf v3.8.1.tar.gz
cp -R /opt/poweradmin-3.8.1 /var/www/html/
mv /var/www/html/poweradmin-3.8.1 /var/www/html/poweradmin
chown -R nginx:nginx /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown nginx:nginx /var/www/html/poweradmin/inc/config.inc.php

10.2.17 Start Nginx.

systemctl start nginx

10.2.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.2.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.2.20 Restart DNS1.

reboot

10.2.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now nginx  
systemctl enable --now php-fpm  

10.2.22 The End.

10.3 Updated php-fpm-8.3.11-1 August 28, 2024 (only with nginx).

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.4 Update december 16,2023 (with apache)

This follows a preceding installation with a
VM Template Alamlinux 9.2
The procedure allows you to update:

  • Almalinux 9.2 to 9.3
  • Mariadb 11.0.2 to 11.2.2
  • pdns 4.7 to 4.8
  • PHP 8.2 to 8.3
  • Poweradmin 3.5.1 to 3.6.1

10.4.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable httpd  

10.4.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.4.3 Restart DNS1.

reboot

10.4.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.4.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.4.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.4.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.4.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.4.9 Update all packages.

dnf update

10.4.10 Move ssl.conf.

mv /etc/httpd/conf.d/ssl.conf /etc/httpd/sites-available/ssl.conf_ori

10.4.11 Install MariaDB.

dnf install MariaDB-server

10.4.11.1 Start MariaDB.

systemctl start mariadb

10.4.11.2 Update database powerdns.

Only you have old pdns 4.6.
mariadb -u root -p

MariaDB [(none)]> use powerdns;  
MariaDB [powerdns]>  
ALTER TABLE domains ADD options VARCHAR(64000) DEFAULT NULL;  
ALTER TABLE domains ADD catalog VARCHAR(255) DEFAULT NULL;  
ALTER TABLE domains MODIFY type VARCHAR(8) NOT NULL;  
CREATE INDEX catalog_idx ON domains(catalog);  
FLUSH PRIVILEGES;  
exit  

10.4.11.3 Update MariaDB.

mariadb-upgrade -u root -p
All is "OK".

10.4.12 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.4.13 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.4.14 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.4.15 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.4.16 Install latest poweradmin - 3.6.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.6.1.tar.gz
tar xvzf v3.6.1.tar.gz
cp -R /opt/poweradmin-3.6.1 /var/www/html/
mv /var/www/html/poweradmin-3.6.1 /var/www/html/poweradmin
chown -R apache:apache /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown apache:apache /var/www/html/poweradmin/inc/config.inc.php

10.4.17 Start httpd.

systemctl start httpd

10.4.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.4.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.4.20 Restart DNS1.

reboot

10.4.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now httpd  
systemctl enable --now php-fpm  

10.4.22 The End.

amagerard/Home

RedHat/Powerdns

1- Network 2- Pdns 3- Mariadb 4- PowerAdmin 5- PdnsRecursor 6- Selinux
7- GnomeShell 8-Synoptic 09-ManageDns 10-Update

10 Update.

10.1 New installation with RedHat 9.5.

January 26, 2025.
I did a clean install again.
And restore the powerdns database from Almalinux.
I have not tested the powerdns migration from Redhat 9.4 to 9.5.
I think it is the same procedure as with Almalinux.

10.2 Updated September 4, 2024 (with nginx).

This follows a preceding installation with a VM Template Alamlinux 9.3
The procedure allows you to update:

  • Almalinux 9.3 to 9.4
  • Mariadb 11.2.2 to 11.5.2
  • pdns 4.8 to 4.8.4
  • PHP 8.3 to 8.3.11
  • Poweradmin 3.6.1 to 3.8.1

10.2.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable nginx  

10.2.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.2.3 Restart DNS1.

reboot

10.2.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.2.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.2.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.2.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.2.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.2.9 Update all packages.

dnf update
It is possible to have to remove iptables-legacy.

10.2.10 Install MariaDB.

dnf install MariaDB-server
systemctl start mariadb
mariadb-upgrade -u root -p
All is "OK".

10.2.11 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.2.12 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.2.13 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.2.14 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.2.15 Replace php configuration for nginx.

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.2.16 Install latest poweradmin - 3.8.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.8.1.tar.gz
tar xvzf v3.8.1.tar.gz
cp -R /opt/poweradmin-3.8.1 /var/www/html/
mv /var/www/html/poweradmin-3.8.1 /var/www/html/poweradmin
chown -R nginx:nginx /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown nginx:nginx /var/www/html/poweradmin/inc/config.inc.php

10.2.17 Start Nginx.

systemctl start nginx

10.2.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.2.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.2.20 Restart DNS1.

reboot

10.2.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now nginx  
systemctl enable --now php-fpm  

10.2.22 The End.

10.3 Updated php-fpm-8.3.11-1 August 28, 2024 (only with nginx).

  • You must do :
    Change apache by nginx .

vi /etc/php-fpm.d/www.conf

user : nginx  
group : nginx  

cd /var/lib/php

chgrp -R nginx opcache
chgrp -R nginx session
chgrp -R nginx wsdlcache
systemctl restart php-fpm

systemctl restart php-fpm
systemctl restart nginx

10.4 Update december 16,2023 (with apache)

This follows a preceding installation with a
VM Template Alamlinux 9.2
The procedure allows you to update:

  • Almalinux 9.2 to 9.3
  • Mariadb 11.0.2 to 11.2.2
  • pdns 4.7 to 4.8
  • PHP 8.2 to 8.3
  • Poweradmin 3.5.1 to 3.6.1

10.4.1 Disable all services.

systemctl disable mariadb  
systemctl disable pdns  
systemctl disable pdns-recursor  
systemctl disable php-fpm  
systemctl disable httpd  

10.4.2 Selinux permissive.

vi /etc/crontab
@reboot root setenforce 0

10.4.3 Restart DNS1.

reboot

10.4.4 Put Cloudflare DNS.

vi /etc/resolv.conf
name server 1.1.1.1

10.4.5 Uninstall MariaDB-server.

dnf remove MariaDB-server

10.4.6 Uninstall PHP.

dnf remove php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl

10.4.7 Move poweradmin.

mv /var/www/html/poweradmin /var/www/html/poweradmin_old

10.4.8 Update MariaDB.

curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | bash

10.4.9 Update all packages.

dnf update

10.4.10 Move ssl.conf.

mv /etc/httpd/conf.d/ssl.conf /etc/httpd/sites-available/ssl.conf_ori

10.4.11 Install MariaDB.

dnf install MariaDB-server

10.4.11.1 Start MariaDB.

systemctl start mariadb

10.4.11.2 Update database powerdns.

Only you have old pdns 4.6.
mariadb -u root -p

MariaDB [(none)]> use powerdns;  
MariaDB [powerdns]>  
ALTER TABLE domains ADD options VARCHAR(64000) DEFAULT NULL;  
ALTER TABLE domains ADD catalog VARCHAR(255) DEFAULT NULL;  
ALTER TABLE domains MODIFY type VARCHAR(8) NOT NULL;  
CREATE INDEX catalog_idx ON domains(catalog);  
FLUSH PRIVILEGES;  
exit  

10.4.11.3 Update MariaDB.

mariadb-upgrade -u root -p
All is "OK".

10.4.12 Update your dns.

Change 1.1.1.1 to <IP DNS1>
vi /etc/resolv.conf
name server <IP DNS1>

10.4.13 Start pdns.

systemctl start pdns
View status pdns.
systemctl status pdns
Open another terminal console.
journalctl -f
Show any errors.
Ckeck zone.
pdnsutil list-zone ol26modk.com

10.4.14 Start pdns-recursor.

systemctl start pdns-recursor
View by nslookup.
nslookup dns1.ol26modk.com
nslookup google.com

10.4.15 Install php.

PHP installation from the remi repository.
dnf install http://fr2.rpmfind.net/linux/remi/enterprise/remi-release-9.2.rpm
Choose php version 8.3
PHP module flow reset.
dnf module reset php
Enable PHP module stream: REMI-8.3.
dnf module enable php:remi-8.3
Install php packages.
dnf install php-common php-pdo php-cli php-fpm php-mbstring php-opcache php-xml php php-mysqlnd php-gd php-intl
Start the php-fpm service.
systemctl start php-fpm

10.4.16 Install latest poweradmin - 3.6.1

cd /opt
wget https://github.com/poweradmin/poweradmin/archive/refs/tags/v3.6.1.tar.gz
tar xvzf v3.6.1.tar.gz
cp -R /opt/poweradmin-3.6.1 /var/www/html/
mv /var/www/html/poweradmin-3.6.1 /var/www/html/poweradmin
chown -R apache:apache /var/www/html/poweradmin
Move file install.
mv /var/www/html/poweradmin/install /var/www/html/poweradmin/backup
Copy your config.inc.php old version poweradmin.
mv /var/www/html/poweradmin_old/inc/config.inc.php /var/www/html/poweradmin/inc/config.inc.php
chown apache:apache /var/www/html/poweradmin/inc/config.inc.php

10.4.17 Start httpd.

systemctl start httpd

10.4.18 Open poweradmin.

https://<ip DNS1>/poweradmin/

10.4.19 Selinux enforcing.

vi /etc/crontab
#@reboot root setenforce 0
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot

10.4.20 Restart DNS1.

reboot

10.4.21 Start all services.

be careful with selinux.
Verify that setroubleshoot is present.
rpm -qa| grep setroubleshoot
If not present, it will have to be installed.
dnf install setroubleshoot
Restart the machine.
reboot ou init 6

systemctl enable --now mariadb  
systemctl enable --now pdns  
systemctl enable --now pdns-recursor  
systemctl enable --now httpd  
systemctl enable --now php-fpm  

10.4.22 The End.

⚠️ **GitHub.com Fallback** ⚠️