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 :


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.