Differences between revisions 1 and 2
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:

  sudo nohup java -jar DartServer.jar DartServer MNE >& /dev/null &
{{{
sudo nohup java -jar DartServer.jar DartServer MNE >& /dev/null &
}}}
Line 16: Line 17:

  /etc/init.d/dartserver
{{{
/etc/init.d/dartserver
}}}
Line 22: Line 24:

  tail -f ./Dart.log
{{{
tail -f ./Dart.log
}}}
Line 26: Line 29:

  sudo java -jar DartClient.jar -q MNE
{{{
sudo java -jar DartClient.jar -q MNE
}}}

MNE Dart Server

The MNE DartServer runs on fsvm.nmr.mgh.harvard.edu, which is a Centos5 virtual machine. Point a browser at:

http://fsvm.nmr.mgh.harvard.edu

The server is found in /home/nicks/Dart, and assumes account 'nicks' (or whoever has an account on fsvm) has 'sudo' access.

The HTTPPort in the file DartServer/Server.xml was modifed to '80' from the default '8081', to allow the page to reside at the default webserver port. This is the only reason for having sudo access. Without sudo access, the server could reside at port 8081.

To start the MNE Dartboard, type this after logging into 'fsvm':

sudo nohup java -jar DartServer.jar DartServer MNE >& /dev/null &

However, this is not necessary, as this script:

/etc/init.d/dartserver

is run at fsvm boot-time, which performs this startup operation.

To watch activity of a running DartServer

tail -f ./Dart.log

To shutdown the server:

sudo java -jar DartClient.jar -q MNE

See Dart.pdf for everything else.

NJS Dec 2009

MneDartServer (last edited 2012-07-24 12:29:59 by NickSchmansky)