Changes between Version 21 and Version 22 of GeoDjangoUbuntuInstall
- Timestamp:
- Sep 4, 2008, 9:41:32 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GeoDjangoUbuntuInstall
v21 v22 21 21 #Install Apache2, PsycoPg2, PostGreSQL, PostGIS, build-essential [to be able to compile libraries], and Mod_Python 22 22 sudo apt-get install apache2 python-psycopg2 postgresql build-essential libapache2-mod-python postgresql-8.3-postgis #Press 'y' to confirm download 23 wget http://download.osgeo.org/gdal/gdal-1.5.2.tar.gz #The version in the Repositories is currently not new enough for GeoDjango 24 wget http://download.osgeo.org/geos/geos-3.0.0.tar.bz2 #The version in the Repositories is currently not new enough for GeoDjango 25 tar xzvf gdal-1.5.2.tar.gz 26 cd gdal-1.5.2 27 ./configure --datadir=/usr/local/share/gdal 28 make 29 sudo make install 30 cd ~ 31 bzip2 -dc geos-3.0.0.tar.bz2 | tar -x 23 wget http://download.osgeo.org/geos/geos-3.0.0.tar.bz2 # The version in the Repositories is currently not new enough for GeoDjango 24 wget http://download.osgeo.org/gdal/gdal-1.5.2.tar.gz # The version in the Repositories is currently not new enough for GeoDjango 25 tar xjf geos-3.0.0.tar.bz2 32 26 cd geos-3.0.0 33 27 ./configure 34 28 make 35 sudo make install 36 sudo cp /usr/share/gcs.csv /usr/local/share/ 29 sudo make install 30 cd .. 31 tar xzf gdal-1.5.2.tar.gz 32 cd gdal-1.5.2 33 ./configure 34 make 35 sudo make install 36 cd .. 37 37 sudo pico /etc/postgresql/8.3/main/pg_hba.conf #Edit to allow Django Connections, as per the regular Django Docs 38 38 sudo pico /etc/apache2/sites-available/default #Edit to Create Django Locations, as per the regular Django Docs … … 95 95 Extract gdal-1.5.2.tar.gz and geos-3.0.0 to folders on your Desktop and install:: 96 96 {{{ 97 #in the gdal-1.5.2 directory98 ./configure --datadir=/usr/local/share/gdal99 make100 sudo make install101 102 97 #in the geos-3.0.0 directory 103 98 ./configure 104 99 make 105 sudo make install 100 sudo make install 101 102 #in the gdal-1.5.2 directory 103 ./configure 104 make 105 sudo make install 106 106 107 107 sudo cp ~/Desktop/geos-3.0.0/capi/libs/* /usr/lib/