Follows Linux instructions from PhantomJS Download. Used in production on Ubuntu 10.04, should be adaptable to other Debian-based distros fairly easy.