Home
People
NeuroScholar
Download
Installation
Usage
Demo
Analysis List

 

Installation

Required components for NAWS Server

  • Mysql

  • Java 1.4.2 or higher

  • Java webservices package 1.3 or lower

We currently support installation of the NAWS client on Linux systems.

 

Installation Process on Linux

Mysql:

  • Click this link to MySQL's download page for version 4.0

  • Scroll down to the 'Linux (x86)' Standard version and click 'Pick a Mirror'.

  • Click 'No thanks, just take me to the downloads'.

  • Pick a mirror, click the 'Save' button & save the file to a suitable download directory on your disk.

  • Open the file & extract it's contents to a new directory (e.g., "/usr/src/mysql")

  • We need to set up administrative privileges for the system so that NAWS can perform database operations on mysql. Start the mysql client as root. Enter the following command (where 'new_password' is your chosen password):

    shell> mysql -u root 
    mysql> set password for root = password('new password');
    mysql> exit

    Then try to login again to test it.

    shell> mysql -u root 
    This should fail

    If this doesn't

    Then login as root.

    shell> mysql -u root - p
    This should fail

    If this doesn't work, try using the full path to the mysqladmin executable, e.g.,

    shell> /usr/src/mysql/bin/mysqladmin -u root 
    Enter password:
    Enter the correct password and you should see a 'mysql>' command prompt

  • Congratulations, you've just installed MySQL

Java SDK 1.4.2

  • Please download and install the java sdk 1.4.2 or higher toolkit from http://java.sun.com/j2se/1.4.2/download.html

Java Webservices pack 1.3 :

  • Click this link to Java webservices 1.3 toolkit

  • Accept the license agreement and get the jwsdp-1_3-unix.sh linux package for java web services

  • Do a chmod +x jwsdp-1_3-unix.sh and then execute the file using ./jwsdp-1_3-unix.sh

  • Follow the graphical user interface to install the java webservices toolkit 1.3. Note that it comes bundled with a tomcat server.

  • The tutorial for the web services 1.3 package can be accessed here. The tutorial indicates the pre-requisites for executing any web service examples (see beginning of tutorial). We repeat here some of the main steps.

  • Add the bin directory of your J2SE SDK installation to the front of your path.

  • Add /bin to the front of your path so that Java WSDP 1.3 scripts override other installations. Add /jwsdp-shared/bin to the front of your path so the Java WSDP 1.3 scripts that are shared by multiple components override other installations.

  • Add /apache-ant/bin to the front of your path so that the Java WSDP 1.3 Ant script overrides other installations. Now your webservices 1.3 package set up is complete.