Skip to content

Installation on Amazon EC2 (Ubuntu)

Debanjum Singh Solanky edited this page Jan 28, 2015 · 2 revisions

You need an Amazon AWS Account (which is free) and there is also a free tier giving you a year of a small server instance (read more about it here: http://aws.amazon.com/free/). To learn more about EC2: http://davidwinter.me/articles/2012/12/06/getting-started-with-amazon-ec2/

From there you can start an Ubuntu virtual machine. Be sure to open port 8000 and remember the public ip address.

You can take this script as a starting point: https://gist.github.com/debanjum/3c3e92de34d290a8bc68

To simply get it started you can logon via ssh to your instance:

// get the script
wget https://gist.github.com/debanjum/3c3e92de34d290a8bc68/raw/f2d86de263980e744a7ac1079c2863f49fe1c9d6/Pump.sh
// make it executable
chmod +x Pump.sh
// execute it as super user
sudo ./Pump.sh "server"

You should now be able to access your pump under http://EXTERNAL_AMAZON_IP:31337

On the command line you see the pump console by going into the running screen session by

screen -r

If you don't see it, something went wrong - you can see the error messages in the file screenlog.0 .

Clone this wiki locally