Last active
October 3, 2015 09:18
-
-
Save douglasmiranda/2433831 to your computer and use it in GitHub Desktop.
installing things on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#setuptools | |
wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz#md5=7df2a529a074f613b509fb44feefe74e | |
tar zxf setuptools-0.6c11.tar.gz | |
cd setuptools-0.6c11/ | |
sudo python setup.py install | |
#pip | |
wget http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz#md5=62a9f08dd5dc69d76734568a6c040508 | |
tar zxf pip-1.1.tar.gz | |
cd pip-1.1/ | |
sudo python setup.py install | |
#vim | |
sudo apt-get install vim-gnome | |
#virtualenv and virtualenvwrapper | |
sudo pip install virtualenv | |
sudo pip install virtualenvwrapper | |
vim ~/.bashrc | |
#content to add in .bashrc | |
#export WORKON_HOME=$HOME/.virtualenvs | |
#export PROJECT_HOME=$HOME/dev | |
#source /usr/local/bin/virtualenvwrapper.sh | |
source .bashrc | |
#git | |
sudo apt-get install git-core git-doc git-svn git-gui gitk | |
#mysql | |
sudo apt-get install mysql-server-5.5 | |
sudo /etc/init.d/apache2 restart | |
sudo apt-get install phpmyadmin | |
sudo cp -R /usr/share/phpmyadmin /var/www | |
#if you get the warning "missing mycrypt" just do this | |
sudo apt-get install mcrypt | |
sudo /etc/init.d/apache2 restart | |
#mysqldb | |
sudo apt-get build-dep python-mysqldb | |
pip install mysql-python | |
#tool for deployment | |
pip install fabric | |
# for gevent | |
sudo apt-get install libevent-dev | |
# for Pillow - (could upgrade the lib versions) | |
sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms1-dev libwebp-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment