Skip to content

Instantly share code, notes, and snippets.

@ptomasroos
Last active August 29, 2015 13:56
Show Gist options
  • Save ptomasroos/8861534 to your computer and use it in GitHub Desktop.
Save ptomasroos/8861534 to your computer and use it in GitHub Desktop.
This installs ubuntu 12.04.* with the latest stuff according to my preferences
# usage
# curl -s https://gist.github.com/ptomasroos/8861534/raw/ | sudo sh
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get -y install linux-headers-generic build-essential
# install chrome
cd /tmp
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt-get -y install libxss1
sudo dpkg -i google-chrome-stable_current_amd64.deb
# install node
sudo apt-get -y install openssl libssl-dev pkg-config
wget http://nodejs.org/dist/node-latest.tar.gz
tar -zxvf node-latest.tar.gz
cd node-v*
./configure
make
sudo make install
#sublime
cd /tmp
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get -y install sublime-text-installer
#foundationdb
cd /tmp
wget https://foundationdb.com/downloads/I_accept_the_FoundationDB_Community_License_Agreement/2.0.0/foundationdb-clients_2.0.0-1_amd64.deb
wget https://foundationdb.com/downloads/I_accept_the_FoundationDB_Community_License_Agreement/2.0.0/foundationdb-server_2.0.0-1_amd64.deb
sudo dpkg -i foundationdb-clients_2.0.0-1_amd64.deb \
foundationdb-server_2.0.0-1_amd64.deb
#docker
cd /tmp
curl -s https://get.docker.io/ubuntu/ | sudo sh
#golang
cd /tmp
wget https://godeb.s3.amazonaws.com/godeb-amd64.tar.gz
tar zxvf godeb*
./godeb install
mkdir ~/dev
mkdir ~/dev/go
echo 'export GOPATH=$HOME/dev/go' >> ~/.bashrc
echo 'export PATH=$PATH:$GOPATH/bin' >> ~/.bashrc
sudo apt-get -y install vim git mercurial tree htop iftop bzr
# after install
# https://sublime.wbond.net/installation#st3
# https://github.com/DisposaBoy/GoSublime#installation
# config GoSublime
# {
# "env": {"GOPATH": "$HOME/dev/go"},
# "shell": ["/bin/bash", "--login", "-c", "$CMD"]
# }
# add to -> ~/.config/sublime-text-3/Packages/User/GoSublime.sublime-settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment