Skip to content

Instantly share code, notes, and snippets.

@RobbieClarken
Last active December 17, 2015 23:49
Show Gist options
  • Save RobbieClarken/5692274 to your computer and use it in GitHub Desktop.
Save RobbieClarken/5692274 to your computer and use it in GitHub Desktop.
  • Install git

    export PATH=/usr/local/sbin:/usr/sbin:/sbin:/bin:$PATH
    sudo apt-get install git vim xclip
  • Add ssh key to GitHub:

    • Generate key:

      ssh-keygen -t rsa
    • Copy contents of ~/.ssh/id_rsa.pub to GitHub SSH Keys page:

      xclip < ~/.ssh/id_rsa.pub # (Middle click to paste)
  • Install dotfiles.

  • Install haproxy (Debian Package):

    • Add to /etc/apt/sources.list:

      deb http://ftp.de.debian.org/debian wheezy-backports main 
      
    • Run:

      apt-get update
      apt-get install haproxy
      
    • Configure /etc/haproxy/haproxy.cnf.

    • Set ENABLED=1 in /etc/default/haproxy.

    • Run /etc/init.d/haproxy start.

  • Install node.js.

  • Install supervisor:

    • Run

      apt-get install supervisor
    • Update /etc/supervisor/supervisord.conf.

    • Run:

      /etc/init.d/supervisor stop
      /etc/init.d/supervisor start
  • Install useful utilities:

    apt-get install curl tree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment