wget -O /tmp/npmp.sh https://raw.github.com/ComfortVPS/Nginx-PHP-MySql-phpMyAdmin/master/install-nginx-php-mysql.sh; sh /tmp/npmp.sh;
############ Information you will get after installation (below is an example) ############
PHP Code:
====== Nginx + PHP-FPM + MYSQL Successfully installed
====== MySql root password is cft.KL7fvW2g
====== SFTP Username is myweb
====== SFTP Password is cft.KL7fvW2g
====== Website document root is /www/yourdomain
====== Add websites tutorials: http://goo.gl/sdDF9
====== Now you can visit http://your-ip-address/
====== Eg. http://50.3.62.173/
====== phpMyAdmin: http://50.3.62.173/phpMyAdmin4U/
====== More tutorials: http://goo.gl/tNFb0
############ How to add multiple websites via SFTP ? ############
Step 1, Create a domain name directory under /www via SFTP, eg, yourdomain.com, subdomain.abc.com, domain-name.net
Step 2, Everything is Done, Config Nginx virtual host is finish, upload your php/html files to that directory then test it.