Installation

From NGDCWiki

(Difference between revisions)
Jump to: navigation, search
m (Server install)
Current revision (14:53, 30 April 2013) (view source)
m (Replacing page with 'out of date content - see history tab')
 
Line 1: Line 1:
-
= Standalone desktop install =
+
out of date content - see history tab
-
This will use the built-in Jetty web application server and built-in McKoi database server.
+
-
JRE 1.5 or later is required.
+
-
 
+
-
1. [http://geonetwork-opensource.org/software/geonetwork_opensource Download Geonetwork]<br/>
+
-
2. [http://speedy.ersc.wisc.edu:8080/geonetwork/docs/ch06s04.html Install Geonetwork]<br/>
+
-
3. After install is complete start geonetwork by clicking 'start server' in the geonetwork programs group.<br/>
+
-
4. Connect to local geonetwork App @  http://localhost8080/geonetwork/
+
-
 
+
-
= Server install =
+
-
This will use a Tomcat 5.5 web application server and separate Oracle database server.
+
-
JRE 1.5 or later is required. With this setup, the URL to use is: http://www.ngdc.noaa.gov/geonetwork/
+
-
 
+
-
1. [http://geonetwork-opensource.org/software/geonetwork_opensource Download Geonetwork]<br/>
+
-
2. Create geo_network schema on bobcat w/ 4GB tablespace
+
-
3. Remove/backup old geonetwork webapp dir and symlink (if needed)
+
-
metadata1 /metadata]$ rm geonetwork
+
-
metadata1 /mnt/data1/geonetwork]$ mv geonetwork geonetworkAsOfOct24
+
-
4. Install Geonetwork to /mnt/data1/geonetwork/geonetwork, all checkbooxes, except Shortcut
+
-
metadata1 /mnt/data1/geonetwork]$ java -jar metadata-extra/installs/geonetwork-install-2.2.0.jar &
+
-
5. Install Oracle JDBC driver (copy from old Geonetwork2.1 install)
+
-
metadata1 /mnt/data1/geonetwork]$ cp -p metadata-extra/geonetwork2.1/web/geonetwork/WEB-INF/lib/ojdbc14-10.1.0.4.jar geonetwork/web/geonetwork/WEB-INF/lib/
+
-
6. Use GAST to setup Oracle database
+
-
metadata1 /mnt/data1/geonetwork]$ java -jar geonetwork/gast/gast.jar &
+
-
Config, DBMS, Oracle, bobcat, bobcat, geo_network, ge0_netw0rk, Save.
+
-
Setup, Ignore cyclic reference error.
+
-
7. Add/restore symlinks to Tomcat webapps/ directory (other ways to reference the Geonetwork webapps may also work)
+
-
metadata1 /metadata]$ ln -s /mnt/data1/geonetwork/geonetwork
+
-
metadata1 /var/tomcat5/webapps]$ ln -s /metadata/geonetwork/web/geonetwork/
+
-
metadata1 /var/tomcat5/webapps]$ ln -s /metadata/geonetwork/web/geoserver/
+
-
metadata1 /var/tomcat5/webapps]$ ln -s /metadata/geonetwork/web/intermap/
+
-
8. Start/restart Tomcat
+
-
metadata1 /metadata]$ nmmrlogins.sh
+
-
(notify any logged in users that the NMMR, which shares this tomcat, will also restart)
+
-
metadata1 /metadata]$ nmmrrestart.sh
+
-
metadata1 /metadata]$ tail -222f /var/tomcat5/logs/catalina.out
+
-
(watch for errors during restart until you get INFO: Server startup in 76824 ms)
+
-
Geonetwork throws many exceptions when the webapp is first hit; not sure how important these are.
+
-
9. Use GAST to install sample metadata
+
-
Options, Config, Server, External, metadata1, 80 (assumes proxy from httpd; otherwise use 8080), geonetwork
+
-
Options, Config, Account, admin/admin
+
-
Database, Sample data, Import
+
-
 
+
-
[[Category:Geonetwork]]
+

Current revision

out of date content - see history tab

Personal tools