

The file is located at /etc/httpd/conf.d/nf. Type the following at your command prompt: sudo vim /etc/phpMyAdmin/ This method can be used to grant remote access to a single workstation. By default, phpMyAdmin is configured so that the server it’s installed on has access. This change lets you allow or restrict access to specific IP addresses of different or additional computers. Here are two common ways of restricting access to unauthorized users. Your new software installation includes a default Apache configuration file. You’ll want to make some changes to that configuration to prevent unauthorized access. Step 4: Configuring and Securing phpMyAdmin Once the system executes the command, PHPMyAdmin is installed and ready to launch. To install PHPMyAdmin on CentOS, enter the command: sudo yum -y install phpmyadmin

Step 3: Installing phpMyAdmin on CentOS 7 You can also enter your server’s IP address in a browser and a testing screen should display: Verify the status of Apache by running with the command: systemctl status httpd To install Apache on CentOS use the command: yum install httpd -y PhpMyAdmin requires an active and running Apache web server. Once that operation finishes, it’s a good idea to refresh and update the EPEL repository: sudo yum –y update Step 2: Install Apache Web Server Type the following at the command prompt, then hit enter: sudo yum install -y epel-release (If you’ve already installed EPEL, you can skip this step.)ĬentOS 7 does not have access to phpMyAdmin in its default software repository. You’ll need to get access to the EPEL repository – the Extra Packages for Enterprise Linux. Installation of phpMyAdmin on CentOS 7 Step 1: Install EPEL Repository Vim is included with most Linux installations or you can use Nano. To open a command prompt: Menu > Applications > Utilities > Terminal. The YUM update manager, which is a default component of CentOS 7.Access to a sudo user account with root privileges (ability to use the sudo command).LAMP (Linux, Apache, MySQL, PHP) stack installed on the server.
