GeoNetwork Server Installation
Andrea Carboni FAO
Summary
●
Firefox 1.5.0 Java runtime 1.5 Tomcat 5.5.16 MySql 5.0.19 GeoNetwork 2.0.2 on MySql Link of GeoNetwork to Tomcat Servlet administration
●
●
●
●
●
●
Firefox 1.5.0
●
File on the CD is firefox/Firefox Setup 1.5.0.1.exe Choose standard installation Run firefox and leave the default options Set it as the default browser
●
●
●
Java 1.5
●
All files are on the CD in the geonetwork/supporting/windows folder File is jre1_5_0_06_windowsi586p.exe Choose typical setup
●
●
Tomcat 5.5.16
Tomcat 5.5.16
●
File is apachetomcat5.5.16.exe Choose normal installation Choose installation path
●
●
Tomcat 5.5.16
●
Type an user name and password for the manager account
Tomcat 5.5.16
●
Tomcat should detect the installed java virtual machine Press install button The flag 'Run Tomcat' should be set in the next panel If all is ok, you should see the Tomcat icon in your status bar Check Tomcat installation : run Firefox and point it to http://localhost:8080 Stop Tomcat right clicking into the Tomcat's icon
●
●
●
●
●
MySQL 5.0.19
MySQL 5.0.19
●
File is mysqlessential5.0.19win32.msi Choose typical installation Press the install button Skip the signup Leave the 'Configure the mysql server now' flag set Choose standard configuration in the next dialog
●
●
●
●
●
MySQL 5.0.19
MySQL 5.0.19
MySQL 5.0.19
●
Press the execute button in the summary page to start installation
Database creation and configuration
●
Run the command prompt or open a shell Run the mysql command : mysql u root p
– –
●
CREATE DATABASE geonetwork; GRANT SELECT, INSERT, UPDATE, DELETE, DROP, ALTER, CREATE ON TABLE geonetwork.* TO geonetwork@'localhost' IDENTIFIED BY 'password'; exit
–
GeoNetwork 2.0.2
GeoNetwork 2.0.2
●
File is geonetworkintermap2.0.2install.jar
GeoNetwork 2.0.2
●
Accept license and choose installation path
GeoNetwork 2.0.2
GeoNetwork 2.0.2
GeoNetwork 2.0.2
GeoNetwork 2.0.2
Public host / port use case
Public host HTML Request FAO main site (apache) Redirection through AJPv13 protocol GeoNetwork (tomcat)
Hidden GeoNetwork node
GeoNetwork 2.0.2
Test : GeoNetwork on MySQL / Jetty
●
Use scripts in bin folder to start / stop geonetwork
Linking GeoNetwork to Tomcat
●
Go into the main GeoNetwork's folder Copy the web folder to geonetwork (it must be the name of the servlet specified during installation) Locate your Tomcat installation folder (Tomcat 5.5) Copy this geonetwork folder into the webapps folder Start Tomcat (choose Start service from popup) Point Firefox to http://localhost:8080/geonetwork
●
●
●
●
●
Servlet administration
●
Point Firefox to http://localhost:8080 and select the Tomcat manager
Servlet administration
●
GeoNetwork can be easily started and stopped
That's all