Using the installer
Esta página aún no está disponible en tu idioma.
Another way of installing OpenKM is using the installer tool. This is a Java application which eases the installation process and works on Ubuntu, Debian, RedHat, CentOS and Windows platforms. Keep in mind that you need a working Java installation prior to use this tool. We recommend OpenJDK 8. Please check these pages for more information about installing Java on your server; look for Checking Java version section:
- Installing on RedHat and CentOS (Manual)
- Installing on Ubuntu and Debian (Manual)
- Installing on Windows
It’s a text-based installer, so you need to execute it from console as root if you are on Linux or as Administrator if you are on Windows. This is because it needs to install package dependencies and configure OpenKM as a service:
$ java -jar OKMInstaller.jar -tv 8.5.47 -ov 6.4And this is the output:

Values in brackets are the default one. If you hit Enter, this is the chosen value. If you want a different one, just write the string. At the end, the installed will show the entered information and you would be able to verify it and proceed or enter again these values.
If you press “y”, the installer will ask for an authorized user and password. Once the user and password are validated, the installation process will start. This process may take several minutes depending on your Internet connection and server performance. In case of Linux based systems, it will install all required dependencies like ImageMagick and LibreOffice.
You may also need https.proxyHost and https.proxyPort or even http.proxyUser, http.proxyPassword, https.proxyUser and https.proxyPassword parameters.
Supported databases
Section titled “Supported databases”The installer supports these databases:
- MariaDB (mariadb)
- MySQL (mysql)
- PostgreSQL (posgresql)
- SQL Server (sqlserver)
- Oracle (oracle)
- HSQLDB (hsqldb)
- H2 (h2)
Other options
Section titled “Other options”The installer will also check if the port 8080 is already being used, which is the default port used by Tomcat and should be free. If you want to disable this check, use the -p or --port parameters.
$ java -jar OKMInstaller.jar -tv 8.5.47 -ov 6.4 -p