Install appropriate packages using yum:
- Apache - httpd
- PHP - php, php-mysql
- MySQL - mysql, mysql-server, phpMyAdmin
[root@bigfoot ~]# systemctl enable httpd.service
[root@bigfoot ~]# systemctl enable mysqld.service
Once you have started the mysqld service (either during bootup or manually) you will need to set the mysql root passwd. Probably not a good idea to use the same password as your system root password!
[root@bigfoot ~]# mysqladmin -u root password 'my new root password'
Make any edits required to vi /etc/phpMyAdmin/config.inc.php
Restart httpd.service:
[root@bigfoot ~]# systemctl restart httpd.service
You should now be able to use mysqladmin or phpMyAdmin to administer your database server.
Use localhost/phpMyAdmin to administer your database, use the root user and password you created earlier to login and manage your MySQL users. Don't forget if you allow external traffic to view your http server, they may be able to access phpMyAdmin, so make sure your passwords are good!