In Windows (I know it's not a good way of thinking) I used to shut off all the unecessary services etc to free up resources
The same thinking applies here. Have a look through your running processes and turn off those that you're not using. For example, if you're not serving web pages, turn off httpd. In fact, go through your startup scripts and comment out any lines that start services you don't want.