Django

Setup Ubuntu Server in Softlayer for Django

10 Jul , 2015  

Here are a quick step to setup Ubuntu server in Softlayer for Django

1. Install depedencies

1
2
3
4
apt-get install python-software-properties software-properties-common
add-apt-repository ppa:webupd8team/java
apt-get update
sudo apt-get install oracle-java7-installer

2. Install UWSGI, Python, PostgreSQL and other modules

1
sudo apt-get install libpq-dev python-dev python-software-properties postgresql postgresql-contrib nginx git zip unzip build-essential python nmap libxslt1-dev python-pip imagemagick uwsgi uwsgi-plugin-python nmap

3. Another modules

1
sudo apt-get install git-core curl openssl libssl-dev pkg-config python-dev libxml2 libxml2-dev libxslt1-dev libbz2-dev libssl-dev p7zip-full unzip unace unp bzip2 gzip patch subversion git libmysqlclient-dev libmysqlclient-dev libmysqlclient18 php5 php5-mysql mysql-server

4. Setup UWSGI and NGINX