OpenGeo Suite for Linux Release 3.0



Similar documents
Partek Flow Installation Guide

Written by Wirabumi Software Sunday, 30 December :27 - Last Updated Thursday, 03 January :52

VERSION 9.02 INSTALLATION GUIDE.

RUGGEDCOM NMS for Linux v1.6

Installation Guide. Copyright (c) 2015 The OpenNMS Group, Inc. OpenNMS SNAPSHOT Last updated :19:20 EDT

Installing Virtual Coordinator (VC) in Linux Systems that use RPM (Red Hat, Fedora, CentOS) Document # 15807A1-103 Date: Aug 06, 2012

CipherMail Gateway Upgrade Guide

Online Backup Client User Manual

ULTEO OPEN VIRTUAL DESKTOP V4.0

insync Installation Guide

Install BA Server with Your Own BA Repository

JAMF Software Server Installation Guide for Linux. Version 8.6

Backing Up TestTrack Native Project Databases

Installation & Upgrade Guide

2. Boot using the Debian Net Install cd and when prompted to continue type "linux26", this will load the 2.6 kernel

1. Product Information

IUCLID 5 Guidance and support. Installation Guide Distributed Version. Linux - Apache Tomcat - PostgreSQL

Prerequisites and Configuration Guide

Online Backup Client User Manual Linux

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

ULTEO OPEN VIRTUAL DESKTOP UBUNTU (PRECISE PANGOLIN) SUPPORT

RecoveryVault Express Client User Manual

Mastering Advanced GeoNetwork

Online Backup Linux Client User Manual

Online Backup Client User Manual

Server Installation/Upgrade Guide

Recommended File System Ownership and Privileges

The objective of this lab is to learn how to set up an environment for running distributed Hadoop applications.

Ulteo Open Virtual Desktop Installation

CommandCenter Secure Gateway

Setting up PostgreSQL

SOLR INSTALLATION & CONFIGURATION GUIDE FOR USE IN THE NTER SYSTEM

Columbus 2.5. Installation Guide

DocuShare Installation Guide

INUVIKA OVD INSTALLING INUVIKA OVD ON RHEL 6

Spectrum Spatial Analyst Version 4.0. Installation Guide for Linux. Contents:

ConcourseSuite 7.0. Installation, Setup, Maintenance, and Upgrade

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Net/FSE Installation Guide v1.0.1, 1/21/2008

INUVIKA OVD INSTALLING INUVIKA OVD ON UBUNTU (TRUSTY TAHR)

SQuORE 2011-C Installation and Administration Guide

Open-Xchange Server Backup Whitepaper

Basic Linux & Package Management. Original slides from GTFO Security

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

How To Backup On Ubuntu (Amd64) With Back In Time (Amd) On Windows Xp) On A Windows Xp (Amd32) On Ubunus On A Ubuntu

TANDBERG MANAGEMENT SUITE 10.0

Cassandra Installation over Ubuntu 1. Installing VMware player:

Imprint. ecodms Version: (krusty) Manual Build Number: 20 Language: Copyright 2016: ecodms GmbH Salierallee 18a Aachen Germany

Desktop : Ubuntu Desktop, Ubuntu Desktop Server : RedHat EL 5, RedHat EL 6, Ubuntu Server, Ubuntu Server, CentOS 5, CentOS 6

Postgres Enterprise Manager Installation Guide

Student installation of TinyOS

Backing Up CNG SAFE Version 6.0

IMPLEMENTATION OF CIPA - PUDUCHERRY UT SERVER MANAGEMENT. Client/Server Installation Notes - Prepared by NIC, Puducherry UT.

Verax Service Desk Installation Guide for UNIX and Windows

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.0

Compiere 3.2 Installation Instructions Windows System - Oracle Database

PrimeRail Installation Notes Version A June 9,

Oracle Fusion Middleware 11gR2: Forms, and Reports ( ) Certification with SUSE Linux Enterprise Server 11 SP2 (GM) x86_64

TIBCO Fulfillment Provisioning Session Layer for FTP Installation

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

Installation Guidelines (MySQL database & Archivists Toolkit client)

IBM DB2 for Linux, UNIX, and Windows. Deploying IBM DB2 Express-C with PHP on Ubuntu Linux

DocAve Upgrade Guide. From Version 4.1 to 4.5

Online Backup Client User Manual Mac OS

Online Backup Client User Manual Mac OS

Signiant Agent installation

Using VMware Player. VMware Player. What Is VMware Player?

How to Install Multicraft on a VPS or Dedicated Server (Ubuntu bit)

Installing, Uninstalling, and Upgrading Service Monitor

Installing Proview on an Windows XP machine

XCloner Official User Manual

Backing up the Embedded Oracle database of a Red Hat Network Satellite

Lucid Key Server v2 Installation Documentation.

DocuShare Installation Guide

IGEL Universal Management. Installation Guide

Attix5 Pro Server Edition

LAMP Quickstart for Red Hat Enterprise Linux 4

TIBCO Hawk SNMP Adapter Installation

OnCommand Performance Manager 1.1

Tonido Cloud Admin Guide

Symantec Backup Exec 12.5 for Windows Servers. Quick Installation Guide

LOCKSS on LINUX. CentOS6 Installation Manual 08/22/2013

Online Backup Client User Manual

Tcat Server User s Guide. Version 6 R2 December 2009

Upgrade Guide. Product Version: Publication Date: 02/11/2015

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

Enterprise Remote Control 5.6 Manual

Enterprise Reporting Server v3.5

HOW TO BUILD A VMWARE APPLIANCE: A CASE STUDY

LedgerSMB on Mac OS X An Installation Guide

Maintaining the Content Server

Installing SQL-Ledger on Windows

Upgrading Your Web Server from ClientBase Browser Version 2.0 or Above to Version 2.1.1

Copyright 2015 SolarWinds Worldwide, LLC. All rights reserved worldwide. No part of this document may be reproduced by any means nor modified,

Zenoss Resource Manager ZenUp Installation and Administration

Upgrading MySQL from 32-bit to 64-bit

Embarcadero Performance Center 2.7 Installation Guide

Transcription:

OpenGeo Suite for Linux Release 3.0 OpenGeo October 02, 2012 Contents 1 Installing OpenGeo Suite on Ubuntu i 1.1 Installing OpenGeo Suite Enterprise Edition............................... ii 1.2 Upgrading................................................. iii Upgrading from version 2.x to 3.x.................................... iii 2 Installing OpenGeo Suite on and Red Hat v 2.1 Installing OpenGeo Suite Enterprise Edition............................... vi 2.2 Upgrading................................................. vii Upgrading from version 2.x to 3.x.................................... vii 3 Installation details xi 3.1 Starting/Stopping the OpenGeo Suite................................... xi 3.2 Accessing web applications........................................ xi 3.3 Accessing PostGIS............................................ xii 3.4 List of packages.............................................. xii 3.5 System requirements........................................... xii This section describes how to install the OpenGeo Suite for Linux. There are two Editions of the OpenGeo Suite: Community Edition and Enterprise Edition. Each Edition is available for and Ubuntu systems. In addition, there are even certain differences in installation based on the distribution version. Please see the appropriate section below that matches your system. In addition, instructions are included available for installing GeoServer or PostGIS as standalone packages, instead of installing the entire OpenGeo Suite. 1 Installing OpenGeo Suite on Ubuntu The commands contained in the following installation instructions assume root privileges. Note: If you are upgrading from a previous version, jump to the section entitled Upgrading.

Warning: Packages are only available for Ubuntu 10.04 and above. 1. Begin by importing the OpenGeo GPG key: -qo- http://apt.opengeo.org/gpg.key apt-key add - 2. Add the OpenGeo APT repository: echo "deb http://apt.opengeo.org/suite/v3/ubuntu lucid main" >> /etc/apt/sources.list 3. Update APT: apt-get update 4. Search for packages from OpenGeo: apt-cache search opengeo If the search command does not return any results, the repository was not added properly. Examine the output of the apt commands for any errors or warnings. 5. Install the OpenGeo Suite package (opengeo-suite): apt-get install opengeo-suite 6. If the previous command returns an error, the OpenGeo repository may not have been added properly. Examine the output of the apt-get command for any errors or warnings. 7. During the installation process, you will be asked a few questions. The first question is regarding the proxy URL that GeoServer is accessed through publicly. This is only necessary if GeoServer is accessed through an external proxy. If unsure, leave this field blank and just press [Enter]. 8. You will then be prompted for the name of the default GeoServer administrator account. Press [Enter] to leave it at the default of admin, or type in a new name. 9. Next, you will be asked for the default GeoServer administrator password. Press [Enter] to leave it at the default of geoserver, or type in a new password. 10. You will be asked if you want to install OpenGeo Suite-specific PostGIS extensions. Press [Enter] to accept. 11. If any other warning or dialog boxes show up, you can cycle through them by pressing [Alt-O]. 12. You can launch the OpenGeo Suite Dashboard (and verify the installation was successful) by navigating to the following URL: http://localhost:8080/dashboard/ Continue reading at the Installation details section. 1.1 Installing OpenGeo Suite Enterprise Edition 1. Follow all of the steps from the previous section. 2. Now add the OpenGeo Enterprise APT repository. This repository is password protected. You will have received a user name and password when you registered for the Enterprise Edition. Add the following APT repository using the command below, making sure to substitute in your user name for <username> and password for <password>. Note: If your user name is an email address, substitute a %40 for the @ sign. Example: joe@example.com would become joe%40example.com.

Note: The single command below is wrapped over multiple lines. echo "deb http://<username>:<password>@apt-ee.opengeo.org/suite/v3/ubuntu lucid main" >> /etc/apt/sources.list 3. Update APT: apt-get update 4. Search for packages from OpenGeo: apt-cache search opengeo If the search command does not return any results, the repository was not added properly. Examine the output of the apt commands for any errors or warnings. 5. Install the OpenGeo Suite package (opengeo-suite-ee): apt-get install opengeo-suite-ee 6. If the previous command returns an error, the OpenGeo repository may not have been added properly. Examine the output of the apt-get command for any errors or warnings. 1.2 Upgrading Minor version upgrades of the OpenGeo Suite packages occur along with other system upgrades via the package manager. Or alternatively: 1. Begin by updating APT: apt-get update 2. Update the opengeo-suite package: apt-get install opengeo-suite Major version upgrades do not happen automatically and require more steps as outlined in the following sections. Upgrading from version 2.x to 3.x The OpenGeo Suite version 3 contains numerous major version updates to its components. This upgrade is notbackward compatible and will not retain all of your previously configured PostGIS data. You will need to backup your data according to the specific procedures listed below before proceeding with the upgrade. The procedure for upgrading is as follows: 1. Ensure the old (2.x) version of the OpenGeo Suite is running. 2. Change to the root user. Note: If you don t have direct access to the root account you must use the sudo command to execute the commands in the steps that follow. All the commands assume root access. 3. Make sure that your PostgreSQL binaries are on the path. By default they should be located in /usr/bin but 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, find the binaries and update the PATH environment variable. 4. Change user to the postgres user.

sudo su postgres 5. Download the archive available at http://repo.opengeo.org/suite/releases/pgupgrade/postgis_upgrade-3.0.zip and extract it to a temporary directory. To avoid permissions issues, the /tmp/suite_backup/pg_backup path will be created and used. Warning: The /tmp directory is not recommended for long-term storage of backups, as the directory can often be purged as a part of normal system activity. If using a different directory, make sure that both the postgres and root users have read/write permissions to it. mkdir -p /tmp/suite_backup/pg_backup cd /tmp/suite_backup/pg_backup http://repo.opengeo.org/suite/releases/pgupgrade/postgis_upgrade-3.0.zip unzip postgis_upgrade-3.0.zip 6. Run the backup command: perl postgis_upgrade.pl backup 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. 7. 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 8. The PostGIS data backup process is complete. Switch from the postgres user to the root user: exit sudo su - 9. Back up your GeoServer data directory. This directory is located by default in /usr/share/opengeo-suite-data/geoserver_data. To back up this directory, copy it to another location. For example: cp -r /usr/share/opengeo-suite-data/geoserver_data /tmp/suite_backup/data_dir_backup 10. Now you are ready to install OpenGeo Suite 3.x. To do this, it is now necessary to add an additional repository. This repository contains the version 3 packages. Run the following command (as root or with sudo): echo "deb http://apt.opengeo.org/suite/v3/ubuntu lucid main" >> /etc/apt/sources.list 11. And if you are upgrading the OpenGeo Suite Enterprise Edition, run this additional command as well, substituting in your user name and password: Note: If your user name is an email address, substitute a %40 for the @ sign. Example: joe@example.com would become joe%40example.com. Note: The single command below is wrapped over multiple lines. echo "deb http://<username>:<password>apt-ee.opengeo.org/suite/v3/ubuntu lucid main" >> /etc/apt/sources.list 12. Now update your repository sources:

apt-get update 13. Install the OpenGeo Suite package: Edition Community Edition Enterprise Edition Command apt-get install opengeo-suite apt-get install opengeo-suite-ee 14. Ensure the newly-upgraded OpenGeo Suite is running. 15. Change to the postgres user and restore your PostGIS data by running the script again: sudo su postgres cd /tmp/suite_backup/pg_backup perl postgis_upgrade.pl restore 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. 16. Your databases and roles will be restored. You can verify that the databases were created and data restored by running psql -l on the command line. 17. Exit out of the postgres user and change to root. 18. Stop the Tomcat service: service tomcat6 stop 19. Restore your GeoServer data directory, renaming the existing one first. For example: mv /usr/share/opengeo-suite-data/geoserver_data /tmp/suite_backup/data_dir_backup_30 cp -r /tmp/suite_backup/data_dir_backup /usr/share/opengeo-suite-data/geoserver_data 20. Change the owner of the restored data directory: chown -R tomcat6 /usr/share/opengeo-suite-data/geoserver_data 21. Start the Tomcat service: service tomcat6 start 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, edit the file /etc/default/tomcat6 and append -XX:MaxPermSize=256m to the JAVA_OPTS command. Restart the OpenGeo Suite for the change to take effect. Continue reading at the Installation details section. 2 Installing OpenGeo Suite on and Red Hat The commands contained in the following installation instructions assume root privileges. Note: If you are upgrading from a previous version, jump to the section entitled Upgrading. Warning: Packages are available for 5 and above, and Red Hat Enterprise Linux (RHEL) 5 and above.

1. Change to the /etc/yum.repos.d directory: cd /etc/yum.repos.d 2. Add the OpenGeo YUM repository. The exact command will differ depending on whether you are using /RHEL 5 or 6, and whether you are using a 32 installation or 64 installation: System 5, 32 5, 64 6, 32 6, 64 RHEL 5, 32 RHEL 5, 64 RHEL 6, 32 RHEL 6, 64 Command http://yum.opengeo.org/suite/v3/centos/5/i386/opengeo.repo http://yum.opengeo.org/suite/v3/centos/5/x86_64/opengeo.repo http://yum.opengeo.org/suite/v3/centos/6/i686/opengeo.repo http://yum.opengeo.org/suite/v3/centos/6/x86_64/opengeo.repo http://yum.opengeo.org/suite/v3/rhel/5/i386/opengeo.repo http://yum.opengeo.org/suite/v3/rhel/5/x86_64/opengeo.repo http://yum.opengeo.org/suite/v3/rhel/6/i686/opengeo.repo http://yum.opengeo.org/suite/v3/rhel/6/x86_64/opengeo.repo 3. Now we are ready to install the OpenGeo Suite. The package is called opengeo-suite: yum install opengeo-suite 4. If the previous command returns an error, the OpenGeo repositories may not have been added properly. Examine the output of the yum command for any errors or warnings. 5. You can launch the OpenGeo Suite Dashboard (and verify the installation was successful) by navigating to the following URL: http://localhost:8080/dashboard/ Continue reading at the Installation details section. 2.1 Installing OpenGeo Suite Enterprise Edition 1. Follow all of the steps from the previous section. 2. Now add the OpenGeo Enterprise YUM repository. This repository is password protected. You will have received a user name and password when you registered for the Enterprise Edition. Add the following YUM repository using the commands below, making sure to substitute in your user name for <username> and password for <password>. Again, the exact command will differ depending on your system.

System 5, 32 5, 64 6, 32 6, 64 RHEL 5, 32 RHEL 5, 64 RHEL 6, 32 RHEL 6, 64 Command --user= <username> --password= <password> http://yum-ee.opengeo.org/centos/5/i386/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/centos/5/x86_64/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/centos/6/i686/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/centos/6/x86_64/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/rhel/5/i386/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/rhel/5/x86_64/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/rhel/6/i686/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/rhel/6/x86_64/opengeoee.repo 3. Edit the downloaded OpenGeoEE.repo file, filling in your user name and password in place of <yourusername> and <yourpassword>. Note: If your user name is an email address, substitute a %40 for the @ sign. Example: joe@example.com would become joe%40example.com. 4. Now we are ready to install the OpenGeo Suite. The package is called opengeo-suite-ee: yum install opengeo-suite-ee 2.2 Upgrading Minor version upgrades of the OpenGeo Suite packages occur along with other system upgrades via the package manager. Or alternatively you can: 1. Begin by updating YUM: yum update 2. The relevant OpenGeo packages should be included in the upgrade list. If you do not wish to do a full update, cancel the upgrade and install the opengeo-suite package manually: yum install opengeo-suite Major version upgrades do not happen automatically and require more steps as outlined in the following sections. Upgrading from version 2.x to 3.x The OpenGeo Suite version 3 contains numerous major version updates to its components. This upgrade is notbackward compatible and will not retain all of your previously configured data. You will need to backup your data according to the specific procedures listed below before proceeding with the upgrade. Warning: Upgrading on /RHEL 5 differs from upgrading on /RHEL 6 and above. Version 5 requires that the previous installation of the OpenGeo Suite be removed before upgrading. Versions 6 and above can do an upgrade in place. In both cases you must back up your data before proceeding. The procedure for upgrading is as follows.

Backup PostGIS data 1. Ensure the old (2.x) version of the OpenGeo Suite is running. 2. Make sure that your PostgreSQL binaries are on the path. By default they should be located in /usr/bin but 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, find the binaries and update the PATH environment variable. 3. Change user to the postgres user. sudo su postgres 4. Download the archive available at http://repo.opengeo.org/suite/releases/pgupgrade/postgis_upgrade-3.0.zip and extract it to a temporary directory. To avoid permissions issues, the /tmp/suite_backup/pg_backup path will be created and used. Warning: The /tmp directory is not recommended for long-term storage of backups, as the directory can often be purged as a part of normal system activity. If using a different directory, make sure that both the postgres and root users have read/write permissions to it. mkdir -p /tmp/suite_backup/pg_backup cd /tmp/suite_backup/pg_backup http://repo.opengeo.org/suite/releases/pgupgrade/postgis_upgrade-3.0.zip unzip postgis_upgrade-3.0.zip 5. Run the backup command: perl postgis_upgrade.pl backup 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. 6. 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 7. The PostGIS data backup process is complete. Switch from the postgres user to the root user: exit sudo su - Backup GeoServer configuration 1. Back up your GeoServer data directory. This directory is located by default in /usr/share/opengeo-suite-data/geoserver_data. To back up this directory, you can create an archive of it, or simply copy it to another location: cp -r /usr/share/opengeo-suite-data/geoserver_data /tmp/suite_backup/data_dir_backup Uninstall OpenGeo Suite 2.x Note: If you are running /RHEL 6 or above you may skip this step.

1. Due to conflicts with the way that 5 manages postgresql packages, it is necessary to active remove the entire OpenGeo Suite installation before continuing with the upgrade. The easiest way to remove the entire set of packages for a Suite 2.x installation is to remove the postgresql84-libs package. yum remove postgresql84-libs Install OpenGeo Suite 3.x Now you are ready to install OpenGeo Suite 3.x. To do this, it is now necessary to add an additional repository. This repository contains the version 3 packages. 1. If not already, make sure you are running as root: sudo su - 2. Change to the /etc/yum.repos.d directory: cd /etc/yum.repos.d 3. Rename the existing repository file(s): for REPO in OpenGeo*.repo; do mv $REPO $REPO.old; done; 4. Run the following command: System 5, 32 5, 64 6, 32 6, 64 RHEL 5, 32 RHEL 5, 64 RHEL 6, 32 RHEL 6, 64 Command http://yum.opengeo.org/suite/v3/centos/5/i386/opengeo.repo http://yum.opengeo.org/suite/v3/centos/5/x86_64/opengeo.repo http://yum.opengeo.org/suite/v3/centos/6/i686/opengeo.repo http://yum.opengeo.org/suite/v3/centos/6/x86_64/opengeo.repo http://yum.opengeo.org/suite/v3/rhel/5/i386/opengeo.repo http://yum.opengeo.org/suite/v3/rhel/5/x86_64/opengeo.repo http://yum.opengeo.org/suite/v3/rhel/6/i686/opengeo.repo http://yum.opengeo.org/suite/v3/rhel/6/x86_64/opengeo.repo 5. And if you are upgrading the OpenGeo Suite Enterprise Edition, run this additional command as well, substituting in your user name for <username> and password for <password>:

System 5, 32 5, 64 6, 32 6, 64 RHEL 5, 32 RHEL 5, 64 RHEL 6, 32 RHEL 6, 64 Command --user= <username> --password= <password> http://yum-ee.opengeo.org/suite/v3/centos/5/i386/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/suite/v3/centos/5/x86_64/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/suite/v3/centos/6/i686/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/suite/v3/centos/6/x86_64/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/suite/v3/rhel/5/i386/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/suite/v3/rhel/5/x86_64/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/suite/v3/rhel/6/i686/opengeoee.repo --user= <username> --password= <password> http://yum-ee.opengeo.org/suite/v3/rhel/6/x86_64/opengeoee.repo Edit the download OpenGeoEE.repo file, <yourusername> and <yourpassword>. filling in your user name and password in place of Note: If your user name is an email address, substitute a %40 for the @ sign. Example: joe@example.com would become joe%40example.com. 6. Clean your repository sources: yum clean all 7. Update your repository sources: yum update 8. Install the OpenGeo Suite package: Edition Command Community Edition yum install opengeo-suite Enterprise Edition yum install opengeo-suite-ee Restore PostGIS data 1. Ensure the newly-upgraded OpenGeo Suite is running. 2. Change to the postgres user and restore your PostGIS data by running the script again: sudo su postgres cd /tmp/suite_backup/pg_backup perl postgis_upgrade.pl restore 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. 3. Your databases and roles will be restored. You can verify that the databases were created and data restored by running psql -l on the command line. 4. Switch back the root user.

exit Restore GeoServer configuration 1. Stop tomcat and restore the GeoServer data directory to its original location. service tomcat5 stop rm -rf /usr/share/opengeo-suite-data/geoserver_data mv /tmp/suite_backup/data_dir_backup /usr/share/opengeo-suite-data/geoserver_data chown -R tomcat /usr/share/opengeo-suite-data/geoserver_data 2. Restart tomcat. service tomcat5 start 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, edit the file /etc/sysconfig/tomcat6 (or /etc/sysconfig/tomcat5 if it exists) and append -XX:MaxPermSize=256m to the JAVA_OPTS command. Restart the OpenGeo Suite for the change to take effect. Continue reading at the Installation details section. 3 Installation details This section discusses some helpful information about the OpenGeo Suite, as well as how to access the various components after installation. 3.1 Starting/Stopping the OpenGeo Suite GeoServer, GeoExplorer, and all other web-based containers including the documentation are installed into the existing Tomcat instance on the machine. Starting and stopping these applications are therefore accomplished by managing them through the standard Tomcat instance. Tomcat is installed as a service under the name of tomcat6 (or possibly tomcat5, depending on your system), and can be managed accordingly: /etc/init.d/tomcat6 start /etc/init.d/tomcat6 stop PostGIS is also installed as a service, under the name of postgresql, and can be managed in the same way as Tomcat: /etc/init.d/postgresql start /etc/init.d/postgresql stop Both services are started and set to run automatically when the OpenGeo Suite is installed. 3.2 Accessing web applications The easiest way to launch the web-based applications contained in the OpenGeo Suite is via the Dashboard. All web applications are linked from this application. The Dashboard is accessible via the following URL: http://localhost:8080/dashboard/

Note: You will need to change the port number if your Tomcat installation is serving on a different port. Application OpenGeo Suite Dashboard GeoServer GeoExplorer OpenGeo Suite Documentation OpenGeo Recipe Book URL http://localhost:8080/dashboard/ http://localhost:8080/geoserver/ http://localhost:8080/geoexplorer/ http://localhost:8080/opengeo-docs/ http://localhost:8080/recipes/ 3.3 Accessing PostGIS You can access PostGIS in one of two ways: via the command line will the psql application, or via a graphical interface with the pgadmin3 application. Both commands should be on the path and can be invoked from any Terminal window. If unfamiliar with PostGIS, start with pgadmin3. This version of PostGIS is running on port 5432, with administrator username and password opengeo / opengeo. 3.4 List of packages Once installed, you will have the following packages installed on your system: Package Name Description opengeo-suite OpenGeo Suite The full OpenGeo Suite and all its contents. All packages listed below are installed as dependencies with this package. Contains GeoExplorer, Styler, GeoEditor, Dashboard, Recipe Book, and more. opengeo-docs OpenGeo Suite Full documentation for the OpenGeo Suite. Documentation opengeo-geoservergeoserver High performance, standards-compliant map and geospatial data server. opengeo-jai Java Advanced Set of Java toolkits to provide enhanced image rendering abilities. Imaging (JAI) opengeo-postgis PostGIS Robust, spatially-enabled object-relational database built on opengeo-suite-data OpenGeo Suite Data PostgreSQL. Sample data for use with the OpenGeo Suite. pgadmin3 pgadmin III Graphical client for interacting with PostgreSQL/PostGIS. opengeo-suite-eeopengeo Suite Enterprise Edition functions and libraries. (Enterprise Edition only) Enterprise Edition package 3.5 System requirements The OpenGeo Suite has the following system requirements: Operating System: Ubuntu 10.04 and 10.10, 5-6 Memory: 512MB minimum (1GB recommended) Disk space: 750MB minimum (plus extra space for any loaded data) Browser: Any modern web browser is supported. Permissions: Super user privileges are required for installation