-
Notifications
You must be signed in to change notification settings - Fork 0
InstallingHiveRestService
Hilmar Lapp edited this page Apr 30, 2015
·
2 revisions
See the Tomcat section of InstallingHiveWebServices for instructions installing Tomcat 6..
- Download the latest HIVE REST archive
cd /path/to/tomcat6/webappsunzip /path/to/hive-rs-1.0.war
Download and install the HIVE-web application:
sudo wget http://hive-mrc.googlecode.com/files/hiveweb-1.0.warcd /usr/share/tomcat6/webapps- Remove the existing ROOT webapp, if present
mkdir ROOTcd ROOTunzip path/to/hive-web-1.0.war
Download the sample HIVE index data.
sudo mkdir /usr/local/hivecd /usr/local/sudo wget http://hive-mrc.googlecode.com/files/hive-agrovoc-sample.zipsudo unzip hive-agrovoc-sample.zip
Data directory must be ownded by tomcat user:
chown -R tomcat:tomcat /usr/local/hive
Modify the default HIVE configuration:
cd /path/to/tomcat6/webapps/hive-rs/WEB-INF/conf-
vi hive.properties- Comment out all vocabularies except agrovoc}}}
- Change "dummy" to "kea"
-
vi agrovoc.properties- Change paths to
/usr/local/hive/hive-data
- Change paths to
Start Tomcat and Test.