Optimisation tips?

June 6, 2013 4k views
Does anyone have any optimisation tips/tutorials for VPS droplets.. i'm running the smallest package at the minute, setup a really simple page that should load instantly, but there is a very slight delay. I'm running cent os 6.4 apache 2.2 php 5.4... is there any recommended software to install? removing/disabling unnecessary stuff? I'm not really an expert so any guides or info would be great.
2 Answers
I didn't do any optimizations besides swap and just recently did that and my pages load instantly using the smallest droplet. I was getting like 500 hits/downloads a day of large files and it ran perfect on the small droplet. Also running a mail server on it. I'm not an expert but I think 512 droplet is plenty for a lamp stack.
Apache uses a lot of RAM if there's quite a bit of concurrent connections. I suggest switching to nginx as it uses less CPU and RAM in general:

by Etel Sverdlov
This tutorial shows you how to set up virtual hosts. Virtual Hosts are used to run more than one website or domain off of a single server and IP address. When used with nginx, virtual hosts are called Server Blocks. This tutorial covers setting up server blocks on a Centos server.
Have another answer? Share your knowledge.