In fresh ubuntu 14.04 erpnext ease install error

In my little experience, after a couple of hours googleing i have created my own ERPNext installation checklist on Ubuntu 14.04

1- Make sure you have a brand new installation of Ubuntu SERVER 14.04, because believe me… it did not work for me on the desktop version.

2- Be sure to remove mysql completely from your system Just type in terminal:

. sudo apt-get remove --purge mysql-server mysql-client mysql-common
. sudo apt-get autoremove
. sudo apt-get autoclean

3- Installing Dependencies

. sudo apt-get install ca-certificates
. sudo apt-get install nodejs
. sudo apt-get install npm

4- Easy Production Setup

. wget https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh
. sudo bash setup_frappe.sh --setup-production
. bench start

5- Development Setup (Optional)

. wget https://raw.githubusercontent.com/frappe/bench/develop/playbooks/install.py
. python install.py --develop
. You will have to manually create a new site (bench new-site) and get apps that you need (bench get-app, bench install-app).

I hope it will work for you.