Installing on Ubuntu and Debian
Esta página aún no está disponible en tu idioma.
Preliminaries
Section titled “Preliminaries”Ensure you have enough disk space to install OpenKM and store the document repository:
$ df -hOnce verified, create the “openkm” user:
$ adduser openkmIf Java 8 is still not installed, please install the following:
$ apt install openjdk-8-jreIf you do not have any other preference for a database, we suggest installing MariaDB:
$ apt install mariadb-serverAfter that, check if the MariaDB service is already started:
$ systemctl status mariadbInstalling OpenKM
Section titled “Installing OpenKM”You can choose between installing OpenKM at “/home/openkm” or “/opt.” In any case, go to the selected path and download the installer.
It’s a text-based installer, so you must execute it from the console as root. This is because it needs to install package dependencies and configure OpenKM as a service:
$ java -jar OKMInstaller.jarRemember to check Using the installer if you are using a proxy to access the Internet.
When the installation process has finished, please ensure that Java 8 is the default:
$ java -versionOtherwise, set it as default:
$ update-alternatives --config javaOnce verified, start the required services:
$ systemctl start xvfb openkmYou can verify the status of these services this way:
$ systemctl status xvfb openkmMore info at:
Post-installation checklist
Section titled “Post-installation checklist”To verify the installation was successful, please use this checklist:
- Verify the default Java is Java 8.
- Verify you can access OpenKM from another computer.
- Try to log in with the default okmAdmin / admin user and password.
- Upload a Word document and check if the thumbnail is generated and the preview is shown.
Troubleshooting
Section titled “Troubleshooting”If you have a problem with thumbnail generation, please verify that you have the ImageMagick package installed and that the “convert” application works.
Download a sample image from Sample PNG Image and try to generate a thumbnail:
$ wget https://www.sample-videos.com/img/Sample-png-image-1mb.png$ convert -thumbnail '80x80>' -background 'white' -flatten Sample-png-image-1mb.png sample-output.png