Let’s disable root user login for the phpMyAdmin for security purposes. You have successfully configured phpMyAdmin on CentOS 8 system. Log in with the username and password used to access MySQL on the command line. Replace your-server-ip with the localhost (for the local machine) for server IP address. You have finished the setup with the phpMyAdmin on CentOS 8 Linux machine. sudo firewall-cmd -permanent -add-service=httpĪll done. ![]() Run the below commands to open a port for the webserver in the firewall. The systems with enabled firewalls need to allow HTTP service from the firewall. The systems with SELinux enabled needs to set proper permissions to allow SELinux policies chcon -Rv -type=httpd_sys_content_t /usr/share/phpmyadmin/*Īfter making all the changes, make sure to start the Apache service to reload all settings. Create Apache configuration file for phpMyAdmin and edit in text editor: vi /etc/httpd/conf.d/nf Now, you need to configure web server to serve phpMyAdmin on network. mkdir /usr/share/phpmyadmin/tmpĬhown -R apache:apache /usr/share/phpmyadmin Then create tmp directory and set the proper permissions. Mv phpMyAdmin-5.0.1-all-languages /usr/share/phpmyadmin Download the latest phpMyAdmin archive from the official download page, or use the below commands to download phpMyAdmin 5.0.1 on your system.Īfter downloading extract archive and move to the proper location. Your system is ready for the phpMyAdmin installation. Once the installation finished, enable and start httpd web server. Sudo dnf install php php-pdo php-pecl-zip php-json php-mbstring php-mysqlnd So just install the other required packages to run and access phpMyAdmin. We are assuming you already have installed the MySQL server on CentOS 8 operating system. sudo grep 'A temporary password' /var/log/mysqld.log tail -1. 2.2 Copy the generated random password for the root user. ![]() 2.1 After the installation, start mysqld service. This tutorial will help you with the installation and configuration of phpMyAdmin on the CentOS 8 Linux system. Step 3: Configure MySQL 5.7 on CentOS 8 / RHEL 8. The current phpMyAdmin version is compatible with PHP 7.1 and newer and MySQL 5.5 and newer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |