How to install phpMyAdmin with Nginx in Ubuntu

This article explains the steps to install phpMyAdmin with Nginx webserver in Ubuntu machine.

Step1: Login to the server as root.

Step2: Install phpMyAdmin.

#apt-get install phpmyadmin

Step3: Select Nothing from popup and proceed and Nginx not there in list.

Step4: Configure Database.

Step5: Enter the MySQL credentials and proceed.

Step6: Create a symbolic link.

#ln -s /usr/share/phpmyadmin /var/www/html

Now phpMyAdmin will be available in the url "http://server-IP/phpmyadmin". Where server-IP should replace with the main ipaddress of server.

That's all…