[pyar] Fwd: la autentificaci?n Ident fall? para el usuario <<postgres>>
Mariano Reingart
reingart en gmail.com
Mar Oct 4 23:39:34 ART 2011
Para instalar PostGIS en ubuntu/debian:
sudo apt-get install postgresql-8.4-postgis postgis
createdb geodb
createlang -dgeodb plpgsql
psql -dgeodb -f /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sq
psql -dgeodb -f
/usr/share/postgresql/8.4/contrib/postgis-1.5/spatial_ref_sys.sq
psql -dgeodb -c"select postgis_lib_version();"
Deberìa devolver:
postgis_lib_version
---------------------
1.5.1
(1 fila)
Con eso deberia quedarte instalado, luego podes usar GeoDjango con esa db
Cualquier cosa con dpkg podes ver donde estan instalados los archivos:
dpkg -L postgresql-8.4-postgis
Sds
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
2011/10/4 Diego Uribe Gamez <diego.uribe.gamez en gmail.com>
>
> Bueno y malo, les cuento que me fue bien pero no encuentro unos archivos
> para terminar la instalacion:
>
>
> tar xvfz postgis-1.5.3.tar.gz
> cd postgis-1.5.3
> ./configure
> make
> make install
> #BEGIN OPTIONAL -- this is already part of the tar
> # only really need this if installing from SVN
> cd doc/
> make comments-install
> #END OPTIONAL
> createdb yourdatabase
> createlang plpgsql yourdatabase
> psql -d yourdatabase -f postgis.sql
> psql -d yourdatabase -f postgis_comments.sql
> psql -d yourdatabase -f spatial_ref_sys.sql
>
>
> postgis.sql?
> postgis_comments.sql?
> spatial_ref_sys.sql?
>
> la verdad no se a donde se fueron estos archivos y nada que los veo en la
> carpeta de instalación:
>
> postgres en servidor:/var/django/test_project/postgis-1.5.3/doc$ ls
> ? Makefile.comments.in reference_constructor.xml
> reference_output.xml using_postgis_app.xml
> doxygen.cfg.in Makefile.in reference_editor.xml
> reference_processing.xml using_postgis_dataman.xml
> faq.xml man reference_exception.xml reference_transaction.xml
> xmlformat.conf
> geography.txt performance_tips.xml reference_lrs.xml
> reference_type.xml xsl
> html postgis_aggs_mm.xml reference_management.xml reference.xml
> ZMSgeoms.txt
> installation.xml postgis_comments.sql reference_measure.xml
> release_notes.xml
> introduction.xml postgis.xml reference_misc.xml reporting.xml
> Makefile README reference_old.xml rfc
> Makefile.comments reference_accessor.xml reference_operator.xml
> template.xml
> postgres en servidor:/var/django/test_project/postgis-1.5.3/doc$ cd ../
> postgres en servidor:/var/django/test_project/postgis-1.5.3$ ls
> aclocal.m4 config.guess configure.ac GNUmakefile loader postgis
> spatial_ref_sys.sql Version.config
> astyle.sh config.log COPYING install-sh ltmain.sh
> postgis_config.h STYLE
> authors.svn config.status CREDITS java macros
> postgis_config.h.in TODO
> autogen.sh config.sub doc liblwgeom Makefile README.postgis
> topology
> ChangeLog configure extras libtool NEWS regress utils
>
> mira que si intento crear una base de datos como root no me deja y eso lo
> solucione con la información anterior, por eso creo que si es obligatorio y
> pues como usuario postges si lo hacer, eso como dato.
>
> dice que es en [prefix]/share/contrib pero nada que lo encuentro para
> hacer los últimos tres pasos.
>
> Alguna idea?
>
>
> --
> *Diego Alonso Uribe Gamez*
> ------------------------------
>
> *Desarrollador web*
>
> Twitter: @DiegoUG <http://www.twitter.com/DiegoUG>
>
> Google+: http://gplus.to/diegoug
> ------------------------------
>
>
>
> _______________________________________________
> pyar mailing list pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> Argentina - http://www.usla.org.ar
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20111004/f8822fa1/attachment.html>
More information about the pyar
mailing list