Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2012-07-24 12:22:25
Size: 1036
Comment:
Revision 4 as of 2012-07-24 12:29:59
Size: 1214
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
The MNE DartServer runs on fsvm.nmr.mgh.harvard.edu, which is a Centos5 virtual machine. Point a browser at: The MNE !DartServer runs on fsvm.nmr.mgh.harvard.edu, which is a Centos5 virtual machine. Point a browser at:
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 21: Line 23:
To watch activity of a running DartServer However, this command might be necessary to restart the server if nothing is appearing in a browser:
{{{
sudo /etc/init.d/dartserver restart
}}}
Line 23: Line 28:
  tail -f ./Dart.log To watch activity of a running !DartServer
{{{
tail -f ./Dart.log
}}}
Line 26: Line 34:

  sudo java -jar DartClient.jar -q MNE
{{{
sudo java -jar DartClient.jar -q MNE
}}}
Line 31: Line 40:
NJS Dec 2009 NJS July 2012

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.

However, this command might be necessary to restart the server if nothing is appearing in a browser:

sudo /etc/init.d/dartserver restart

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 July 2012

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