Install third-party Software on Windows

To have additional features like the full preview, you need to install some external components.

Antivirus ClamAV

LogicalDOC's distribution embeds a ClamAV antivirus to check if a submitted document is infected, but you might want to configure a scheuled task to periodically update the virus database in this way:

  • Navigate to: Start->All Programs->Accessories->System Tools->Scheduled Tasks
  • Add Scheduled Task
  • Next->Browse to C:\LogicalDOC\clamav\freshclam.exe
  • Select to Perform this task daily
  • Next
  • Select a good time to update
  • Next
  • Enter the user credentials to run as
  • Next
  • Select open Advance options
  • Next
  • Alter Run to be: C:\LogicalDOC\clamav\freshclam.exe -c C:\LogicalDOC\clamav\freshclam.conf
  • Select the Settings Tab
  • Change the Stop Task to 30 minutes
  • Apply
  • Ok

Right click and run the freshclam task to make sure you do not have any errors.

Install the Application on Windows

Get from the download site the installer file: installer-win-<ver>.exe

To install LogicalDOC just double-click on the downloaded installer and follow the setup steps. Leave all settings as default or change them at your will. The installer will guide you in connecting LogicalDOC to an existing database(MySQL, Oracle or SQL Server), don't use the embedded database for production. At the end of installation, point the browser to http://localhost:8080/ and enter with:

Username: admin
Passowrd: admin

Configure the format converters

You may want to address at this time the configuration of the format converters you want to use to render the previews, and in particular the converter that uses Libre Office, please read the Format Converters Guide.

Save

Save

Install with Docker

Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow us to package up our application with all of the parts it needs, such as libraries and other dependencies, and ship it all out as one package. By doing so, thanks to the container, LogicalDOC will run on any other machine regardless of any customized settings that machine might have.

Install Docker

Download and install Docker for your system: https://hub.docker.com/r/logicaldoc/logicaldoc

UserNo

When you run the image the first time, you have to pass your license's UserNo as parameter of the command: --env LDOC_USERNO=<your userno>

UserNo is a license activation code for LogicalDOC. If you do not have one, you can get a 30 day license key to try the software at the following address https://www.logicaldoc.com/try

Installation and first run of LogicalDOC

With Docker properly installed, proceed launching a MySQL container and then the LogicalDOC container:

$ docker run -d --name=logicaldoc-db --env="MYSQL_ROOT_PASSWORD=mypassword" --env="MYSQL_DATABASE=logicaldoc" --env="MYSQL_USER=ldoc" --env="MYSQL_PASSWORD=changeme" mysql:5.7
$ docker run -d -p 8080:8080 -p 8022:22 --name=logicaldoc --env LDOC_USERNO=<your userno> --link logicaldoc-db logicaldoc/logicaldoc

This command installs the Docker image and will put it in execution creating a Container named logicaldoc. LogicalDOC is now accessible at http://localhost:8080 and default User and Password are admin / admin.

Start and Stop the LogicalDOC container

The run command has created a persistent container in your host server, you should execute docker run just one time. Each time you execture the docker run, a new empty container will be created. Normally you stop and start several times the same LogicalDOC container initially created with the run.

To stop the currently running LogicalDOC Container, type this command:

$ docker stop logicaldoc

To start again the LogicalDOC Container, type this command:

$ docker start logicaldoc

The data created during the execution are maintained persistent inside the Container

LogicalDOC on Docker Hub

To know about all the options available for the LogicalDOC Docker Images, visit our Docker Hub profile:

Install on Windows

To install in Windows please follow these three steps:

  1. Prepare de Database
  2. Install third-party Software
  3. Install the LogicalDOC application

Attention

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

Notice for use of OpenJDK

If you opt for using an open source OpenJDK instead of the official Oracle JDK, please download the installer here: https://adoptium.net/temurin/
Choose the latest LTS release and download the .msi file.

By default Windows will not allow you to install a .msi file so you should temporary disable the SmartScreen.
To do so open the Windows Defender Security Center go to Windows Security > Apps & browser control

LogicalDOC Data Source

Here turn off all the blocks(you could activate them again after the installation), and then install the .msi.

 

Prepare the Database on Windows

The LogicalDOC's installer also includes a MariaDB and will use it by default, but if you want to connect LogicalDOC to an existing MySQL or MariaDB installation this guide describes how to prepare the database where the application will store all data. The MySQL(currently we recommend MySQL 8) package and its installation instructions for your system are available here: www.mysql.com

We also provide a video guide for the installation of MySQL - Watch the video on Youtube

Default settings

LogicalDOC requires you to configure your MySQL installation to best fit the needs of a professional DMS.

Supposing that your MySQL data folder is C:\ProgramData\MySQL\MySQL Server 8.0 open the configuration filemy.ini, find the [mysqld] section and put the following settings and make sure to have the following settings in the [mysql] and [mysqld] sections:

[mysql]
default-character-set = utf8

[mysqld]
character-set-server = utf8
collation-server = utf8_bin
default-storage-engine = INNODB

This sets the encoding to UTF-8 and the default storage engine to the INNODB with transactions support.

After the editing, restart the MySQL service.

Creating the database

Connect to mysql prompt by typing the command:

$ "C:\Program Files\MySQL\bin\mysql.exe" -u root -ppassword

Execute the following command at the mysql prompt:

CREATE DATABASE logicaldoc;

Now we have an empty database called logicaldoc with a user root that can access it using password password.
You can exit the mysql prompt(command \q) and go ahead.

http://dev.mysql.com/doc/refman/5.1/en/macosx-installation.html