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.
Requirements
Section titled “Requirements”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.
How to install
Section titled “How to install”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
License activation
Section titled “License activation”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
$> pdl-reset3- Start the OpenKM service.
$> sudo service openkm start4- 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”Step 1 - OpenKM upgrade
Section titled “Step 1 - OpenKM upgrade”- Close Eclipse.
- Start OpenKM as a service.
$> 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.
$> cd /home/openkm/Development/tomcat$> wget http://download.openkm.com/okm/OKMUpdater.jar$> java -jar OKMUpdater.jarStep 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.
$> cd /home/openkm/Development/portable/lib$> nano download.sh- Execute the download.sh script.
$> ./download.sh- Edit the register.sh script and set the latest OpenKM versions in the header.
$> nano register.sh- Execute the register.sh script.
$> ./register.shStep 3 - Jbpm-console upgrade
Section titled “Step 3 - Jbpm-console upgrade”- 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.
Troubleshooting
Section titled “Troubleshooting”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.