cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti on Ubuntu Server 10.04 install guide

activist
Champ in-the-making
Champ in-the-making
Hi All,

May i know where can i find the step by step guidance in deploying Activiti please ?

I have setup the Ubuntu server with Ant, Java and Tomcat 6 but so far got no clue where to do next ?

I've read the .properties file and seems that nothing that i should touch.

Any kind of help would be greatly appreciated.

Thanks.
41 REPLIES 41

winko
Champ in-the-making
Champ in-the-making
Ideas for other nice to haves:
- Activiti (demo) Virtual Machine (AVM)
- Activiti Live CD
- Activiti persistent USB stick installation

activist
Champ in-the-making
Champ in-the-making
or even better the live demo on the web, no need to setup anything 😉

winko
Champ in-the-making
Champ in-the-making
Hi there,

This installation procedure is based on Ubuntu 10.04 LTS and Activiti 5.0 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
# 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:
http://localhost:8080/activiti-explorer/
http://localhost:8080/activiti-probe/
http://localhost:8080/activiti-modeler/
http://localhost:8080/activiti-cycle/

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/Activiti50/setup

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

;;
restart)
$0 stop
$0 start
;;
stop)
echo "Stoping Activiti from $ACTIVITIPATH"
cd /home/activiti/Activiti50/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 installation on Ubuntu 10.04 LTS !!!

Regards,

Winko

activist
Champ in-the-making
Champ in-the-making
thanks Winko this should be a sticky post in this forum 😉

winko
Champ in-the-making
Champ in-the-making
Thank you Activist!

Regards,

Winko

winko
Champ in-the-making
Champ in-the-making
You can use the following lines of code to start the database and web server manually.
Open a terminal window
# cd Activiti50/setup/
# ant h2.start
# cd ../..
# cd Activiti50/apps/apache-tomcat-6.0.29/bin
# ./startup.sh

Or you can use:
# cd Activiti50/setup/
# ant h2.start tomcat.start

winko
Champ in-the-making
Champ in-the-making
You can use the following lines of code to stop the database and web server manually.
Open a terminal window
# cd Activiti50/setup/
# ant h2.stop
# cd ../..
# cd Activiti50/apps/apache-tomcat-6.0.29/bin
# ./shutdown.sh

Or you can use:
# cd Activiti50/setup/
# ant h2.stop tomcat.stop

winko
Champ in-the-making
Champ in-the-making
Hi again,

This is an update for the  Activiti 5.1 release!

This installation procedure is based on Ubuntu 10.04 LTS and Activiti 5.1 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:
http://localhost:8080/activiti-explorer/
http://localhost:8080/activiti-probe/
http://localhost:8080/activiti-modeler/
http://localhost:8080/activiti-cycle/
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 !!!

Regards,

Winko

winko
Champ in-the-making
Champ in-the-making
Hi,

This is an update for the Activiti 5.2 release!

This installation procedure is based on Ubuntu 10.04 LTS and Activiti 5.2 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.2.zip
# unzip activiti-5.2.zip

Install the Demo
# cd activiti-5.2/setup
# ant demo.start

Open your browser and go to the following URL's:
http://localhost:8080/activiti-explorer/
http://localhost:8080/activiti-probe/
http://localhost:8080/activiti-modeler/
http://localhost:8080/activiti-cycle/
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.2/setup

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

;;
restart)
$0 stop
$0 start
;;
stop)
echo "Stoping Activiti from $ACTIVITIPATH"
cd /home/activiti/activiti-5.2/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 (and rebooting) Actviti
# exit

Enjoy your Activiti 5.2 installation on Ubuntu 10.04 LTS !!!

Regards,

Winko

winko
Champ in-the-making
Champ in-the-making
Hi,

This is an update for the Activiti 5.3 release!

This installation procedure is based on Ubuntu 10.04 LTS and Activiti 5.3 using the terminal.

Before you begin make sure your Ubuntu installation is up to date by using the update manager.

Install JDK, JRE, Ant and Eclipse at once as you can combine the separate installations, open a terminal window (Applications \ Accessories \ Terminal):
# 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.24

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

Install the Demo
# cd activiti-5.3/setup
# ant demo.start

Open your browser and go to the following URL's:
http://localhost:8080/activiti-explorer/
http://localhost:8080/activiti-probe/
http://localhost:8080/activiti-modeler/
http://localhost:8080/activiti-cycle/
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.3/setup

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

;;
restart)
$0 stop
$0 start
;;
stop)
echo "Stoping Activiti from $ACTIVITIPATH"
cd /home/activiti/activiti-5.3/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.3 installation on Ubuntu 10.04 LTS !!!