Installing phpMyAdmin+Magento on Ubuntu 11.04+ for Nginx Web Server

Before proceeding make sure you have a working LEMP installation following this tutorial .

Make sure you are logged with root privileges.

Installing phpMyAdmin

apt-get install phpmyadmin

-Press ‘Y’ on promt during installation

-Web Server to reconfigure automatically : select none (apache2 and lighttpd are ) -> Press Esc to select none

Vhost Configuration

mkdir -p /var/www/www.example.com/web

-p, no error if existing, make parent directories as needed

- replace www.example.com with your domain name or IP address.

Continue reading