Start the Django learning process formally. The first step to using Django is to configure the environment.
My configuration: Os:ubuntu 12.10server:apache 2.2.22database:mysql 5.5.29framework:django 1.5 Apache installation: First step : Install Apache2. In terminal enter the sudo apt-get install apache2 The second step: Install Mod_wsgi. In terminal input sudo apt-get install LIBAPACHE2-MOD-WSGI mysql installation: First step: Install MySQL server. In terminal input sudo apt-get install mysql-server The second step: Install the MySQL python interface. In terminal input sudo apt-get install Python-mysqldbDjango Installation:First step: Download the Django package. Can be downloaded from Django's website, here is the address, https://www.djangoproject.com/download/. Click First, download django-1.5.1.tar.gz (checksums) is downloaded.Step Two: Unzip the Django package. If you use a GUI, just double-click on it. If in terminal, enter TAR-ZXVF {file}.tar.gz. Here {file} is the name of your Django package. Step three: Install the Django package. CD into the extracted folder and enter the sudo python setup.py install. Installation is complete! ]
Install Django under Ubuntu