Forum: NGINX CentOS Nginx Installer(include PHP-FTP, MYSQL) add website no need restart Nginx

2974d09ac2541e892966b762aad84943?d=identicon&s=25 ComfortVPS (Guest)
on 2014-01-04 07:19
(Received via mailing list)
Some of our clients are not good at SSH command, they just want an easy
way
to run their websites. Most of them are less then 1GB memory VPS and
don't
want install control panel.

For this purpose, we wrote a CentOS Nginx Installer script for
"Nginx+PHP+MySql+phpMyAdmin"

What's you need to do is: Copy and post/run below single command line
via
SSH root login. wait 5-15 minutes(depending on the software download
speed
from your server), Everything is Done!

############ Automatically install command line ############


wget -O /tmp/npmp.sh
https://raw.github.com/ComfortVPS/Nginx-PHP-MySql-...
sh /tmp/npmp.sh;


############ Installation Requirement ############

CentOS 5.x/6.x 32bit or 64bit ( We recommend you Reload OS before run
the
installer )

Guarantee Memory >= 128MB

Free Disk space >=2GB


############ Fetures ############


You can add multiple websites directly via SFTP, no need to login SSH,
no
need to restart Nginx

You can easily custom config each website domain's Nginx config file if
you
need

Installed the newest stable version of Nginx, PHP-FPM, MySql by YUM

phpMyAdmin4.x installed and ready for use. Just login and manage mysql
database as you want

Work perfectly for low memory VPS with ram >= 128MB

Many tutorials for how to use

Get your password after everything installed

Your SSH console screen will show something like below after
successfully
installed, Please record your password. The unique password was random
generated by openssl, no need to change.


############ Information you will get after installation (below is an
example) ############


====== 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.



############ More tutorials ############

http://goo.gl/tNFb0

We will continue to write more tutorials for how to use it.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,246005,246005#msg-246005
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.