Commits

Timothy Corbett-Clark committed dbd2b4a

updates

  • Participants
  • Parent commits f73ad54

Comments (0)

Files changed (1)

 Immediate packages
 ------------------
 
-    sudo apt-get install encfs ntp byobu rdesktop mercurial git ipython vim htop tree
+    sudo apt-get install encfs ntp byobu rdesktop mercurial git vim htop tree
 
 (More software will be added later, such as Sublime Text and Dropbox.)
 
     cp fish/functions/* ~/.config/fish/functions/
     cp fish/config.fish ~/.config/fish/
 
+
 Chrome
 ------
 
 Also may need to edit the "binDir" setting in CoffeeScript.sublime-settings.
 
 
-Stop the global desktop menu
-----------------------------
+ssh
+---
 
-I like my windows to own their own menus, so:
+Install:
 
-    sudo apt-get remove appmenu-gtk3 appmenu-gtk appmenu-qt
+    sudo apt-get install openssh-server
+
+Setup my keys using:
+
+    mkdir -p ~/.ssh
+    chmod 700 .ssh
+    cp /home/tcorbettclark/Private/install/ssh/* .ssh/
+    chmod 600 .ssh/*
+
+Note that all private keys should be encrypted using:
+
+    openssl pkcs8 -topk8 -v2 des3 -in ~/.ssh/id_rsa.old -out ~/.ssh/id_rsa
+
+
+Xterm
+-----
+
+Allow meta-forward-word to work, and set fonts and colours:
+
+ * Edit.Keyboard Shortcuts - disable all menu access
+ * Set font to Ubuntu Mono size 11
+
+
+Node
+----
+
+Get up to date version of node:
+
+    sudo add-apt-repository ppa:chris-lea/node.js
+    sudo apt-get update
+    sudo apt-get install nodejs
+    
+Install npm directly with:
+
+    curl -L https://npmjs.org/install.sh | sh
+
+Optionally configure proxy for npm with:
+
+    npm config set proxy http://proxy.localoffice:3128
+    npm config set https-proxy http://proxy.localoffice:3128
+
+
+Mercurial
+---------
+
+    cp hgrc ~/.hgrc
+
+
+Git
+---
+
+    git config --global user.name "Timothy Corbett-Clark"
+    git config --global user.email "timothy@corbettclark.com"
+    git config --global credential.helper cache
+    git config --global core.editor "subl -n -w"
+    git config --global color.ui true
+
+
+Nose
+----
+
+Set defaults for python unittest runner:
+
+    cp noserc ~/.noserc
+
+
+Virtualenv and friends
+----------------------
+
+We will perform a little bootstrap dance to obtain the most recent versions of all Python packages (controlled with pip not apt):
+
+    sudo apt-get purge python-pip python-virtualenv virtualenvwrapper ipython
+    sudo apt-get install python-setuptools python2.7-dev
+
+We install ``python2.7-dev`` so that some pip's can compile C from source.
+
+Use ``easy_install`` to install pip to the system, and then pip to install
+``virtualenv`` and ``invewrapper``:
+
+    sudo easy_install pip
+    sudo pip install virtualenv invewrapper
+
+Then to create a virtual env and install Python packages at user-level (i.e. no
+further global pip installs):
+
+    pew-new whatever
+    pip install --upgrade setuptools ipython nose coverage yanc flake8 grin
+
+Note that it is usually a good idea to upgade `setuptools` as the packaged one
+will probably be out of date.
+
+Some pip packages have deb dependencies. For example, to install pip package
+``psycopg2``, first do:
+
+    sudo apt-get install postgresql-server-dev-9.3
 
 
 Xmonad for tiling window management
 
     xcompmgr -c -f -D 3 &
 
+I like my windows to own their own menus, so:
+
+    sudo apt-get remove appmenu-gtk3 appmenu-gtk appmenu-qt
+
 Logout, select "Gnome xmonad", and log in again.
 
 
-ssh
----
-
-Install:
-
-    sudo apt-get install openssh-server
-
-Setup my keys using:
-
-    mkdir -p ~/.ssh
-    chmod 700 .ssh
-    cp /home/tcorbettclark/Private/install/ssh/* .ssh/
-    chmod 600 .ssh/*
-
-Note that all private keys should be encrypted using:
-
-    openssl pkcs8 -topk8 -v2 des3 -in ~/.ssh/id_rsa.old -out ~/.ssh/id_rsa
-
-Xterm
------
-
-Allow meta-forward-word to work, and set fonts and colours:
-
- * Edit.Keyboard Shortcuts - disable all menu access
- * Set font to Ubuntu Mono size 11
-
-
-Node
-----
-
-Get up to date version of node:
-
-    sudo add-apt-repository ppa:chris-lea/node.js
-    sudo apt-get update
-    sudo apt-get install nodejs
-    
-Install npm directly with:
-
-    curl -L https://npmjs.org/install.sh | sh
-
-Optionally configure proxy for npm with:
-
-    npm config set proxy http://proxy.localoffice:3128
-    npm config set https-proxy http://proxy.localoffice:3128
-
-
 UPS (for APC SC420)
 -------------------
 
 
 Wait a few seconds for `/var/log/syslog` to report starting up.
 
-Test with `sudo apcaccess status`.
-
-
-Mercurial
----------
-
-    cp hgrc ~/.hgrc
-
-
-Git
----
-
-    git config --global user.name "Timothy Corbett-Clark"
-    git config --global user.email "timothy@corbettclark.com"
-    git config --global credential.helper cache
-    git config --global core.editor "subl -n -w"
-    git config --global color.ui true
-
-
-Nose
-----
-
-Set defaults for python unittest runner:
-
-    cp noserc ~/.noserc
-
-
-Virtualenv and friends
-----------------------
-
-We will perform a little bootstrap dance to obtain the most recent versions of all Python packages (controlled with pip not apt):
-
-    sudo apt-get purge python-pip python-virtualenv virtualenvwrapper ipython
-    sudo apt-get install python-setuptools
-    sudo apt-get install python2.7-dev
-
-Note that ``python-setuptools`` will probably not be the most recent version
-(see [distribute](http://pythonhosted.org/distribute)). We will be installing a
-newer version and removing this one later.
-
-We install ``python2.7-dev`` so that some of pip's can compile C from source.
-
-Use ``easy_install`` to install pip to the system, and then pip to install
-``virtualenv`` and ``invewrapper``:
-
-    sudo easy_install pip
-    sudo pip install virtualenv invewrapper
-
-This also installed a newer version of distribute (in ``/usr/local``), so we can
-remove our slightly older debian packaged version:
-
-    sudo apt-get purge python-setuptools
-
-Then to create a virtual env and install Python packages at user-level (i.e. no
-further global pip installs):
-
-    pew-new whatever
-    pip install ipython distribute nose coverage yanc flake8 grin
-    ...
-
-Some pip packages have deb dependencies. For example, to install pip package
-``psycopg2``, first do:
-
-    sudo apt-get install postgresql-server-dev-9.3
-
-
-Non-free stuff
---------------
-
-To add non-free stuff like fonts and reading encrypted DVDs, add the
-[Medibuntu](http://www.medibuntu.org) repository by following their instructions. Then:
-
-    sudo apt-get install mplayer mplayer-gui non-free-codecs libdvdcss2
+Test with `sudo apcaccess status`.