Skip to content

Instantly share code, notes, and snippets.

@ellipsonic
Created September 19, 2015 15:07
Show Gist options
  • Save ellipsonic/dbfc359260904f21e533 to your computer and use it in GitHub Desktop.
Save ellipsonic/dbfc359260904f21e533 to your computer and use it in GitHub Desktop.
Ogema
# Update min packages
sudo apt-get update
sudo apt-get -y install nano
sudo apt-get -y install git
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
sudo apt-get -y install oracle-java8-installer
sudo apt-get -y install maven
# Port forwarding
sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to-destination $(hostname -i):8443
sudo iptables -A INPUT -p tcp --dport 80 -j ACCEPT
# Get demokit
wget https://www.ogema-source.net/demokit.zip
sudo apt-get -y install zip
unzip demokit.zip
cd ogema
chmod +x start.sh
sudo bash ./start.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment