Applications
GMT portal

Current internet website, GuenMatTools web portal.

• Installation procedures

• GuenMatTools applications

• Tips & trics

• Notes and password management

• Multimedia collection management

• Health management

• Password generation

• Timestamp converter

• Cron expression maker

Last updated on 17/04/2019 21:28 by Matthieu Guenebaud

Download and installation
Server

1.9.5
18/11/2019
23:17:10
55 MB
1.9.4
20/07/2019
00:08:50
54 MB
1.9.3
17/07/2019
11:01:43
54 MB
1.9.2
27/03/2019
19:58:46
53 MB
1.9.1
09/03/2019
18:20:07
53 MB
1.9.0
16/01/2019
18:22:21
53 MB
1.8.6
30/11/2018
00:56:34
52 MB
1.8.5
09/08/2018
23:35:21
51 MB
1.8.4
01/05/2018
17:58:09
47 MB
1.8.3
30/04/2018
11:18:08
47 MB

Ubuntu installation guide:

First, the Java virtual machine must be installed on the server. Launch the following command line:

sudo aptitude install openjdk-8-jre

If it is not already done, the installation will start automatically.

Then, the Tomcat 7 application server must be installed on the server. Launch the command below:

sudo aptitude install tomcat7 tomcat7-admin tomcat7-docs tomcat7-examples

A Tomcat 7 user with administrator rights is needed to proceed to deployments. To add one, edit the file:

sudo vi /var/lib/tomcat7/conf/tomcat-users.xml

and replace its content by this one (do not forget to change LOGIN and PASSWORD with proper values):

<tomcat-users>
<role rolename="manager-gui"/>
<role rolename="manager-jmx"/>
<role rolename="manager-status"/>
<role rolename="manager-script"/>
<user username="LOGIN" password="PASSWORD" roles="manager-gui,manager-jmx,manager-status,manager-script"/>
</tomcat-users>

Tomcat 7 memory must be tweaked for better performances. The following file must be edited:

sudo vi /etc/init.d/tomcat7

Replace the line

JAVA_OPTS="-Djava.awt.headless=true -Xmx128M"

with this one

JAVA_OPTS="-Djava.awt.headless=true -Xmx1024M"

Now, we need to create a folder to store the log files from the application:

sudo mkdir /home/guenmattools
sudo chown -R tomcat7:tomcat7 /home/guenmattools

Then, the database must be installed and configured. But first, we need to add the MySQL JDBC connector into Tomcat, by copying it in the folder /usr/share/tomcat7/lib/. It can be downloaded at this address:

The name should be mysql-connector-java-5.1.20-bin.jar.

The MySQL database must be installed. Launch the commands below:

sudo aptitude install mysql-server

In order to check if everything works fine, launch the following command and check for the answer "started".

sudo service mysql status

Then configure the database by editing the file:

sudo vi /etc/mysql/my.cnf

Add or replace these lines at the end:

max_allowed_packet=50M
character-set-server=utf8
skip-character-set-client-handshake

The database must be restarted in order to work as intended:

sudo service mysql restart

Then, the application database must be created:

mysql -u root -p
CREATE DATABASE portail

With a proper user:

grant all on portail.* to 'login'@'localhost' identified by 'password';

If the server is headless, a font needs to be installed manually:

sudo aptitude install ttf-dejavu

Then prepare the search engine indexation storage folder with:

sudo1 mkdir -p /var/lucene/indexes
sudo chown -R tomcat7:tomcat7 /var/lucene

Tomcat can now be restarted:

sudo service tomcat7 restart

Finally, we need to deploy the application into tomcat by using the previously downloaded file and Tomcat manager which is available at the address http://www.yourserver.com:8080/manager. To authenticate, use the previous LOGIN and PASSWORD values.

Rename the application war file previously downloaded with the name portail-1.9.5.war.

And finally, reach the Deploy panel at the bottom, pick the war file for the option "WAR file to deploy", and click on the button "Deploy" (the process can take some time).

In order to access the application, click on the application name in the list to be redirected to the main page on the site.