My LAMP Setup

I have been using Linode for a while now, and I have recently started firing up more and more of them for use on our web projects. My buddy @iLama recently purchased his first Linode and asked what I normally setup, so here is my answer.

I am currently running all my Linode’s (except one) on Ubuntu 10.04 LTS. My install once the server is running is this:

# apt-get update

apt-get upgrade

apt-get install apache2 php5 php5-cli php5-curl php5-gd php5-mysql php5-xmlrpc php5-mcrypt php5-memcache php5-memcached subversion vim mysql-server postfix screen

This gives you the basic LAMP stack, with some nice caching options. I have also been recently adding eAccelorator (not from repository) to my PHP stack to make caching super awesome.

I have a few other configs for different things, like Redmine (Ruby on Rails) and Python based sites.

I hope this helps some folks. I hope to spend some time in the near future making a Linode Stack Script to handle my installs, but that is for another blog post.