Found this awesome script called apache2buddy which analyses your server and outputs configuration recommendations based on your RAM, processes, error logs...
curl -sL https://raw.githubusercontent.com/richardforth/apache2buddy/master/apache2buddy.pl | sudo perl
Code language: JavaScript (javascript)
Souce code
Read more about it on Github:
Does it run wordpress?
The code? Nope.
My site? Yes.