Results 1 to 25 of 33
-
11-02-2010, 07:17 AM #1WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
Install Nginx 0.8.53 +phpmyadmin+mysql+php-fpm+ftp script!
Hello,
I have modified LNMP.org's nginx install script to install latest stable nginx version without legacy stable versions because lots people asked for it!
This script will install-
* Nginx 0.8.53
* PHP 5.2.14 ( Didn’t updated it to 5.3.x because some web scripts reported to be having problems with 5.3.X branch)
* Mysql 5.1.48
* PHPMyAdmin 3.3.7
* Eaccelerator (optional 1 click install)
* VsFTPd, PureFTPd (Optional 1 click install)
* PHP Suhousin Patch
All you have to do is execute 4 commands and its ready to roll on your vps or dedicated.
For now only debian 5 (32bit and 64bit both) is supported. Ubuntu has some package installation problems on version 10.04.1 and 10.10 but you can install on 10.04LTS but i extremely recommend debian to this!
Ubuntu will be supported on next release!
Here are the steps to install-
1. Download the installer package-
2. Decompress the install package-.
tar zxvf lnmp0.5.tar.gz
cd lnmp0.5
./debian.sh
And it will take at least 15 minutes to install and it will be ready!
Here is the link for further reference - http://www.ruchirablog.com/nginx-autoinstaller/
Please give your comments on this!
-
11-02-2010, 07:58 AM #2Aspiring Evangelist
- Join Date
- Apr 2010
- Posts
- 421
will it also working for centos ?
-
11-02-2010, 08:20 AM #3[ VPS Enthusiast ]
- Join Date
- Nov 2009
- Location
- Cheltenham, UK
- Posts
- 1,416
The poster said: "For now only debian 5 (32bit and 64bit both) is supported."
So no, it's for Debian. We made something similar for CentOS a while back though, you can find it here.█ Ben Thomas, Director - BTCentral Web Development Services
█ http://www.btcentral.org.uk - Need a custom Web App? Visit us online.
-
11-02-2010, 08:30 AM #4Web Hosting Master
- Join Date
- Aug 2002
- Location
- Past North
- Posts
- 778
For CentOS, i'd suggest http://www.btcentral.org.uk/projects/centmin/
-
11-02-2010, 08:34 AM #5Web Hosting Evangelist
- Join Date
- Jun 2010
- Posts
- 474
Don't have an empty test box at he moment, how much memory does everything use on a minimal 32bit Debian distro?
-
11-02-2010, 08:36 AM #6The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,981
Moved > Hosting Security and Technology Tutorials .
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
11-02-2010, 09:56 AM #7WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
-
11-02-2010, 10:00 AM #8WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
This script supports ubuntu but some installations of ubuntu 10.04.1 and 10.10 claimed to have problems while installing libraries which need to run php so at this time debian is the only O/S which is supported.
But you can try installing on 10.04.1 and 10.10 it might work for your server.
Im running my personal site www.ruchirablog.com with this script + ubuntu 10.04.1 no problems.
How ever sticking to Debian is most recommended!
-
11-02-2010, 10:03 AM #9WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
-
11-04-2010, 12:51 AM #10WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
Also adding another virtual host is very easy! just run ./vhost.sh and it will setup another domains for you. Even it will let you to add rewrites for known scripts like wordpress etc. Just easy!
-
11-23-2010, 06:13 AM #11WHT Addict
- Join Date
- Jun 2003
- Posts
- 167
when will it be compatible with ubuntu or centos?
-
11-23-2010, 09:09 AM #12WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
of course this is compatible with ubuntu 10.04.1 if you need 10.10 you need to install this first on 10.04 LTS then you can upgrade to 10.10.
follow this guide I have updated it today!
http://www.ruchirablog.com/nginx-autoinstaller/
And you can use this with centos. but it only installs legacy stable version which is 0.7.67 not 0.8.53
if you need to install this on centos run ./centos.sh instead of ./debian.sh
Thanks
-
11-23-2010, 09:43 PM #13Junior Guru Wannabe
- Join Date
- Jul 2008
- Posts
- 53
Wow nice! Thanks for this!
-
11-24-2010, 05:44 AM #14WHT Addict
- Join Date
- Jun 2003
- Posts
- 167
tried it on centos 5.5 vps 128mb
compiling mysql takes a long time
after that it seems to hang:
PHP Code:make[3]: Entering directory `/root/lnmp0.5/mysql-5.1.48/mysql-test'
make[3]: Nothing to be done for `install-exec-am'.
make INSTALL_TO_DIR="/usr/local/mysql/mysql-test" install_test_files
make[4]: Entering directory `/root/lnmp0.5/mysql-5.1.48/mysql-test'
-
11-24-2010, 06:22 AM #15Aspiring Evangelist
- Join Date
- Aug 2002
- Location
- Milton Keynes
- Posts
- 354
Why not provide them as a set of .deb packages instead of a naive 'installer' script?
And why use the external PDO_MYSQL when it was merged into the PHP mainline (where it has received bugfixes and improvements) and the last update to the pecl module was in 2006?
It seems like far too much effort to get the same setup which is provided by Debian stable with a few pinned packages with one or two other well maintained package repositories (like the nginx official ppa, dotdeb.org PHP packages etc.)
-
11-24-2010, 07:49 AM #16WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
Of course full installation takes at least 30 minutes to complete on cerntos. And I dont see any problems on 128MB vps because i used to run this script on 80MB XEN Box with image hosting script! However if your RAM is oversold specially Openbz system you might be running out of ram
Please give it time and update me if theres any problem!
-
11-24-2010, 07:57 AM #17WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
Well this was not built by me but I think the original developer www.lnmp.org made this as native because there are lots of functions on this script like one click virtual host adding etc. its very easy to add rewrites for new virtual hosts just need to run ./vhost.sh and it will ask few questions about rewrites etc.
Running this as native bash script gives you more functions than .dep package !
-
11-24-2010, 08:11 AM #18Aspiring Evangelist
- Join Date
- Aug 2002
- Location
- Milton Keynes
- Posts
- 354
-
11-24-2010, 08:41 AM #19WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
-
11-25-2010, 07:15 AM #20I Like Beer!
- Join Date
- Sep 2008
- Location
- NL,IR
- Posts
- 1,491
mmm can we run this script on
CentOS + directadmin
and
CentOS+Cpanel ?
-
11-25-2010, 08:51 AM #21WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
You can run this on centos please refer http://www.ruchirablog.com/nginx-autoinstaller/
But not with cpanel or directadmin this script is designed to operate servers with bash prompt!
-
01-12-2011, 12:15 AM #22Newbie
- Join Date
- Jan 2011
- Posts
- 20
hi there.
I am facing problem in adding domain.
I am adding domain.
then I go to godady domain pannel and change the name server its now 1 week but still propogation has not finish.
do you know what can be wrong.
-
01-12-2011, 12:25 AM #23WHT Addict
- Join Date
- Aug 2009
- Posts
- 134
You have to add A records not Name servers http://www.ruchirablog.com/setup-dns-with-godaddy/
-
01-14-2011, 09:41 PM #24Newbie
- Join Date
- Jan 2011
- Posts
- 20
when I am restarting the lnmp i am getting this error
http://imagemate.info/image-E885_4D31171D.jpg
and when I am adding a domain then afer adding I am getting this error on the page
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/wwwroot/inc/config.php on line 5
Could not connect
-
01-15-2011, 12:21 AM #25WHT Addict
- Join Date
- May 2009
- Location
- Italy - Rome
- Posts
- 152
Too easy in Debian based system!
But very useful for who don't want to know how it work...
Similar Threads
-
Install Nginx - PHP-FPM Install: package could not be found
By minhmeo in forum Hosting Security and TechnologyReplies: 8Last Post: 07-29-2010, 11:36 AM -
nginx with php-fpm troubles
By whdev in forum Hosting Security and TechnologyReplies: 4Last Post: 04-10-2010, 01:52 PM -
Any dedicated host provider with nginx+php-fpm+mysql support
By hvs69 in forum Dedicated ServerReplies: 2Last Post: 01-15-2010, 02:01 PM -
Apache vs Nginx (mod_php VS php-fpm)
By bostjan in forum Hosting Security and TechnologyReplies: 7Last Post: 06-25-2009, 07:19 AM -
nginx quirk on running encrypted script? (running with php-fpm)
By Darvil in forum Hosting Security and TechnologyReplies: 20Last Post: 10-13-2008, 06:16 PM