How to install the application on my own server ?
Before anything, make sure that the working directory of the server is created
$ sudo su
# mkdir /var/MedianeServer
# cd /var/MedianeServer/
# mkdir results
# mkdir data
# mkdir users
# mkdir shared
# chmod +777 *
# chmod +777 .
There are 4 directories in the working directory :
-
data
This is where you put the datasets, with the following structure :
- / : BioMedical datasets
- /syn/ : Synthetic Uniform datasets
- /unif/ : Synthetic Unified datasets
- /correl/ : Synthetic Correlated datasets
- /betzler2013theoretical/ : Betzler datasets
-
results
- This is where you put the results that must be imported.
- The structure is the same as the datasets.
- The result of a dataset called dataset must be called dataset_MR.
-
shared
This is where you put the jars with the shared classes.
-
users
This is where the jars of the users will be stored.
You need to have a MySQL database for the application to work.
Just follow these instructions to install MySQL server :
$ sudo apt-get install mysql-server libmysql-java
$ sudo mysql
(in mysql prompt)
CREATE DATABASE [NAME] DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE USER '[USER]'@'localhost' IDENTIFIED BY '[PASSWORD]';
GRANT ALL ON [NAME].* TO '[USER]'@'localhost' IDENTIFIED BY '[PASSWORD]';
You are now ready ! Just load the application binary (file .war) on your tomcat server and you are good to go.