View
127
Download
15
Tags:
Embed Size (px)
DESCRIPTION
Manual de Instalação
PostgreSQL.PostGIS v 8.4Guia de InstalaoJaneiro de 12
CONTEDOPOSTGRESQL.POSTGIS............................................................................................... 2 Como Instalar ......................................................................................................................... 2 Como Inicializar .................................................................................................................... 14 Referncias .............................................................................................. 18
Lgia Silva (Investigadora no INESC TEC e Faculdade de Engenharia, Universidade do Porto)
POSTGRESQL.POSTGISA verso aqui exemplificada a verso PostgreSQL 8.4, com extenso PostGIS 1.5, e encontra-se instalada em C:\Program Files\PostgreSQL\8.4.
Como InstalarEste software encontra-se disponvel para download em http://www.enterprisedb.com/products/pgdownload.do#windows, ou encontra-se tambm disponvel em backup no D:\installers\postgresql\postgresql-8.4.5-1windows.exe. Em seguida descrevem-se os passos que devem ser efectuados para a sua instalao: - Abrir/correr o executvel postgresql-8.4.5-1-windows.exe.
- Carregar Next.
PostgreSQL.PostGIS v8.4
- 2/ 18 -
Guia de Instalao
- Seleccionar a pasta de instalao (C:\Program Files\PostgreSQL\8.4). - Carregar Next.
- Seleccionar a pasta onde Files\PostgreSQL\8.4\data). - Carregar Next.
ser
armazenada
a
informao
(C:\Program
PostgreSQL.PostGIS v8.4
- 3/ 18 -
Guia de Instalao
- Inserir a password escolhida para o postgres (User = postgres e Password = postgresql, por exemplo) - Carregar Next.
- Escolher a porta onde estar activo o servidor de Base de Dados (default: 5432). - Carregar Next.
PostgreSQL.PostGIS v8.4
- 4/ 18 -
Guia de Instalao
- Carregar Next.
- Carregar Next.
PostgreSQL.PostGIS v8.4
- 5/ 18 -
Guia de Instalao
- Esperar que instale.
- Carregar Finish.
PostgreSQL.PostGIS v8.4
- 6/ 18 -
Guia de Instalao
- Carregar Next. Se aparecer o seguinte aviso:
- Significa que necessrio configurar o acesso ao proxy. Nesse caso, carregar no boto Proxy servers.
- Carregar OK. - Carregar Next na janela anterior do Stack Builder.
PostgreSQL.PostGIS v8.4
- 7/ 18 -
Guia de Instalao
- Seleccionar as aplicaes extra (extenses) que se pretende instalar, no caso a extenso espacial: PostGIS.
- Seleccionar a verso adequada da extenso espacial (PostGIS 1.5 for PostgreSQL 8.4 v1.5.2). - Carregar Next.
PostgreSQL.PostGIS v8.4
- 8/ 18 -
Guia de Instalao
- Seleccionar o stio de onde iro ser descarregados os extras a instalar.
- Seleccionar uma pasta temporria. - Carregar Next.
PostgreSQL.PostGIS v8.4
- 9/ 18 -
Guia de Instalao
- Carregar Next.
- Carregar I Agree.
PostgreSQL.PostGIS v8.4
- 10/ 18 -
Guia de Instalao
- Carregar Next.
- Seleccionar o local Files\PostgreSQL\8.4). - Carregar Next.
onde
ir
ficar
instalado
o
software
(C:\Program
PostgreSQL.PostGIS v8.4
- 11/ 18 -
Guia de Instalao
- Inserir a password escolhida. - Carregar Next.
- Escolher nome da Base de Dados a criar (sigave-vard) - Carregar Install.
PostgreSQL.PostGIS v8.4
- 12/ 18 -
Guia de Instalao
- Carregar Close.
PostgreSQL.PostGIS v8.4
- 13/ 18 -
Guia de Instalao
- Carregar Finish.
Para assegurar conexes externas a este SGBD dever ser aberto o porto 5432 na firewall do windows do servidor onde est instalado o postgreSQL.
Como Inicializar- No menu Iniciar abrir a seguinte aplicao:
- Abrir o editor pgAdminIII (a verso que se encontra instalada na MAPS a verso 1.10.0). Ver o seguinte splash screen:
PostgreSQL.PostGIS v8.4
- 14/ 18 -
Guia de Instalao
E a seguinte interface:
- Fazer duplo clique no servidor PostgreSQL 8.4 (localhost:5432).
PostgreSQL.PostGIS v8.4
- 15/ 18 -
Guia de Instalao
- Inserir a password criada durante a instalao do postgres (password = postgresql). - Carregar OK.
PostgreSQL.PostGIS v8.4
- 16/ 18 -
Guia de Instalao
- Fazer duplo clique na Base de Dados com o nome sigave-vard (base de dados criada durante a instalao de postgis). A esta altura, existem apenas as tabelas da template espacial do postgis (geometry_columns e spatial_ref_sys).
PostgreSQL.PostGIS v8.4
- 17/ 18 -
Guia de Instalao
RefernciasPostgreSQL.PostGIS http://www.postgresql.org/docs/8.4/static/installation.html http://www.postgresqlguide.com/
PostgreSQL.PostGIS v8.4
- 18/ 18 -
Guia de Instalao