Install and Configure phpMyAdmin with Nginx on CentOS 7 | CentOS nginx phpMyAdmin
Today,I’llshowyouhowtoInstallandConfigurephpMyAdminwithNginxonCentOS7.Let’sfollowthesesteps:Step1:LogintoServerAtfirst,weneedtologintoourserverviaSSH.Openyourterminalandrunthiscommand:ssh[email protected][1]-pPORTStep2:InstallphpMyAdminFirst,weneedtoinstallEPELrepository.Bytypingthiscommand,installEPELrepositoryifnotinstalled:sudoyuminstallepel-releaseAfterinstallingEPELrepository,nowwecaninstallphpMyAdminbytypingthiscommand:sudoyuminstallphpmyadminWehavesuccessfullyinstalledphpMyAdmintoours...
Today, I’ll show you how to Install and Configure phpMyAdmin with Nginx on CentOS 7. Let’s follow these steps:
Step 1 : Login to ServerAt first, we need to login to our server via SSH. Open your terminal and run this command:
ssh [email protected][1] -p PORT Step 2 : Install phpMyAdminFirst, we need to install EPEL repository. By typing this command, install EPEL repository if not installed:
sudo yum install epel-releaseAfter installing EPEL repository, now we can install phpMyAdmin by typing this command:
sudo yum install phpmyadminWe have successfully installed phpMyAdmin to our server. We need to create a symbolic link from the installation files to our Nginx document root directory. Hit this command:
sudo ln -s /usr/share/phpMyAdmin /usr/share/nginx/htmlNow, restart the PHP processor:
sudo systemctl restart php-fpmTo access the phpMyAdmin interface type this on a browser:
http://server_ip/phpMyAdmin Step 3 : Configure phpMy...