Ft. Collins Research

Visualizing media files across time and space.

Installing the Server system and setting up the application

NOTE:
These instructions assume you are installing the binaries on a Ubuntu server.

Before installing the binaries and configuring the Odessa applications please 
review the Server Prerequisites Installation Instructions.

For any other operating system have your system adminstrator follow 
the manual install instructions.
		

Installing the Client/Server binaries

# Edit the sudo file running the follwing command
sudo visudo
# Add the following line to the bottom of the sudo file and then save
tomcat6 ALL= NOPASSWD: /var/lib/tomcat6/scripts/appendConf

# If you did not download the binaries already get them now
wget http://www.ftcollinsresearch.org/download/install/odssa_090.tar.gz

# Untar and ungzip the files
tar xvfz odssa_090.tar.gz

# Move the Java Servlet container and associated files   
sudo mv website /var/lib/tomcat6/webapps/osms

# Change the ownership so that Tomcat can access the needed files
sudo chown -R tomcat6:tomcat6 /var/lib/tomcat6/webapps/osms

# Change to the scripts directory and run the following scripts
cd scripts

# Build the Postgresql database, user, and tables.
sudo ./createDB.sh &> out.log

# Move the scripts needed to create Video Storage directories to 
# correct location for the Tomcat server to use.
sudo ./tomcatScripts.sh 

# Download, compile, and install H264 video streaming code from CodeShop
sudo ./install_h264.sh

#create file stage locations
sudo mkdir /media/storage
sudo mkdir /media/storage/stage
sudo chown -R tomcat6:tomcat6 /media/storage

# Restart Tomcat server
sudo /etc/init.d/tomcat6 restart
		

Post-install actions

After installation you will need to get a Bing Map Key from Microsoft Live 
to use the mapping tools of Odessa.

Steps:
1) Sign up and create key at the following site: Bing Map Portal
			
2) Add the key to the server configuration value in the Client Tool.
	 a) Config->Server Initialization.
	 b) Click Clear button.
	 c) Enter bing_id in Name field.
	 d) Enter your Bing Map Key in the Value field.
	 e) Click Save.

3) Restart the Tomcat Server from a terminal window on the server.
	sudo /etc/init.d/tomcat6 restart