Tuesday 10 September 2013

Ubuntu Setup

A new machine, with Ubuntu installed.

sudo apt-get remove unity-lens-shopping
# Also switch off amazon results on settings >> Privacy


sudo apt-get install openssh-server

# Remember to remember pass phrase
ssh-keygen

sudo apt-get install git
git config --global user.name "Tim Pizey" 
git config --global user.email Tim.Pizey@gmail.com

sudo apt-get install gitg
sudo apt-get install ant

sudo apt-get install pip

sudo apt-get install openjdk-7-jdk

sudo apt-get install eclipse

sudo apt-get install emacs23-nox

sudo apt-get install jedit

sudo apt-get install curl

sudo apt-get install texlive
sudo apt-get install texlive-xetex
sudo apt-get install texlive-latex-extra

#scrollbars in eclipse
sudo su -c 'echo export LIBOVERLAY_SCROLLBAR=0 > /etc/X11/Xsession.d/80overlayscrollbars'

sudo apt-get install pgadmin3

sudo apt-get install scrub


Setup Chrome

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
sudo apt-get update

sudo apt-get install google-chrome-stable

Setup Haskell:

sudo apt-get install ghc
sudo apt-get install libghc6-zlib-dev
sudo apt-get install cabal-install
cabal update
cabal install cabal-install
cabal install lhs2tex

Jenkins Setup

wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins

Setup dropbox

cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
~/.dropbox-dist/dropboxd

Setup password gorilla

sudo apt-get install password-gorilla

Checkout my stuff - manually move dot-prefixed files


sudo apt-get install cvs
cvs -d :ext:timp@paneris.org:/usr/cvsroot co timp

Add the following to /etc/ap/sources.d/postgresql.list

deb http://ppa.launchpad.net/pitti/postgresql/ubuntu precise main
deb-src http://ppa.launchpad.net/pitti/postgresql/ubuntu precise main
sudo apt-get update
sudo apt-get install postgresql-9.2