Update- I have modified this script to use nginx latest version and the whole guide for complete web site including DNS setup can be found on here

Nginx is become just easy for newbies. thanks for the Chinese developer Licess installing nginx+PHP-FPM+Eaccelarator+Mysql+Pureftpd is easy as 1 2 3. The developers site is www.lnmp.org its really glad to see that he is supplying this for free because these kind of developers really rare now a days.
So lets get started LNMP stands for Linux+Nginx+Mysql+PHP So if you have dedicated server or VPS just follow these instructions and setup your nginx server.
LNMP supports Centos 5.5 ( Will lnmp automatically update older centos by using “yum update” when installing) and Debian.
LNMP includes the following scripts
Nginx latest stable version 0.7.67
Mysql
PHPmyadmin
Zend Optimizer
E Accelerator
Pureftpd
And provide support for single web site without manually modifying nginx.conf
Lets get started,
First you need to fireup your SSH client ( PUTTY)
2. Then lets download the source installation file from the developer site. Run this commands on your SSH client
wget -c www.ruchirablog.com/nginx/lnmp0.5.tar.gz
Its a tarball ( means compressed file) So wee need to uncompress that. So run this,
tar zxvf lnmp0.5.tar.gz
Then we need to move to the file directory
cd lnmp0.5
Downloading and preparing of the installation file completed. Then we need to run installation file based on your OS
If you are Centos user here is the command for you
./centos.sh
If you are debian user run this command-
./debian.sh
If run correct installer according to your OS now LNMP will begin to install the things I mentioned on top,
And it will ask you some questions like to enter your web site url. If you are running this for test just enter your server ip address. And it will ask for mysql root password. If you are newbie just provide your root password which you used to login to SSH and server!
The installer program will begin to install the programs now and it will take at least 20 minutes so be patient its working!
After installation it will provide you details about directory paths of nginx (You dont need to manually edit nginx.conf file if you provide the correct domain name which you need to use on the server when installing)
So its easy like that!
Wait you need to install eaccelerator and pureftpd after the installation finished. Just run this for eaccelerator if you need! ( I recommend installing it)
./eaccelerator.sh
And run this if you need ftp server-
./pureftpd.sh
After installing you can access to installed modules by
phpinfo : http://your IP/phpinfo.php
phpMyAdmin : http://your IP/phpmyadmin/
Pointer : http://your IP/p.php
You can manage the server by issuing following commands
LNMP Server: /root/lnmp {start|stop|reload|restart|kill|status}
PureFTPd Server /root/pureftpd {start|stop|restart|kill|status}
If you want to check LNMP server status, just log into SSH, and then type in /root/lnmp status
Note that default commands to start,restart,stop modules will not work with lnmp ( “Service nginx restart” etc) but its not a problem! So go ahead and install nginx!
Update- here is how to setup lnmp for complete wordpress site- http://www.ruchirablog.com/complete-nginx-setup-for-wordpress/
Last 5 posts by Ruchira
- Slotomania Free Slot Games Review - February 24th, 2015
- The Role of Social Media and SEO - October 25th, 2013
- Google announces uProxy to overcome internet censorship - October 22nd, 2013
- Command line bandwidth monitors for Linux - October 21st, 2013
- Problem Kids: When You Know How To Spy On iPhone Remotely, You Worry Less And Focus Better! - August 19th, 2013


