It can be used as a document repository to manage the company’s workflows and a set of automatic import procedures. This brief tutorial shows students and new users how to install LogicalDOC on Ubuntu 16.04 | 18.04 LTS systems. LogicalDOC requires JAVA to be installed on the systems which we’ll describe how to do below. When you’re ready, continue with the steps below to get LogicalDOC installed and ready to use on Ubuntu.
Install and configure JAVA
Since LogicalDOC requires JAVA, use the steps below to get JAVA installed. The easiest way to install Oracle Java JDK 8 on Ubuntu is via a third-party PPA… To add that PPA, run the commands below. After running the commands above, you should see a prompt to accept the PPA key onto Ubuntu… accept and continue Now that the PPA repository has been added to Ubuntu, run the commands below to download Oracle Java 8 installer…. the installer should install the latest Java JDK 8 on your Ubuntu machines. When you run the commands above you’ll be prompted to access the license terms of the software… accept and continue. Set Oracle JDK8 as default, to do that, install the oracle-java8-set-default package. This will automatically set the JAVA env variable. Now that JAVA is installed, run the commands below to set its home directory. Then copy and paste the highlighted line below and save the file. After that run the commands below. source /etc/environment When you run echo $JAVA_HOME you should now see the Java home directory.
Install MariaDB
Now that Java is installed, run the commands below to install MariaDB. After installing MariaDB, the commands below can be used to stop, start and enable the MariaDB service to always start up when the server boots. Run these on Ubuntu 16.04 LTS Run these on Ubuntu 18.04 and 18.10 LTS After that, run the commands below to secure the MariaDB server by creating a root password and disallowing remote root access. When prompted, answer the questions below by following the guide.
Enter current password for root (enter for none): Just press the Enter Set root password? [Y/n]: Y New password: Enter password Re-enter new password: Repeat password Remove anonymous users? [Y/n]: Y Disallow root login remotely? [Y/n]: Y Remove test database and access to it? [Y/n]: Y Reload privilege tables now? [Y/n]: Y
Restart MariaDB server
Create LogicalDOC Database
After installing MariaDB, use the guide below to create a database and user for LogicalDOC. To log on to the MariaDB database server, run the commands below. Then create a database called logicaldoc Create a database user called logicaldocuser with a new password Then grant the user full access to the database. Finally, save your changes and exit. Next, run the commands below to open the MariaDB configuration file. Then make the highlighted changes and save the file. Restart MariaDB by running the commands below:
Download LogicalDOC Package
Before installing LogicalDOC, please install these required packages. After preparing your systems, run the commands below to download the LogicalDOC package. Finally, run the commands below to install Follow the wizard to answer the prompts when using the command line. For the desktop user, you should see a GUI wizard. Select a location to install LogicalDOC Then type info about your company Next, select MySQL connection and enter the database info you created above. When you’re done, LogicalDOC should be installed and ready to use. Open your browser and browse to the server hostname or IP address. Login with: Username: admin Password: admin Enjoy! You can use the commands below to create a service account. Then use these commands to stop, start, and enable the service. You may also like the post below: