Formating Ubuntu, Installing apps, Setup virtualenv, Postgresql and Mendel,MD


Download Chrome, Aptana, Rstudio, Mendeley, qtstalker, Skype, Dropbox Install Monitors, Sensors

[bash]
sudo apt-get install kile kate konsole okular qtstalker lm-sensors screenlets screenlets-pack-all indicator-multiload indicator-cpufreq compizconfig-settings-manager compiz-plugins python-setuptools python-pip python-dev mysql-server libmysqlclient-dev
sudo sensors-detect
[/bash]

sudo apt-get install kile kate konsole okular qtstalker lm-sensors screenlets screenlets-pack-all indicator-multiload indicator-cpufreq compizconfig-settings-manager compiz-plugins python-setuptools python-pip python-dev mysql-server libmysqlclient-dev
sudo sensors-detect

Fix alt+tab for gnome classic
sudo apt-get install compizconfig-settings-manager compiz-plugins

run ccsm

4. Click Window Management in the left pane.

5. In the right side, Click the checkbox next to Application Switcher.

Setting up Django Env

sudo apt-get install python-setuptools python-pip
sudo pip install virtualenvwrapper
mkdir -p ~/.virtualenvs
echo 'export WORKON_HOME=~/.virtualenvs' >> ~/.bashrc
echo 'source /usr/local/bin/virtualenvwrapper.sh' >> ~/.bashrc
source ~/.bashrc

sudo apt-get install git-core

Source:http://abratukhin.blogspot.com.br/2012/05/python-development-environment-for.html

Postgre
sudo apt-get install postgresql postgresql-server-dev-9.1 python-dev
Mysql
sudo apt-get install mysql-server libmysqlclient-dev python-dev

setting up PostgreSQL
sudo apt-get purge postgresql-9.1
sudo apt-get purge postgresql-9.1*
sudo apt-get purge postgresql-8.4
sudo apt-get purge postgresql-8.4*
sudo apt-get install postgresql-9.1
sudo apt-get install postgresql-client-9.1
sudo su
su - postgres
psql -d template1 -U postgres
CREATE USER raony WITH PASSWORD 'myPassword';
CREATE DATABASE mendelmd;
GRANT ALL PRIVILEGES ON DATABASE mendelmd to raony;
q

Set up Mendel,MD dev database

fab load_sample_data

ssh-keygen
 

raony