cPanel VPS To-Do List
1. SpamAssassin Optimization - This is highly recommended and it will reduce your ram usage by atleast 20MBs.
Step 1: Login to root WebHostManager
Step 2: Click cPanel 10.0.0-R149 or whichever version you are running
Step 3: Click Addon Modules
Step 4: Install "spamdconf " and keep it updated.
Step 5: Refresh WebHostManager
Step 6: Click Add-ons
Step 7: Click Setup Spamd Startup Configuration
Step 8: Set Maximum Children to "2" and leave everything else blank and then click "Submit". Exim will now restart and the settings will take in effect!
2. Tweak Settings in WebHostManager - Some simple things that can increase the performance of your VPS.
Step 1: Login to root WebHostManager
Step 2: Click Server Setup
Step 3: Click Tweak Settings
Step 4: Set the number of minutes between the mail server queue to run to "180".
Step 5: Set the maximum each domain can send out each our to "500".
Step 6: For the default catch all/default address use ":fail:". Do not be fooled by its name.
Step 7: Set the maximum amount of times people can check their POP3 per hour to "12" which will alow every 5 minutes.
3. Install Pure-Ftpd - HIGHLY Recommended
Step 1: Login to root WebHostManager
Step 2: Click Service Configuration
Step 3: Click FTP Configuration
Step 4: Install and use Pure-Ftpd.
4. Apache Optimization - Must do for optimal performance.
Here are some values that I have tried on my VPS(s) and they have all worked fine.
For a VPS with 256MB ram use this for httpd.conf:
---------------------------------
Timeout 300
KeepAlive On
maxKeepAliveRequests 10000
KeepAliveTimeout 5
MinSpareServers 15
MaxSpareServers 35
StartServers 15
MaxClients 150
MaxRequestsPerChild 0
HostnameLookups Off
---------------------------------
For a VPS with 384MB ram or more use this for httpd.conf:
---------------------------------
Timeout 300
KeepAlive On
maxKeepAliveRequests 10000
KeepAliveTimeout 5
MinSpareServers 20
MaxSpareServers 40
StartServers 20
MaxClients 200
MaxRequestsPerChild 0
HostnameLookups Off
---------------------------------
5. Install the MySQL Query Cache - Useful for Content Management System Based (CMS) Websites
You can find some information about this here:
http://www.databasejournal.com/featu...le.php/3110171
6. Install Turck MM Cache - Increases PHP Performance
You can find some information about this here and setup instructions:
http://www.webhostgear.com/index.php?art/id:130
I always do this to my VPSs and it has been 100% tested. You can add to my list if you wish.