Install Django under Ubuntu

Source: Internet
Author: User
Tags install django

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.