Install on Ubuntu

On Ubuntu linux you need to install and execute LogicalDOC as root user(command sudo su), make sure to log-in as root before continuing, since this guide assumes you perform all the operations as root.

To install in Ubuntu you have to provide at least these two components:

Java JDK (Java Development Kit)

Download and install Java JDK(version 11 or more recent) for your server system fromĀ 
http://www.oracle.com/technetwork/java/javase/downloads/index.html.

In any case visit http://www.oracle.com/technetwork/java/index.html for more informations.

You can check the presence of Java in your system by executing this command from a terminal:

$ java -version

LogicalDOC requires Java JDK 11 in order to work properly.
If the above command returns a different version of java, follow the instructions below to install the Java JDK 11.

Execute the following commands on the Terminal by copying and pasting them one at a time (Ubuntu 12.04)

$ sudo apt-get purge openjdk*
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java11-installer

MySQL

In order to setup a production system you have to provide a MySQL database where the application will store all data.
To perform this step, make sure to have a MySQL up and running, if this is not the case install it: http://www.mysql.com/downloads/mysql/

Make sure to log-in as root

This guide assumes you are performing the installation by using the user root

To make sure to log-in as root before continuing, please execute the command sudo su from a terminal