Quick Install

From LogicalDOC Community Wiki
Revision as of 13:07, 24 July 2020 by Blucecio (talk | contribs) (Install LogicalDOC)
Jump to navigationJump to search

In less than five minutes you can install LogicalDOC and run it on your own server.

Windows

Requirements are:

  • Install Java JDK 11
  • Install LogicalDOC-Tomcat bundle

Install Java JDK 11

You can choose between Oracle JDK, OpenJDK or AdoptOpenJDK

Oracle JDK

Go to the Oracle Java download site and select to download the Java Developer Kit (JDK) 11, latest update.
The url is https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
(Note that the url or version number may change as time goes by).
When the file has been downloaded, execute it to install Java on your system using the setup wizard.

OpenJDK

You can download the OpenJDK (free) version from the following site: https://openjdk.java.net/
Just keep in mind that LogicalDOC starting from version 8.3.4 requires JDK 11. You should avoid newer versions because LogicalDOC has non been tested yet on those.

AdoptOpenJDK

AdoptOpenJDK is a free and open source version of OpenJDK. It is an excellent version, always updated and supplied with a practical installer for Windows and packages for other systems.
You can download it quickly from the site https://adoptopenjdk.net/

Install LogicalDOC

Download the LogicalDOC 8 + Tomcat 9 bundle and uncompress on your file system disk (a good option is to uncompress on C:\). If you experience problems uncompressing logicaldoc-8.x.x-tomcat-bundle.zip, try using 7-Zip or the WinRAR application to uncompress it.

Application startup

  • Execute the command C:\tomcat\bin\catalina.bat start to run LogicalDOC + Tomcat application server.

Complete the installation

Linux

Requirements are:

  • Install Java JDK 11
  • Install LogicalDOC-Tomcat bundle

There are several ways to install it. These steps were used to install on Ubuntu but can be used for any other Linux flavor.

Install Java JDK 11

As we said LogicalDOC 8.4.2 can work with Oracle JDK, OpenJDK and AdoptOpenJDK version, the important thing is that it must be a Java 11 release.
Here are some links that explain how to install it in your system

How To Install Oracle Java 11 on Ubuntu 16.04 LTS (Xenial)
How to Install Oracle Java 11 in Ubuntu 18.04/18.10
Installing OpenJDK 11 on Ubuntu 18.04
How to Install OpenJDK JAVA 11/8 in Ubuntu and Debian
How To Install Java 11 & 12 On CentOS 7
CentOS 7 : Install OpenJDK 11Install Java 11 (OpenJDK 11) on RHEL 8 / CentOS 8
How to Install Java 11 on CentOS 7/6
Installation | AdoptOpenJDK - Open source, prebuilt OpenJDK binaries
Installation of the JDK on macOS

Install LogicalDOC

Download the LogicalDOC 8x Tomcat bundle and uncompress on your file system disk (a good option is to uncompress under /opt/).

Execute the following command on the terminal

$ unzip logicaldoc-8.x.x-tomcat-bundle.zip

Application startup

  • Execute the command /opt/tomcat/bin/catalina.sh start to run LogicalDOC + Tomcat application server.

Complete the installation

Mac OS X

Requirements are:

  • Install Java JDK 11
  • Install LogicalDOC-Tomcat bundle

Install Java JDK 11

Go to the Oracle Java download site and select to download the Java Developer Kit (JDK) 11, latest update.
The url is https://www.oracle.com/java/technologies/javase-jdk11-downloads.html
(Note that the url or version number may change as time goes by).

Follow the instructions as shown in the installation page of JDK 11 for Mac
https://docs.oracle.com/en/java/javase/11/install/installation-jdk-macos.html

Install LogicalDOC

Download the LogicalDOC 8 + Tomcat 8 bundle and uncompress on your file system disk (a good option is to uncompress under /Library) or alternatively copy, move by macOS GUI, open a new finder window and browse your Macintosh HD, Locate and move/copy LogicalDOC 8 + Tomcat 8 inside the Library folder.

In macOS, open the Terminal application by browsing through Finder and navigate to Applications/Utilities folder and double click Terminal application.

Execute the following command on the terminal OR alternatively, just double click the zip file you have copied/moved in the finder and it will extract itself! Same result and no need to type or use Terminal commands.

$ unzip logicaldoc-8.x.x-tomcat-bundle.zip

Application startup

  • Execute the command /Library/tomcat/bin/catalina.sh start to run LogicalDOC + Tomcat application server.


Complete the installation

Setup Procedure

  • Wait until the boot process of Tomcat ends

You should wait until you see a message on the console similar to the one shown below

INFO: Server startup in 8423 ms
  • Restart Tomcat for the 2nd time
  • Wait that the startup complete
  • On a client browser, open the URL http://localhost:8080/logicaldoc/.
  • You should see under the login form a triangle of warning, click on the link to the right to activate the setup procedure
  • Perform the LogicalDOC Setup procedure using admin/admin as username/password in order to access the protected setup section
  • Define a folder (on the filesystem) to use for the document repository (in some systems it may be necessary in advance the creation of the folder setting the correct write privileges)
  • Select the type of database to use, the fastest procedure is to select the internal database (of course you can decide to use a more efficient database, the only thing is that you first need to proceed to the creation of a database schema)

First Login

Post Installation Notes


Note idea.png Once installed, please read the User's Guide to familiarize yourself with LogicalDOC, or Administration Guide to learn the administrator features.

In case of problems you can refer to the Community Forums.

You can also use the Bug Tracking tool to report an issue with the software.