Difference between revisions of "Apertus.ElphelVision Install Guide"

From ElphelWiki
Jump to: navigation, search
(Running ElphelVision)
(Running ElphelVision)
Line 21: Line 21:
  
 
Requirements:
 
Requirements:
* recent Java JRE
+
* recent Java JRE (Java Runtime Environment)
 +
either OpenJDK:
 
  sudo apt-get install openjdk-6-jre-headless
 
  sudo apt-get install openjdk-6-jre-headless
* recent VLC (careful: Ubuntu maintained software channel is outdated, check: http://www.videolan.org/vlc/download-ubuntu.html for a guide how to get a recent version)
+
or the Official Java JRE from Sun/Oracle:
 +
 
 +
first enable the "Canonical Partners" Software Source
 +
sudo apt-get install sun-java6-jre
 +
 
 +
You can have both of them installed side-by-side
 +
 
 +
Just installing new Java flavours does not change the default Java pointed to by /usr/bin/java. You must explicitly set this:
 +
 
 +
To see the current configuration and possibilities:
 +
sudo update-java-alternatives -l
 +
To set the XXX java version as default.
 +
sudo update-java-alternatives -s XXXX
 +
For Sun Java 6 this would be
 +
sudo update-java-alternatives -s java-6-sun
 +
To ensure that the correct version is being called:
 +
java -version
 +
 
 +
* recent VLC (careful: Ubuntu maintained software channel might be outdated, check: http://www.videolan.org/vlc/download-ubuntu.html for a guide how to get a recent version)
  
 
Change the permissions of the *.sh file to enable execution.
 
Change the permissions of the *.sh file to enable execution.

Revision as of 01:22, 12 November 2010

Overview

This guide explains how to install ElphelVision on your Elphel camera and a computer running Ubuntu connected to your camera over Ethernet.

This guide assumes that you have successfully downloaded the required files.

Installation

FTP Transfer

Use an FTP client of choice (eg. Filezilla) and connect to your Elphel camera.

Default IP: 192.168.0.9
User: root / PW: pass

Upload the complete "ElphelVision" directory in "elphel/Apertus/camera www/" to the "/mnt/flash/html/" directory of your Elphel camera

You can test if everything worked properly by opening a browser and going to:

http://192.168.0.9/ElphelVision/elphelvision_interface.php?cmd=status  (replace 192.168.0.9 with your Elphel cameras IP). 

If you get lots of xml output installation was successful.


Running ElphelVision

Requirements:

  • recent Java JRE (Java Runtime Environment)

either OpenJDK:

sudo apt-get install openjdk-6-jre-headless

or the Official Java JRE from Sun/Oracle:

first enable the "Canonical Partners" Software Source

sudo apt-get install sun-java6-jre

You can have both of them installed side-by-side

Just installing new Java flavours does not change the default Java pointed to by /usr/bin/java. You must explicitly set this:

To see the current configuration and possibilities:

sudo update-java-alternatives -l 

To set the XXX java version as default.

sudo update-java-alternatives -s XXXX 

For Sun Java 6 this would be

sudo update-java-alternatives -s java-6-sun

To ensure that the correct version is being called:

java -version 

Change the permissions of the *.sh file to enable execution.

Open a terminal and run

./ElphelVision.sh