Professional Documents
Culture Documents
OpenGeoSuite 3.0.1 README Windows
OpenGeoSuite 3.0.1 README Windows
Release 3.0.1
OpenGeo
November 19, 2012
Contents
1
Prerequisites
New Installation
Upgrading
3.1 Upgrading from version 2.x to 3.x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Uninstallation
This document describes how to install the OpenGeo Suite for Windows.
1 Prerequisites
The OpenGeo Suite has the following system requirements:
Operating System: Windows XP, Windows Vista, Windows 7 (each 32 and 64 bit)
Memory: 512MB minimum (1GB recommended)
Disk space: 600MB minimum (plus extra space for any loaded data)
Browser: Any modern web browser is supported
Permissions: Administrative rights
2 New Installation
Warning: If upgrading from version 2.x, please see the section on Upgrading from version 2.x to 3.x.
1. Double-click the OpenGeoSuite.exe file.
vi
vi
viii
ix
Figure 7: Installation
9. After installation, click Finish to launch the OpenGeo Suite Dashboard, from which you can start the OpenGeo
Suite. If you would like to start the OpenGeo Suite Dashboard at a later time, uncheck the box and then click
Finish.
3 Upgrading
Minor version upgrades of the OpenGeo Suite can be installed on top of previous versions and all previous data and
configuration is preserved. Major upgrades however may not preserve data and configuration and require more steps
as outlined in the following sections.
2. Make sure that your PostgreSQL bin directory is on your path. By default, this is C:\Program
Files\OpenGeo\OpenGeo Suite\pgsql\8.4\bin though your installation may vary. To test that
this is set up correctly, open a Command Prompt and type psql --version. If you receive an error, type
the following to temporarily add the above directory to your path:
set PATH=%PATH%;C:\Program Files\OpenGeo\OpenGeo Suite\pgsql\8.4\bin
Note: You can use standard PostGIS command line flags such as --host, --port and --username
if you have customized your installation. You can also select only certain databases to backup by using the
--dblist flag followed by a list of databases: --dblist db1 db2 db3. Full syntax is available by
running with --help.
5. The script will run and create a number of files:
Compressed dump files for every database backed up (<database>.dmp)
SQL output of server roles
6. The PostGIS data backup process is complete. You may now shut down the OpenGeo Suite 2.x.
7. Back up your GeoServer data directory.
This directory is located by default in
<user_home_directory>\.opengeo\data_dir.
To back up this directory, copy it to
<user_home_directory>\.opengeo\data_dir_old.
8. Uninstall the OpenGeo Suite 2.x. (See Uninstallation below.)
9. The uninstallation will not remove the existing PostGIS data store, so that will need to be done manually.
This directory is typically at <user_home_directory>\.opengeo\pgdata\. Remove (or rename)
this directory.
10. Install the OpenGeo Suite 3.x. (See New Installation above.)
11. After installation is complete, start the newly-upgraded OpenGeo Suite.
12. As before, you will need to add the new PostGIS commands to your path once again. From a command prompt,
type the following to temporarily add the new directory to your path (substituting the correct path if your installation was in a different location):
set PATH=%PATH%;C:\Program Files\OpenGeo\OpenGeo Suite\pgsql\9.1\bin
Note: As with the backup, standard PostGIS connection parameters may be used. You can also select only
certain databases to restore with the --dblist flag as detailed above.
14. Your databases and roles will be restored. You can verify that the databases were created and data restored by
running psql -l --port 54321 on the command line.
15. Stop the OpenGeo Suite.
16. Restore the GeoServer data directory. Rename the existing <user_home_directory>\.opengeo\data_dir
to
<user_home_directory>\.opengeo\data_dir_30
and
rename
the
backedup
data
directory
<user_home_directory>\.opengeo\data_dir_old
to
<user_home_directory>\.opengeo\data_dir.
17. Start the OpenGeo Suite.
Note: Memory requirements for OpenGeo Suite 3 have increased, which requires modification to the Tomcat Java
configuration. These settings are not automatically updated on upgrade and must be set manually.
To make the change, open the file C:\Program Files\OpenGeo\OpenGeo Suite\opengeo-suite.bat
in a text editor and append -XX:MaxPermSize=256m to the end of the line that starts with set VMOPTS=....
Restart the OpenGeo Suite for the change to take effect.
4 Uninstallation
Note: Please make sure that the Dashboard is closed and the OpenGeo Suite is offline before starting the uninstallation.
1. Navigate to Start Menu Programs OpenGeo Suite Uninstall
Note: Uninstallation is also available via the standard Windows program removal workflow. (Add/Remove
Programs for Windows XP, Installed Programs for Windows Vista, 7, etc.)
2. Click Uninstall to start the uninstallation process.
Note: Uninstalling will not delete your settings and data. Should you wish to delete this, you will need
to do this manually. The uninstallation process will display the location of your settings directory, typically
<user_home_directory>\.opengeo.
3. When done, click Close.