Skip to content

Instantly share code, notes, and snippets.

@jcheype
Last active August 29, 2015 14:00
Show Gist options
  • Save jcheype/11261072 to your computer and use it in GitHub Desktop.
Save jcheype/11261072 to your computer and use it in GitHub Desktop.
from base
run apt-get update
run apt-get install -y curl
run cd /opt && curl -s -L -b oraclelicense=accept-securebackup-cookie http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz | tar xvz
run cd /opt && ln -s jdk1.7.0_51 jdk7
env JAVA_HOME /opt/jdk7
env PATH $PATH:/opt/jdk7/bin
run cd /opt && curl -s http://apache.lehtivihrea.org/tomcat/tomcat-7/v7.0.53/bin/apache-tomcat-7.0.53.tar.gz | tar xvz
run cd /opt && ln -s apache-tomcat-7.0.53 tomcat
run rm -rf /opt/tomcat/webapps/*
run cd /opt && curl -s https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.0.tgz | tar xvz
run cd /opt && ln -s mongodb-linux-x86_64-2.6.0 mongodb
run mkdir -p /data/db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment