Posted on 18 June, 2013 (7 years ago)
I recently came across InstantServer.io, a nice little service that allows you to instantiate an Ubuntu server for testing, for 35 minutes, on Amazon EC2. You click on the green button, and you're given an account and a password, as well as the details to connect onto the machine through SSH.
Please note that the service seems to be victim of its success, as requesting a new server takes more and more time it seems.
I immediately thought about installing and launching Groovy on those remote servers, using GVM
. However, there's no "unzip" command installed, and there's no JDK as well. So there are a few extra steps to be taken. I wanted to blog about the details (which I'm actually doing now!), but Tim Yates beat me to it with his detailed instructions!
So my task is now simplified, and I'll simply copy the instructions here, thanks Tim!
sudo apt-get install unzip
- And when that's done, run:
sudo apt-get install openjdk-7-jre-headless
curl -s get.gvmtool.net | bash
- And source the GVM script:
gvm install groovy
groovy -e "println 'Hello'"