Setup Ubuntu Machine

banner-772x250

Install Packages

sudo apt-get install -y curl
sudo apt-get install -y build-essential
sudo apt-get install -y bison byacc gperf
sudo apt-get install -y zlib1g-dev
sudo apt-get install -y libreadline5
sudo apt-get install -y libreadline-dev
sudo apt-get install -y libncurses5 libncurses5-dev
sudo apt-get install -y libssl-dev
sudo apt-get install -y autoconf
sudo apt-get install -y libxml2
sudo apt-get install -y libxml2-dev
sudo apt-get install -y libpng12-0
sudo apt-get install -y libpng12-dev
sudo apt-get install -y libgmp3-dev
sudo apt-get install -y sendmail
sudo apt-get install -y libjpeg62-dev
sudo apt-get install -y openssh-server
sudo apt-get install -y gettext
sudo apt-get install -y imagemagick
sudo apt-get install -y graphicsmagick-libmagick-dev-compat

Install and configure GIT

sudo apt-get install git-core

Colored Git
git config –global color.diff auto
git config –global color.status auto
git config –global color.branch auto
git config –global color.interactive auto
git config –global color.ui true
git config –global push.default tracking
git config –global core.autocrlf false
git config –global core.safecrlf false
git config –global core.ignorecase false
git config –global core.excludefile ~/.gitignore
git config –global diff.renames copies

Install and configure Mysql

sudo apt-get install libmysql++-dev
sudo apt-get install -y mysql-server

Install and configure PHP

sudo apt-get install php

Install PHPMyAdmin

sudo apt-get install phpmyadmin

Install Ruby and Gems

sudo apt-get install ruby
sudo apt install ruby-railties

Install Rvm

curl -L https://get.rvm.io | bash -s stable