Jump to content


Replying to Vps - Beginners Guide To Best Settings In Whm


Post Options

  or Cancel


Topic Summary

bensite5

Posted 07 August 2013 - 05:17 AM

Hmmm yep, if this is for clients I might try to grab a cheap unmanaged VPS to really play with if you are interested in trying new things. As then once you figure out x you can push it over to your production VPS. Or just find an old server at home to setup and play with is a possibility too.

Thanks, Ben

Bryan Cady

Posted 06 August 2013 - 07:55 PM

View Postbensite5, on 06 August 2013 - 05:24 AM, said:

View PostBryan Cady, on 05 August 2013 - 07:53 PM, said:

View Postbensite5, on 05 August 2013 - 12:08 PM, said:

Hi Bryan,

I love VPS :), so much better than a shared environment.

Did you go with unmanaged so you are also managing the stack (apache/mysql) or is the host handling php/apache type stuff? (Asking so I can figure out what you can modify :) )

Thanks, Ben

I went with a managed site.   I'm looking forward to learning this new area for me...hopefully without breaking too much. :frown:
Hmm, if you went with a managed vps they probably don't want you to change much, although for a lot of hosts they just slap managed on there and enable cPanel/whm stable updates. Kinda depends on the host and how they define that :). From what you mentioned it sounds like they gave your root access though.

But if you do want to try some system admin type stuff to improve performance you could do things like:

1. One big thing that can speed up how PHP serves is switching from suphp to mod_fcgid (FastCGI), as its way faster and better about reusing the same php process. This is what we moved to using on our servers, but I do know we had to write a few custom modules to make mod rewrite work perfectly for all clients (but shouldn't impact you if you only have a few sites on here and can check them all).
Article: http://2bits.com/articles/apache-fcgid-acceptable-performance-and-better-resource-utilization.html


2. Install APC or some type of php caching.

3. install Memcache to setup with WordPress possibly.

What size VPS did you get in terms of memory? As some of these are going to use more memory and you will probably need at least 1.5GB to 2GB for most of these to work well.

The cPanel / WHM forums are good too:
http://forums.cpanel.net/forum.php
*You can search for these things + on google for tutorials.

Be careful though as you can also easily break Apache possibly with some of these, plus you need to keep them updated going forward so you don't have any security problems. This isn't easy stuff to change / modify so just wanted to mention that.

Thanks, Ben

I don't have the FastCGI option right now so I am only able to use SUPHP.  Not sure how to set that up.  I guess by adding a module?  Also I plan to use this for several websites for my clients so as you say, maybe that isn't a good thing to do.

I have a 768meg of dedicated ram + Burst Ram but I know from your webinars not to rely on the burst ram for much.

bensite5

Posted 06 August 2013 - 05:24 AM

View PostBryan Cady, on 05 August 2013 - 07:53 PM, said:

View Postbensite5, on 05 August 2013 - 12:08 PM, said:

Hi Bryan,

I love VPS :), so much better than a shared environment.

Did you go with unmanaged so you are also managing the stack (apache/mysql) or is the host handling php/apache type stuff? (Asking so I can figure out what you can modify :) )

Thanks, Ben

I went with a managed site.   I'm looking forward to learning this new area for me...hopefully without breaking too much. :frown:
Hmm, if you went with a managed vps they probably don't want you to change much, although for a lot of hosts they just slap managed on there and enable cPanel/whm stable updates. Kinda depends on the host and how they define that :). From what you mentioned it sounds like they gave your root access though.

But if you do want to try some system admin type stuff to improve performance you could do things like:

1. One big thing that can speed up how PHP serves is switching from suphp to mod_fcgid (FastCGI), as its way faster and better about reusing the same php process. This is what we moved to using on our servers, but I do know we had to write a few custom modules to make mod rewrite work perfectly for all clients (but shouldn't impact you if you only have a few sites on here and can check them all).
Article: http://2bits.com/articles/apache-fcgid-acceptable-performance-and-better-resource-utilization.html

2. Install APC or some type of php caching.

3. install Memcache to setup with WordPress possibly.

What size VPS did you get in terms of memory? As some of these are going to use more memory and you will probably need at least 1.5GB to 2GB for most of these to work well.

The cPanel / WHM forums are good too:
http://forums.cpanel.net/forum.php
*You can search for these things + on google for tutorials.

Be careful though as you can also easily break Apache possibly with some of these, plus you need to keep them updated going forward so you don't have any security problems. This isn't easy stuff to change / modify so just wanted to mention that.

Thanks, Ben

Bryan Cady

Posted 05 August 2013 - 07:53 PM

View Postbensite5, on 05 August 2013 - 12:08 PM, said:

Hi Bryan,

I love VPS :), so much better than a shared environment.

Did you go with unmanaged so you are also managing the stack (apache/mysql) or is the host handling php/apache type stuff? (Asking so I can figure out what you can modify :) )

Thanks, Ben

I went with a managed site.   I'm looking forward to learning this new area for me...hopefully without breaking too much. :frown:

bensite5

Posted 05 August 2013 - 12:08 PM

Hi Bryan,

I love VPS :), so much better than a shared environment.

Did you go with unmanaged so you are also managing the stack (apache/mysql) or is the host handling php/apache type stuff? (Asking so I can figure out what you can modify :) )

Thanks, Ben

Bryan Cady

Posted 05 August 2013 - 12:02 PM

Thanks for creating this forum.  I think this will be a great resource.

I just jumped into the world of a VPS and WOW...WHM is involved for sure.

Can anyone recommend a step by step guide to tweaking settings to a managed VPS so you can get the right balance of security to performance to compatibility for WordPress?  There are so many options in the WHM and I get a little weary of of making changes to the defaults, but I know there are things I can do to secure my site and make it more WordPress friendly.

Thanks
Bryan

Review the complete topic (launches new window)