Nginx Autoinstaller
Do you need professional LNMP, Nginx , Memcached ,Nginx Cpanel installation services? Or someone to take care of your server for a reasonable rate? Contact me on admin@ruchirablog.com Pricing start at just $15 for basic LNMP installation.
I have published article about my modified nginx auto installer about little over a year ago. Which can be found here. Which got somewhat famous and counted over 1000 installs. The framework which I was used was came from a chinese developer called licess and the framework now has been evolved a lot and now we can count it as fully fledged auto installer. It now includes latest nginx version ( Which lacked at the time which I modified the script to include the latest and greatest) . And also now it includes separately tweaked installers for debian, centos, and ubuntu, which I had on my modified installer since day one
So its nice to see that he baked 2 options which my modified installer had since day one.
This installer is extremely useful but its not popular in the international community since its written in Chines and no support provided on English. So with this post I just wanted to introduce that great tool to you guys and edit the original source code little bit to remove the time zone rewrites.
What I have edited
- Original installer rewrites the time zone to China. I have removed that so your original time zone will remain on the server.
- Nginx 1.2.9 latest stable version is added
- Removed the server probe script because it can post a security risk
All the credits must go to Licess at www.lnmp.org for the original installer and your donations should go to him.
What does the installer include
- Nginx 1.2.9 ( Upgrade to the latest after the installation )
- PHP 5.2.17 ( Upgrade to the latest after the installation )
- Mysql 5.1.60
- PHPMyAdmin
- Eaccelerator (optional 1 click install)
- VsFTPd, PureFTPd (Optional 1 click install)
- PHP Suhousin Patch
- Memcached (optional)
- Zend Optimizer
install Instructions-
You can use debian/ubuntu/centos 32bit or 64bit. So login via SSH and issue these commands (you must be root user to install LNMP )-
1. Download the installer package-
2. Decompress the install package-.
3. Go to install directory-
4. Start installing-
It will ask some questions like your domain name , mysql root password ( Use your root password if you are newbie) just answer to them promptly.
It will take at least 30 minutes to fully install and then you will see a massage saying install completed. So then you can try navigating to your ip address to see it working.
After installation –
- PHPMyAdmin will be located on http://yourip/phpmyadmin
- Navigate to your url or ip and it will display a test page
1, install eAccelerator, execute the following command.
, follow the prompts to select the version, press Enter, it will automatically install and restart the web service.
2, the installation of ionCube, execute the following command
Enter to confirm, it will automatically install and restart the web service.
3, the installation imageMagick, execute the following command
Enter to confirm, it will automatically install and restart the web service.
4, install memcached, execute the following command
Enter to confirm, it will automatically install and restart the web service.
And a advantage of the new installer is you can upgrade nginx or php with just one shell command.
- To upgrade the nginx execute the following command:.
/upgrade_nginx.sh
It will prompt a thing which you need to enter the nginx version number. Its simply asking which version that you want to upgrade. So head over to http://nginx.org/en/download.html and find whats the newest nginx version and enter the number correctly on the shell prompt. For ex- 1.0.10 and press enter. its just easy!
- PHP upgrade, execute the following command:.
/upgrade_php.sh
prompted, enter your php version number, such as 5.3.6.
You can manage the LNMP by issuing these commands-
- For example if you want to restart lnmp issue
/root/lnmp restart
LNMP files will be located on
mysql: /usr/local/mysql
php: /usr/local/php
nginx: /usr/local/nginx
Site Directory: /home/wwwroot
How to add more domains (Virtual hosts) for this setup?
You can add more domains to your setup with easy steps. You just need to open your SSH client and type
And it will ask you which domain name to add also if you are setting up new domain for wordpress it can automatically add rewrite rules for your permalinks
Just answer for the questions when you run ./vhost.sh
Cant install this yourself? Cant get it to work with WordPress or any framework that you need? Do you want someone to manage your server and security ? I have 4 years of experience with Linux,Lighttpd,Nginx,Apache and WHM Cpanel . Contact me on admin@ruchirablog.com pricing starts at $15.
Here are another guides for full LNMP 0.9 setup!
-
How to upload files to LNMP0.9 without SSH deamon
-
How to setup DNS to point your domain to LNMP 0.9 server ip
-
How to enable and setup IPv6 easily on LNMP 0.9
-
How to install PHP APC caching on LNMP 0.9
So enjoy your server and please add a comment if you are happy with outcome!
PS- To keep in touch with updates (next releases) of this script you can subscribe to my email feed. No advertising or spam will be sent. You can unsubscribe at anytime! ![]()
-
http://buzzknow.com buzzknow
-
http://joglohosting.com JH
-
-
http://newbieshare.com newbie site
-
http://www.keephide.us keephide
-
Nnyan
-
http://buzzknow.com buzzknow
-
http://www.boniface.me Joshua B.
-
-
http://buzzknow.com buzzknow
-
http://www.keephide.us keephide
-
http://www.keephide.us keephide
-
http://www.keephide.us keephide
-
http://www.murshed.net Fahim Murshed
-
Moshe
-
http://www.keephide.us keephide
-
http://www.keephide.us keephide
-
Sam
-
http://www.r3z4prof.me r3z4prof
-
http://www.keephide.us keephide
-
http://www.bayoe.web.id bayoewebid
-
riyan
-
sandoz
-
sandoz
-
sandoz
-
sandoz
-
sandoz
-
sandoz
-
sandoz
-
http://d-and-x.net cloksin
-
sander
-
riyan
-
riyan
-
http://www.minitheatre.org/ Dregond Rahl
-
http://www.myarcade.ws/ Marl
-
http://www.myarcade.ws/ Marl
-
http://newbieshare.com Newbie
-
http://newbieshare.com Newbie Site
-
http://murshed.net Fahim
-
http://popgasm.info egi
-
http://sharedumb.com dani
-
Exone
-
http://woothy.com Woothy
-
http://www.bayoe.web.id bayoewebid
-
http://www.xenbox.net xen box
-
nima
-
popism
-
nima
-
Rain
-
Lady Marmalade
-
nima
-
nima
-
nima
-
nima
-
http://www.cekpr.com spam
-
http://www.myarcade.ws/ Marl
-
http://www.bayoe.web.id bayoewebid
-
john
-
http://www.myarcade.ws Marl
-
http://www.myarcade.ws/ Marl
-
john
-
http://www.gournadi.com Fahim Murshed
-
http://www.gournadi.com Fahim Murshed
-
http://www.google.com null
-
nima
-
http://www.google.com null
-
http://simplerain.com Dovy
-
nima
-
http://gournadi.com Fahim Murshed
-
Rifat Wahid Alif
-
http://www.r3z4prof.me r3z4prof
-
ruvs
-
http://www.r3z4prof.me r3z4prof
-
http://elggfactory.com/features.php Damir-ElggFactory
-
http://elggfactory.com/features.php Damir-ElggFactory
-
-
http://www.r3z4prof.me r3z4prof
-
http://www.r3z4prof.me r3z4prof
-
http://www.r3z4prof.me r3z4prof
-
Armando
-
http://simplerain.com Dovy
-
http://www.r3z4prof.me r3z4prof
-
http://muncang.com egi
-
-
http://muncang.com egi
-
http://www.elggfactory.com/ Damir-ElggFactory
-
http://www.elggfactory.com/ Damir-ElggFactory
-
http://www.r3z4prof.me r3z4prof
-
http://www.elggfactory.com/ Damir-ElggFactory
-
Trazx
-
Trazx
-
bagus
-
http://www.webnoob.it atthila
-
http://muncang.com egi
-
bagus
-
http://www.elggfactory.com/ Damir-ElggFactory
-
http://www.elggfactory.com/ Damir-ElggFactory
-
http://linksnappy.com bilal
-
frean
-
JaRo
-
http://www.olivierlebreton.com/ Oliver
-
Zarafolas
-
http://www.wpsparkle.com Jacqueline
-
http://www.bayoe.web.id bayoewebid
-
Nnyan
-
Nnyan
-
Bayu
-
Nnyan
-
LOse
-
egi
-
Tai Pe N
-
me
-
me
-
me
-
khal
-
http://www.bitpoin.com denir
-
Dan
-
egi
-
egi
-
gazy
-
Mike McGhee
-
onel0ve
-
TioPepe
-
http://www.cintanet.org pain
-
stranded
-
stranded
-
http://www.joinebook.com atulaus
-
http://www.joinebook.com atulaus
-
dante
-
pandjie
-
http://www.joinebook.com atulaus
-
shaifful
-
Dimitris
-
gepe
-
reza
-
http://www.idglabs.net idglabs
-
http://www.elggfactory.com/ Damir-ElggFactory
-
-
William
-
Matthew
-
http://www.elggfactory.com/ Damir-ElggFactory
-
http://www.elggfactory.com/ Damir-ElggFactory
-
http://www.r3z4prof.me r3z4prof
-
http://wuzzap.net gunnzolder
-
Chris
-
RJ
-
nima
-
nima
-
peter
-
Jens
-
http://www.squidoo.com/resorres91 Flyg Till Erbil
-
Andy
-
http://www.upload.co.id Erick
-
popo
-
Hoggart Simon
-
Kailash Sharma
-
http://satriahost.com/ Arif A
-
Chairul
-
Echiomega
-
http://hy1p.com/ DeathBat6661
-
Axl Mait
-
Nadeem Qureshi
-
http://www.bloggingbite.com BloggingBite.com
-
vasil
-
unkn0wn
-
-
Karam
-
unkn0wn
-
unkn0wn
-
http://www.myliteraturetechlife.com Webhosting blog
-
-
Amy
-
Tran Duc
-
irawanto
-
carlos
-
http://wdnec.com imran
-
nima
-
hebrew878
-
-
Mike
-
http://lazaac.com Lazaac
-
NeoLizzard
-
http://www.facebook.com/profile.php?id=510485448 Jean-Philippe Murray
-
RuchiraBlog
-
-
Narender
-
http://www.okenesia.com eko
-
Chathula
-
RuchiraBlog
-
Jullie Baresta
-
RuchiraBlog
-
Jullie Baresta
-
-
-
-
Matt
-
Matt



