-
Notifications
You must be signed in to change notification settings - Fork 0
InstallingHiveEC2
Google Code Exporter edited this page Apr 30, 2015
·
1 revision
Use yum to install the standard Tomcat distribution:
sudo yum install tomcat6- (Optional)
sudo yum install tomcat6-webapps - (Optional)
sudo yum install tomcat6-admin-webapps
Start Tomcat
sudo service tomcat6 start
Open port 8080:
- Access your AWS account
- Select Security Groups > quick-start-1
- Add HTTP > TCP > 8080 > 8080 > 0.0.0.0/0
Confirm that the instance is running:
Stop Tomcat
sudo service tomcat6 stop
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 /usr/share/tomcat6/webapps/ROOT/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
sudo service tomcat6 starttail -f catalina.out