Outils pour utilisateurs

Outils du site


installation:installation

QAP10 installation

QAP10 installation is fast as light !

Requirement

A server with

  • servlet container like Apache Tomcat. Thus a Java JRE or JDK is needed
  • database MariaDB, with its jdbc connector.
  • a modern internet browser. If Windows Internet Explorer is chosen, let's use version 9+
Component Version currently validated
Apache Tomcat 8.X
Java 1.8.X
MariaDB 10.0.X (should be still compatible with mySQL 5.6)

in this document, installation is made under Ubuntu linux

Setup

Contexts

Download the different contexts

  • qap10.war

Copy these war files in [HOME_TOMCAT]/webapps

Database

Download the sql command file to create database and run the following commands.

// create database
>mysql -u[my_login] -p[my_password] -e "create database qap10"; 
// fill database
>sudo mysql -u[my_login] -p[my_password] qap10 < qap10.sql

Edit [HOME_TOMCAT]/webapps/qap10/WEB-INF/classes/hibernate.xml and adjust it with your server setup.

<property name="hibernate.connection.url">jdbc:mysql://localhost/qap10</property>
<property name="hibernate.connection.username">my_login</property>
<property name="hibernate.connection.password">my_password</property>

We used to copy the jdbc jar file into Tomcat lib ([HOME_TOMCAT]/lib . Once it is done, Tomcat has to be restarted.

Verification

Open your browser and, assuming you installed QAP10 on your personal computer, enter the following url http://localhost:8080/qap10 , which should display the qap10 login screen. And voilà !

QAP10 starts with an 'administrator' account (login=admin, password=admin)

installation/installation.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki