Created
October 30, 2012 18:30
-
-
Save tzangms/3982084 to your computer and use it in GitHub Desktop.
One Command line installer for python web development on ubuntu 12.04 LTS
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
echo "This script requires superuser access to install apt packages." | |
echo "You will be prompted for your password by sudo." | |
# clear any previous sudo permission | |
sudo -k | |
# run inside sudo | |
sudo sh <<SCRIPT | |
apt-get update -y | |
apt-get upgrade -y | |
apt-get remove vim-tiny -y | |
apt-get install -y vim htop nginx git-core python python-setuptools python-dev build-essential python-pip python-virtualenv virtualenvwrapper libxml2-dev libxslt-dev gettext libmemcache-dev libmemcached-dev libjpeg-dev libfreetype6-dev zlib1g-dev liblcms1-dev mysql-client mysql-server libmysqlclient-dev redis-server | |
ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib/libfreetype.so | |
ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so /usr/lib/libjpeg.so | |
ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib/libz.so | |
ln -s /usr/lib/`uname -i`-linux-gnu/liblcms.so /usr/lib/liblcms.so | |
SCRIPT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One command line install by executing this line below:
wget -qO- http://raw_format_of_this_gist | sh