Skip to content
Other versions

Loading…

Personal development environment

The OpenKM personal development environment is distributed as a virtual machine image (OVA).

The personal development environment comes with everything you need to start working quickly:

  • Linux Mint OS.
  • OpenKM application installed.
  • MariaDB database.
  • Eclipse
    • Code samples.
    • Workflow samples.
  • IReport
    • SQL samples.
    • Scripting samples.

The virtual machine uses 2 core and 4GB of RAM, the host machine should have at least 4 core and 8GB of RAM.

How to get the personal development environment

Section titled “How to get the personal development environment”

You can download the virtual machine file from the OpenKM download center.

  • Go to https://download.openkm.com
  • Click the “OpenKM Professional Download Center” button.
  • Log in with your customer credentials.
  • In the top menu, choose Tools.
  • In Tools, ensure you have chosen OpenKM version 8.1.x.
  • Click on the Open KM-PorDev.ova file.

The OpenKM personal development environment can be installed on most virtual machine software like VirtualBox, VMware, and Hyper-V.

If you decide on VirtualBox, follow the steps described in the next video https://www.youtube.com/watch?v=9ugBYf5ggu8&feature=emb_logo

Finally, the license for your personal development environment must be activated; to do so, follow these steps:

1- Open a terminal (the password for the user openkm is openkm).

2- Execute the following command

Terminal window
$> pdl-reset

3- Start the OpenKM service.

Terminal window
$> sudo service openkm start

4- Open an issue on the OpenKM customer support website. Share the application ID available on the administration home page.

How to upgrade the development environment

Section titled “How to upgrade the development environment”
  • Close Eclipse.
  • Start OpenKM as a service.
Terminal window
$> sudo su
$> service openkm start
  • Upgrade the OpenKM tool as you would for any standard OpenKM installation. The process for upgrading the development environment is exactly the same as upgrading the standard OpenKM professional edition. More information at Updater utility.
Terminal window
$> cd /home/openkm/Development/tomcat
$> wget http://download.openkm.com/okm/OKMUpdater.jar
$> java -jar OKMUpdater.jar

Step 2 - OpenKM compilation libraries upgrade

Section titled “Step 2 - OpenKM compilation libraries upgrade”
  • Close Eclipse.
  • Edit the download.sh script and set the latest OpenKM and jbpm-console versions in the header.
Terminal window
$> cd /home/openkm/Development/portable/lib
$> nano download.sh
  • Execute the download.sh script.
Terminal window
$> ./download.sh
  • Edit the register.sh script and set the latest OpenKM versions in the header.
Terminal window
$> nano register.sh
  • Execute the register.sh script.
Terminal window
$> ./register.sh
  • First, check the correct jbpm-console version based on the compatibility table in the JBPM Console documentation section.
  • Follow the steps described in the Migration guide.

Importing the OVA File into a Non–VirtualBox Virtual Machine

Section titled “Importing the OVA File into a Non–VirtualBox Virtual Machine”

If you encounter issues importing the provided OVA file into a virtual machine platform other than VirtualBox, it is likely due to differences in virtualization formats. Since most VM vendors do not follow a standardized format, direct OVA imports between different platforms are often not supported.

To resolve this issue, follow these steps:

  • Rename the OVA file extension from .ova to .tar.
  • Extract the contents of the .tar archive using your preferred extraction tool.
  • Inside the extracted files, locate the virtual disk image, typically with the extension .vmdk.
  • Create a new virtual machine manually in your chosen virtualization platform.
  • When prompted for a disk image, attach the extracted .vmdk file as the virtual disk.

This process effectively recreates the original virtual machine using the extracted disk image, making it compatible with non–VirtualBox environments.