Skip to content

Instantly share code, notes, and snippets.

@vemacs
Created December 4, 2015 17:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vemacs/4517efbc7e0fe9b2f291 to your computer and use it in GitHub Desktop.
Save vemacs/4517efbc7e0fe9b2f291 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Install zram
wget -O - https://gist.githubusercontent.com/vemacs/6ec150e86329f3151b52/raw/af5d82461e62ed1033b2a58e0e960eb3bea8d4f1/debian-install-zram.sh | bash
# Other packages
apt-get install -y netfilter-persistent git tmux emacs-nox htop python-pip python-dev libssl-dev sudo
# Java 8
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
apt-get install -y oracle-java8-installer
# mark2
sudo git clone git://github.com/gsand/mark2.git /usr/local/share/mark2
cd /usr/local/share/mark2
sudo ln -s /usr/local/share/mark2/mark2 /usr/local/bin/mark2
sudo pip install -r /usr/local/share/mark2/requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment