PDF Print E-mail
Activiti on Ubuntu 10.04 LTS


Activiti the light-weight work flow and Business Process Management platform targeted at business people, developers and system admins is open-source and distributed under the Apache license. Activiti runs in any Java application, on a server, on a cluster or in the cloud. and thus it runs on Linux as well. In this "How to run Activiti on Ubuntu 10.04 LTS" article I'll try to explain how to install Activiti 5.0 BPM tool on Ubuntu 10.04 LTS.

This installation procedure is based on Ubuntu 10.04 LTS and Activiti 5.0 using the terminal (Check this article for the Activiti 5.1 release).

Install JDK, JRE, Ant and Eclipse at once as you can combine the separate installations, open a terminal window:
# sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
# sudo apt-get update
# sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin sun-java6-fonts ant eclipse
# export JAVA_HOME=/usr/lib/jvm/java-6-sun-

Download Activiti
# mkdir Activiti50
# cd Activiti50
# wget http://activiti.org/downloads/activiti-5.0.zip
# unzip activiti-5.0.zip

Install the Demo
# cd setup
# ant demo.start


Open your browser and go to the following URL's:

The Activiti Explorer is the web based application that provides access for all users of the system to manage task lists and execute process tasks.


The Activiti Probe is the web based application that offers admin and monitoring capabilities to keep Activiti Engine up and running.


The Activiti Modeler is the web based BPMN 2.0 process modeling tool for business analysts.


The Activiti Cycle is the web based application that enables collaboration between business users, developers and IT operational people.

You can login using the following users:
kermit (pw: kermit)
fozzie (pw: fozzie)
gonzo (pw: gonzo)

Make Activiti start automatically after a reboot or shutdown...
# sudo gedit /etc/init.d/activiti

Next copy the the next lines of code in the new file and save it

--- Start copying the lines of code below ---
#! /bin/sh


case "$1" in
echo "Starting Activiti from $ACTIVITIPATH"
cd /home/activiti/Activiti50/setup && ant h2.start tomcat.start

$0 stop
$0 start
echo "Stoping Activiti from $ACTIVITIPATH"
cd /home/activiti/Activiti50/setup && ant h2.stop tomcat.stop
echo $"usage: $0 {start|stop|restart}"
exit 3
--- Stop copying the lines of code above ---

Now we'll make the init script executable
# sudo chmod a+x /etc/init.d/activiti

You can test the script by stopping and starting the server:
# sudo /etc/init.d/activiti stop
# sudo /etc/init.d/activiti start

And finally we'll make the script start at boot time
# sudo update-rc.d activiti defaults 90 10

Ready for happily using Actviti
# exit

Enjoy your Activiti installation on Ubuntu 10.04 LTS !!!


Suggestions for improving this article are welcome!

Please let me know and This e-mail address is being protected from spambots. You need JavaScript enabled to view it .


Sponsored Links