Skip to content

Instantly share code, notes, and snippets.

@nathanhaigh
Last active December 17, 2015 09:48
Show Gist options
  • Save nathanhaigh/5589673 to your computer and use it in GitHub Desktop.
Save nathanhaigh/5589673 to your computer and use it in GitHub Desktop.
Setup my dev Ubuntu 12.04 VM from a vanilla Ubuntu 12.04.1 Server install
#!/bin/bash
# First setup everything needed for connecting to it via an NX connection
wget https://gist.github.com/nathanhaigh/4007406/raw/40717e3031bec9efccc3dfcc38c3a50c222d29d9/NXServer.sh
chmod +x NXServer.sh
./NXServer.sh
apt-get -y install libreoffice-java-common htop sysstat git xclip dos2unix
wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar xzf install-tl-unx.tar.gz && rm install-tl-unx.tar.gz
cd install-tl-20130407
./install-tl --location ftp://mirror.aarnet.edu.au/pub/CTAN/systems/texlive/tlnet/
#http://superuser.com/questions/355625/unable-to-resolve-foo-local-domain-names
# Update /etc/nsswitch.conf to enable things like ```ping host.domain.local``` as well as ```ping host```
# e.g. from:
# hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
# to:
# hosts: files dns mdns4_minimal [NOTFOUND=return] mdns4
# User specific stuff
cd
wget http://mirror.aarnet.edu.au/pub/eclipse/eclipse/downloads/drops4/R-4.2.2-201302041200/eclipse-SDK-4.2.2-linux-gtk-x86_64.tar.gz
tar xzf eclipse-SDK-4.2.2-linux-gtk-x86_64.tar.gz && rm eclipse-SDK-4.2.2-linux-gtk-x86_64.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment