hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : VPS Tutorials : Nginx + PHP-FPM + MySQL on CentOS. Works on 64MB RAM.
Reply

Forum Jump

Nginx + PHP-FPM + MySQL on CentOS. Works on 64MB RAM.

Reply Post New Thread In VPS Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-07-2011, 06:04 PM
dmmcintyre3 dmmcintyre3 is offline
Aspiring Evangelist
 
Join Date: Apr 2010
Location: North Carolina
Posts: 430

Nginx + PHP-FPM + MySQL on CentOS. Works on 64MB RAM.


Run this:
Code:
wget http://freevps.us/downloads/nginx-centos.sh
bash nginx-centos.sh
to install nginx, php-fpm and mysql on your CentOS VPS.

RAM usage:
64 bit OpenVZ VPS:
Code:
             Total     Used     Free
Kernel:   2048.00M    4.51M 2043.49M
Allocate:  256.00M   69.64M  186.36M (128M Guaranteed)
Commit:    128.00M   30.46M   97.54M (37.3% of Allocated)
32 bit VMWare virtual machine
Code:
 free -m
             total       used       free     shared    buffers     cached
Mem:            59         54          4          0          1         18
-/+ buffers/cache:         40         18
Swap:         2047          0       2047
32 Bit KVM VPS:
Code:
             total       used       free     shared    buffers     cached
Mem:           246         81        165          0          2         46
-/+ buffers/cache:         32        213
Swap:            0          0          0

__________________
Advertise on FreeVPS.us



Sponsored Links
  #2  
Old 03-07-2011, 06:56 PM
lxspcby lxspcby is offline
WHT Addict
 
Join Date: Jul 2009
Location: Tangerang, ID
Posts: 122
nice one, will try this shortly after my vps has finished reload

__________________
>>OpenVPN Auto Installer
>>Nginx Auto Installer Just a simple auto installer, coz you've different needs, don't expect any kind of mods


Last edited by lxspcby; 03-07-2011 at 07:00 PM.
  #3  
Old 03-08-2011, 04:31 AM
no69_2007 no69_2007 is offline
Disabled
 
Join Date: Feb 2011
Posts: 287
I would try niginx this way.

Sponsored Links
  #4  
Old 03-09-2011, 08:32 AM
onel0ve onel0ve is offline
Disabled
 
Join Date: Feb 2010
Posts: 114
how to create mysql database ???

  #5  
Old 03-09-2011, 08:41 AM
lxspcby lxspcby is offline
WHT Addict
 
Join Date: Jul 2009
Location: Tangerang, ID
Posts: 122
Quote:
Originally Posted by onel0ve View Post
how to create mysql database ???
you've posted the article about nginx + php + mysql in your blog:

Code:
http://smiling-dream.info/latest-stable-version-nginx-0-8-54-with-php-5-3-5.html
but you don't know how to create mysql database? so funny

__________________
>>OpenVPN Auto Installer
>>Nginx Auto Installer Just a simple auto installer, coz you've different needs, don't expect any kind of mods

  #6  
Old 03-09-2011, 08:43 AM
onel0ve onel0ve is offline
Disabled
 
Join Date: Feb 2010
Posts: 114
:| that share topic i did not make it

  #7  
Old 03-09-2011, 08:46 AM
lynxus lynxus is offline
Lord of live chats
 
Join Date: Jul 2009
Location: UK
Posts: 1,263
Quote:
Originally Posted by onel0ve View Post
how to create mysql database ???
mysql -uroot -pPASSWORD
create database DBname;

Done.

__________________
Live chat software -> IMsupporting.com
Increase Sales Today - 100% No Strings Free Trial

  #8  
Old 03-09-2011, 08:46 AM
lxspcby lxspcby is offline
WHT Addict
 
Join Date: Jul 2009
Location: Tangerang, ID
Posts: 122
Quote:
Originally Posted by onel0ve View Post
:| that share topic i did not make it
ah, so you're just copying articles from another blog and post it in your blog rite?

__________________
>>OpenVPN Auto Installer
>>Nginx Auto Installer Just a simple auto installer, coz you've different needs, don't expect any kind of mods

  #9  
Old 03-09-2011, 10:26 AM
onel0ve onel0ve is offline
Disabled
 
Join Date: Feb 2010
Posts: 114
Quote:
Originally Posted by lynxus View Post
mysql -uroot -pPASSWORD
create database DBname;

Done.
thanks man
one more question how to park domain
[exp:- i wana park sub1.smiling-dream.info into smiling-dream.info ]

  #10  
Old 03-13-2011, 03:54 PM
dmmcintyre3 dmmcintyre3 is offline
Aspiring Evangelist
 
Join Date: Apr 2010
Location: North Carolina
Posts: 430
nano /etc/nginx/conf.d/smiling-dream.info.conf

and add it to the end of the server_name line before the ; and then run

service nginx reload

__________________
Advertise on FreeVPS.us

  #11  
Old 03-14-2011, 12:26 AM
onel0ve onel0ve is offline
Disabled
 
Join Date: Feb 2010
Posts: 114
i have been fix it creating another vhost file and config it for same dir
anyway thanks
and if possible give one way to install php 5.2 lots of script yet not capable for 5.3

  #12  
Old 04-08-2011, 05:57 PM
fshagan fshagan is offline
Web Hosting Master
 
Join Date: Jun 2003
Location: California
Posts: 2,756
Nice ... I've been playing with this today on a 128MB OpenVZ VPS from BuyVM.

I guess the conf files are in /etc/nginx/conf.d ... is the default.conf file there the main nginx configuration file? The reason I ask is that most of the configuration guides on the 'net say to configure nginx.conf, which I can't seem to find in the usual places cited.

  #13  
Old 04-09-2011, 11:33 PM
dmmcintyre3 dmmcintyre3 is offline
Aspiring Evangelist
 
Join Date: Apr 2010
Location: North Carolina
Posts: 430
Quote:
Originally Posted by fshagan View Post
Nice ... I've been playing with this today on a 128MB OpenVZ VPS from BuyVM.

I guess the conf files are in /etc/nginx/conf.d ... is the default.conf file there the main nginx configuration file? The reason I ask is that most of the configuration guides on the 'net say to configure nginx.conf, which I can't seem to find in the usual places cited.
The main config file is /etc/nginx/nginx.conf

__________________
Advertise on FreeVPS.us

  #14  
Old 04-18-2011, 01:21 AM
newcome11 newcome11 is offline
New Member
 
Join Date: Apr 2011
Posts: 0
Cann't install in my fresh install Centos 64 bit. Can you help me?

  #15  
Old 04-18-2011, 02:13 AM
newcome11 newcome11 is offline
New Member
 
Join Date: Apr 2011
Posts: 0
Update info :
CentOS release 5.6 (Final) 64 bit
Kernel Version: 2.6.18-194.el5xen

Thanks

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Nginx 0.8.53 +phpmyadmin+mysql+php-fpm+ftp script! Ruchirablog Hosting Security and Technology Tutorials 32 08-18-2013 07:26 AM
nginx + php-fpm shared hosting AltruHost Web Hosting 19 03-04-2011 08:33 AM
nginx with php-fpm troubles whdev Hosting Security and Technology 4 04-10-2010 01:52 PM
Any dedicated host provider with nginx+php-fpm+mysql support hvs69 Dedicated Server 2 01-15-2010 02:01 PM
Apache vs Nginx (mod_php VS php-fpm) bostjan Hosting Security and Technology 7 06-25-2009 07:19 AM

Related posts from TheWhir.com
Title Type Date Posted
Nginx to be Included in Upcoming Ubuntu Release Web Hosting News 2014-01-08 15:17:12
Red Hat Takes Active Role in CentOS Project to Drive New Technology Adoption Web Hosting News 2014-01-08 12:00:22
Nginx Raises $10M to Extend Commercial Support Web Hosting News 2013-10-15 11:20:26
Inside NGINX's First Commerical Product Web Hosting News 2013-08-22 09:36:25
NGINX 1.2.0 Update of Web Server Improves HTTP Proxy Support Web Hosting News 2012-04-24 16:47:23


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?