2010/10/17

A new home

After a considerable amount of downtime with my vps on 1and1.com I decided to look for a good vps provider. I did a little research and talked to a couple friends. Slicehost and Linode were the two providers that rose to the top.  I found some nice benchmarks and more benchmarks and a few posts about how linode's customer service was beating slicehost's and....   Linode won.  They also offered twice the RAM and more of everything else for the same price.

So I pick my data center, spin up a vps of Ubuntu Lucid LTS and viola!  New home.

Here's a quick and simple lamp stack install with PHP 5.3 and a few other goodies for an Ubuntu 10.04 server.

#  add to /etc/apt/sources.list
deb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all
deb http://security.ubuntu.com/ubuntu jaunty-security main

gpg --keyserver keys.gnupg.net --recv-key 89DF5277
gpg -a --export 89DF5277 | sudo apt-key add -

aptitude update
aptitude full-upgrade

aptitude install libicu38 apache2 apache2-mpm-prefork mysql-client-5.1 mysql-server-5.1 php5 php5-cli php5-mysql libapache2-mod-php5 php5-apc git-core subversion ufw locate

# firewall setup
ufw disable
ufw reset
ufw default deny incoming
ufw default allow outgoing
ufw allow www
ufw allow ssh
ufw enable
ufw status verbose

I decided to go with the dotdeb.org PHP 5.3 package over the native Lucid package because dotdeb is compiled with mysqlnd.   The Jaunty apt source is to handle a dependency in the dotdeb package.   And I found a nice little post about how to painlessly set up your firewall with ufw.

So far I'm pleased as punch.  Ready to push some new stuff out into the world.  Stay tuned.