Changes between Version 18 and Version 19 of GeoDjangoUbuntuInstall
- Timestamp:
- Aug 29, 2008, 8:01:53 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeoDjangoUbuntuInstall
v18 v19 17 17 cd ~ 18 18 wget http://www.djangoproject.com/download/1.0-beta-1/tarball/ 19 tar xzvf Django-1.0-beta_ 1.tar.gz19 tar xzvf Django-1.0-beta_2.tar.gz 20 20 sudo python ~/Django-1.0-beta_1/setup.py install #Enter password to give root privileges as prompted throughout the installation 21 21 #Install Apache2, PsycoPg2, PostGreSQL, PostGIS, build-essential [to be able to compile libraries], and Mod_Python … … 62 62 63 63 === Step 1 === 64 Install Needed Programs using apt-get or Synaptic 64 Download all needed programs and libraries using apt-get and wget [commandline] or Synaptic and Firefox [GUI]: 65 65 {{{ 66 apt-get install apache2 python-psycopg2 postgresql build-essential libapache2-mod-python postgresql-8.3-postgis #Or install using Synaptic 66 apt-get install apache2 python-psycopg2 postgresql build-essential libapache2-mod-python postgresql-8.3-postgis 67 wget http://www.djangoproject.com/download/1.0-beta-2/tarball/ 68 wget http://download.osgeo.org/gdal/gdal-1.5.2.tar.gz 69 wget http://download.osgeo.org/geos/geos-3.0.0.tar.bz2 67 70 }}} 71 72 Synaptic 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 68 75 69 76 === Step 2 === … … 85 92 86 93 === Step 3 === 87 Download needed libraries that do not have new enough versions in Synaptic88 {{{89 wget gdal-1.5.2.tar.gz http://download.osgeo.org/gdal/90 wget geos-3.0.0 http://geos.refractions.net/downloads91 }}}92 93 === Step 4 ===94 94 Compile and install these libraries so GeoDjango can find them 95 95 Extract gdal-1.5.2.tar.gz and geos-3.0.0 to folders on your Desktop and install:: … … 109 109 }}} 110 110 111 === Step 5===111 === Step 4 === 112 112 Create your PostGIS `template_postgis` database 113 113 {{{ … … 160 160 }}} 161 161 162 === Step 6===162 === Step 5 === 163 163 Return to GeoDjangoInstall for troubleshooting and tests for GDAL and GEOS (see bottom of page) 164 164 165 === Step 7===165 === Step 6 === 166 166 Check 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. 167 167