How to install phpMyAdmin on Linux (AlmaLinux – CentOs commands will work)
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf –enablerepo=remi install phpMyAdmin
nano /etc/httpd/conf.d/phpMyAdmin.conf
sudo httpd -t
systemctl restart httpd
Accesss:
http://your-server-ip/phpMyAdmin
Ref: https://www.liquidweb.com/help-docs/how-to-install-phpmyadmin-on-linux-almalinux/
Commands from this URL worked. In my case, I only executed the above commands.