PostgreSQL 8.3.7 Installation - √
Install PostgreSQL 8.3.7-1 - √
Installation Directory = C:\Program Files (x86)\PostgreSQL\8.3
Data Directory = C:\Program Files (x86)\PostgreSQL\8.3\data
You need to remove your older \data folder (C:\Program Files (x86)\PostgreSQL\8.3\data), then this error will go away.
Password = leica
Port = 5432
Locale = “English, United States”
Install PostGIS 1.3.6 Extension from Stack Builder - √
If you want to install PostGIS extension offline, you can download the installer from http://pgfoundry.org/frs/?group_id=1000256&release_id=1274
Choose “PostgreSQL 8.3 on port 5432” to start with.
NOTE: PostGIS 1.4.0 should also work!
Choose “PostGIS” from Spatial Extensions
Choose an connection site, and click “Next”
Use the password you created during PostgreSQL installation for superuser.Password = leica
If you provide the wrong password, PostGIS database creation will fail. So you have to start the “Stack Builder” and install PostGIS extension again.
Done!
Configure PostgreSQL & PostGIS - √
[1] Allow remote IP address to access PostgreSQLEdit <POSTGRES_HOME>/data/pg_hba.conf (C:\Program Files\PostgreSQL\8.3\data\pg_hba.conf)
Change from:
# IPv4 local connections:host all all 127.0.0.1/32 md5# IPv6 local connections:#host all all ::1/128 md5
To:
# IPv4 local connections:host all all 0.0.0.0/0 md5# IPv6 local connections:#host all all ::1/128 md5
[2] Allow communication over TCP/IP from All addressesEdit <POSTGRES_HOME>/data/postgresql.conf (C:\Program Files\PostgreSQL\8.3\data\postgresql.conf)
Change from:#listen_addresses = 'localhost' # what IP address(es) to listen on;to:listen_addresses = '*'
[3] Restart PostgreSQL service
NOTE:If you can not restart PostgreSQL, maybe the JAVA messed up (you uninstall one of the JRE, which destroy dependency.)So you need to uninstall all your JAVA JREs, and then install the newest JRE.You will be fine!
Create User Database for EAS/EAIM 2010 - √
Start the pgAdmin III from “Start->Programs->PostgreSQL 8.3->pgAdmin III”.You should have 3 databases created for you. We need to create a new database so that this database is where the EAS/EAIM catalog table will be stored
Create database for EAS/EAIM 2010:Right click on the Database, and choose “New Database...”
From Properties Tab:Name = This is the database name you want to access it as (For example, EAIM_Catalog)Owner = Leave the owner as "postgres" if multiple people are going to be connecting to the databaseTemplate = Make sure to use "template_postgis" to enable Spatial support
From Privileges Tab:Make sure you add the users you want to be able to access. At least Create, Temp and Connect privileges are required for EAIM
Click OK to create the new database:
Create Login Role for EAS/EAIM 2010 - √
Create Login role:
Right-click on the “Login Roles”, and choose “New login role...”From Properties Tab:Role Name = This is the role you will give your schemaPassword = give a passwordRole Privileges = make sure at least grant “Can create database objects” privilege.
EAIM_2010/leica
Click OK, now you should have the new login role “EAIM_2010”:
Create Schema for EAS/EAIM 2010 - √
Create New Schema for database “EAIM_CATALOG”:Right click on “Database->EAIM_CATALOG”, and choose “New Schema”:
From Properties Tab:Name = This is the name for your schemaOwner = choose “EAIM_2010” login role you just created
Click OK, Now you should have your new Schema “EAIM_2010”:
EAIM 2010 Installation
JDK v.1.5_14 or Higher - √
You can have multiple JDKs, only JDK 1.5_14 is tested!
Why you need JDK instead of JRE?This JDK is not for EAIM, JDK is for your web server (Tomcat or JBOSS);The difference between JDK and JRE is not only the java compiler (javac), JDK provide more library
than JRE.... so JDK is always recommend for Server stuff (JRE is fine for Client stuff).
EAIM will use its own JDK.
Environment Variables - √
Make sure you set up the following System Environment Variables:
JAVA HOME = C:\Program Files\Java\jdk1.5.0_14
See the following Screen Shots:
Note: I use Window 2003 server 64bit, so the Java installation folder is C:\Program Files (x86)\Java\
Install JAI - √
See the “Install JAI” from PostgreSQL 8.3 based EAIM
https://jai.dev.java.net/binary-builds.html#Release_buildsLooking for JAI 1.1.3 (for Windows-i586)
JAI will look for JAVA_HOME, and then copy its library to JAVA_HOME
Install EAIM 2010 Server - √
Old
Interface:
Note: Please use the full host name instead of IP address for the Server name.
Note:Click Yes, if this is your first time to install EAIM on your system. If you want to keep your older catalog table (from EAIM 9.3.2), click No.If you have older catalog table (previous EAIM 9.3 or EAM 9.3.1), you need to migrate them to the new catalog system.
Installation will automatically deploy the webapp to embedded JOBSS server:You should have the following file structure:
Check the PostgreSQL, and you will see the catalog tables (25 tables) are created for you:
Install Data Manager 2010 - √
Test - √
Start JBOSS server.
C:\Program Files (x86)\ERDAS\APOLLO_postgresql\jboss\bin\run.bat
Start Data Manager
Connect to EAIM JBOSS server:
admin/apollo123
Crawl some dataset:
Start EAIM Web Client:
Top Related