PDF Print E-mail
Running Activiti 5.1 on Ubuntu 10.04 LTS

 

This is an update for the Activiti 5.1 release! As described earlier Activiti is the light-weight work flow and Business Process Management platform targeted at business people, developers and system admins. In this "How to" I'll try to explain how to install the Activiti 5.1 BPM tool demo on Ubuntu 10.04 LTS using the terminal.

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-1.6.0.22

Download Activiti
# wget http://activiti.org/downloads/activiti-5.1.zip
# unzip activiti-5.1.zip

Install the Demo
# cd activiti-5.1/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.
http://localhost:8080/activiti-explorer/

 

The Activiti Probe is the web based application that offers admin and monitoring capabilities to keep Activiti Engine up and running.
http://localhost:8080/activiti-probe/

 

The Activiti Modeler is the web based BPMN 2.0 process modeling tool for business analysts.
http://localhost:8080/activiti-modeler/

 

The Activiti Cycle is the web based application that enables collaboration between business users, developers and IT operational people.
http://localhost:8080/activiti-cycle/

 

The Activiti KickStart is a new web based component that makes building process solutions as easy as can be for non technical people.
http://localhost:8080/activiti-kickstart/

If needed 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

ACTIVITIPATH=/home/activiti/activiti-5.1/setup

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

;;
restart)
$0 stop
$0 start
;;
stop)
echo "Stoping Activiti from $ACTIVITIPATH"
cd /home/activiti/activiti-5.1/setup && ant h2.stop tomcat.stop
;;
*)
echo $"usage: $0 {start|stop|restart}"
exit 3
;;
esac
:
--- 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 5.1 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