Skip to content

Instantly share code, notes, and snippets.

@fetchTe
Last active October 15, 2015 17:48
Show Gist options
  • Save fetchTe/9e103ada9ece2c2d6fdb to your computer and use it in GitHub Desktop.
Save fetchTe/9e103ada9ece2c2d6fdb to your computer and use it in GitHub Desktop.
Basic Linux Setup For Web Development

Linux Setup

###Update We first need to make sure ubuntu is up to speed and updated. Easy way to do this is to use the following commands.

  • sudo apt-get update

  • sudo apt-get upgrade

  • sudo apt-get install ubuntu-release-upgrader-core

  • sudo do-release-upgrade

  • Ati Graphic Card

  • Keyboard Bindings

    • Active g keys driver
    • Pinthos Shortcuts
      • dbus-send --print-reply --dest=net.kevinmehall.Pithos /net/kevinmehall/Pithos net.kevinmehall.Pithos.PlayPause
      • dbus-send --print-reply --dest=net.kevinmehall.Pithos /net/kevinmehall/Pithos net.kevinmehall.Pithos.SkipSong
    • Task Switcher - KDE Control Module

###Setup Core Development

  • Zsh

    • apt-get install zsh
    • sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    • Themes
    • Plugins:
      • git node npm sublime docker meteor ubuntu vagrant z history zsh-syntax-highlighting extract
      • zsh-syntax-highlighting
  • Git

  • Curl

  • sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
  • Node
    1. curl -sL https://deb.nodesource.com/setup | sudo bash -
    2. sudo apt-get install -y nodejs
    3. Optional (apt-get install -y build-essential)
    4. nvm
  • Docker
  • curl -sSL https://get.docker.com/ | sh
  • sudo usermod -aG docker <username>
  • Vagrant
  • sudo apt-get install linux-headers-$(uname -r)
  • sudo dpkg-reconfigure virtualbox-dkms
  • sudo apt-get install virtualbox-qt
  • sudo apt-get install vagrant
  • Add a box
  • vagrant box add precise32 http://files.vagrantup.com/precise32.box
  • Npm
  • sudo npm install npm -g
  • npm adduser
  • Global NPM

    • tern
    • iron-node
    • eslint babel-eslint
    • coffee-script
  • NPM Misc

    • To check for old outdated npm packages that are install globally
      • npm outdated -g --depth=0
    • Update all global packages
      • npm update -g
  • Meteor

  • robomongo

###Software Note you can install some of this software via the Software Manager which comes pre-installed, although, it has its limitations in scope so I typical install everything via the console. Nevertheless, take a look at the various packages it has to offer something might trip your trigger.

  • Sublime *

  • Chrome

    • You should be able to just install it by going to Chrome
    • If not you may have to install it manually
      • 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-chrome.list'
      • sudo apt-get update
      • sudo apt-get install google-chrome-beta
  • Update Chrome

    • sudo apt-get --only-upgrade install google-chrome-beta
    • killall google-chrome
  • VLC

    • sudo apt-get update
    • sudo apt-get install vlc browser-plugin-vlc
  • Spotify

    1. Search for and open the “Software & Updates” utility from Unity Dash.
    2. Under “Other Software” tab, click the Add button and paste the below line into the pop-up box: deb http://repository.spotify.com stable non-free
    3. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59
    4. sudo apt-get update
    5. sudo apt-get install spotify-client
  • Pandora Client which is pretty cool, unlimited skips no adds, plus you can see the next songs that will be played. And did I mention that is with a free account?? Although, here is the catch you will have to create a new pandora account once a week or so since your account will get flagged and all of a sudden you will start to hear ads. Although, there is no email verification so it really is not much of a hassle

    • Best way to install this is via the Software Manager which is a program that comes pre-install. Open that up and search for pithos and install it.
  • Simple Screen Recorder which is what I use to do the screen casts

    • sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
    • sudo apt-get update
    • sudo apt-get install simplescreenrecorder
    • If you want to record 32-bit OpenGL applications on a 64-bit system:
      • sudo apt-get install simplescreenrecorder-lib:i386
  • Guvcview web-cam recorder

    • sudo add-apt-repository ppa:pj-assis/ppa
    • sudo apt-get update
    • sudo apt-get install guvcview

Anything Else

Look to the all mighty Google for assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment