Code

Changes between Version 18 and Version 19 of GeoDjangoUbuntuInstall


Ignore:
Timestamp:
08/29/08 06:01:53 (6 years ago)
Author:
robyg
Comment:

Updated to Beta 2, started modifying long instructions to be a detailed description of the short instructions.

Legend:

Unmodified
Added
Removed
Modified
  • GeoDjangoUbuntuInstall

    v18 v19  
    1717cd ~ 
    1818wget http://www.djangoproject.com/download/1.0-beta-1/tarball/ 
    19 tar xzvf Django-1.0-beta_1.tar.gz  
     19tar xzvf Django-1.0-beta_2.tar.gz  
    2020sudo python ~/Django-1.0-beta_1/setup.py install  #Enter password to give root privileges as prompted throughout the installation 
    2121#Install Apache2, PsycoPg2, PostGreSQL, PostGIS, build-essential [to be able to compile libraries], and Mod_Python 
     
    6262 
    6363=== Step 1 === 
    64 Install Needed Programs using apt-get or Synaptic 
     64Download all needed programs and libraries using apt-get and wget [commandline] or Synaptic and Firefox [GUI]: 
    6565{{{ 
    66 apt-get install apache2 python-psycopg2 postgresql build-essential libapache2-mod-python postgresql-8.3-postgis   #Or install using Synaptic 
     66apt-get install apache2 python-psycopg2 postgresql build-essential libapache2-mod-python postgresql-8.3-postgis   
     67wget http://www.djangoproject.com/download/1.0-beta-2/tarball/ 
     68wget http://download.osgeo.org/gdal/gdal-1.5.2.tar.gz  
     69wget http://download.osgeo.org/geos/geos-3.0.0.tar.bz2   
    6770}}} 
     71 
     72Synaptic or apt-get will download and install the specified packages in one step.  Django and the other libraries still need to be installed as described below. 
     73 
     74 
    6875 
    6976=== Step 2 === 
     
    8592 
    8693=== Step 3 === 
    87 Download needed libraries that do not have new enough versions in Synaptic 
    88 {{{ 
    89     wget gdal-1.5.2.tar.gz http://download.osgeo.org/gdal/ 
    90     wget geos-3.0.0 http://geos.refractions.net/downloads  
    91 }}} 
    92  
    93 === Step 4 === 
    9494Compile and install these libraries so GeoDjango can find them 
    9595Extract gdal-1.5.2.tar.gz and geos-3.0.0 to folders on your Desktop and install:: 
     
    109109}}} 
    110110 
    111 === Step 5 === 
     111=== Step 4 === 
    112112Create your PostGIS `template_postgis` database 
    113113{{{ 
     
    160160}}} 
    161161 
    162 === Step 6 === 
     162=== Step 5 === 
    163163Return to  GeoDjangoInstall for troubleshooting and tests for GDAL and GEOS (see bottom of page) 
    164164 
    165 === Step 7 === 
     165=== Step 6 === 
    166166Check out [http://mapserver.gis.umn.edu/ MapServer], [http://mapnik.org/ Mapnik], and [http://openlayers.org/ OpenLayers], open source mapping applications recommended for use with !GeoDjango. 
    167167