Steps I took to get a Play framework app up and running on a micro AWS instance running Ubuntu 11.10
- sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
- sudo apt-get update
- sudo apt-get install sun-java6-jdk unzip
- wget http://download.playframework.org/releases/play-1.2.4.zip
- sudo unzip play-1.2.4.zip -d /usr/local/share/
- install Dominik Dorn's startup script
- wget https://raw.github.com/gist/1290012/a31b1d079705ea7ccf6d1fdc866027b674e62841/...
- sudo mv playframework /etc/init/
- update the script with proper paths
- useradd username -g www-data -m -d /home/username -s /bin/bash
- install your app
- initctl start playframework