Howto install LogicalDoc CE

This howto describes the installation of LogicalDoc on NethServer. It’s still a draft so it’s intended for testing and improving…

Install prerequisites

yum -y install java libreoffice ghostscript xpdf tesseract clamav openssl unzip ImageMagick nethserver-mysql

Create /etc/my.cnf.d/logicaldoc.cnf with following content:

default-character-set = utf8

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

Restart mysqld:

systemctl restart mysqld

Create database and db user

You may change secret to a more secure password.

CREATE USER logicaldoc;
SET PASSWORD FOR logicaldoc@'%'=PASSWORD('secret');
GRANT ALL PRIVILEGES ON logicaldoc.* TO logicaldoc@'%' identified by 'secret';

Setup firewall

Allow access from green:

config set fw_logicaldoc service status enabled TCPPorts 8080,8443 access green
signal-event firewall-adjust

Install Logicaldoc CE

wget -O
java -jar logicaldoc-installer.jar -console

Now you are asked various questions, just use default values by hitting enter except of:

  • Enter mail address
  • Enter mysql username and password and no manual specification so choose 0
  • Enter /usr/bin/tesseract for Tesseract setting

Now you may browse to https://NETH_IP:8443 and login with username admin and password admin.


  • Virtual host reverse proxy to be able to use HTTPS port instead of 8443
  • Connection from Nextcloud or Webtop via local folders, samba or something else




1 Like