Friday, January 7, 2011

Openbravo ERP 2.50 installation steps in ubuntu (default installation)

Openbravo ERP 2.50 installation steps in ubuntu (default installation)


by Shankar Balachandran on January 5, 2011
Link to his blog :http://fugoconsulting.wordpress.com/2011/01/05/openbravo-erp-2-50-installation-steps-in-ubuntu-default-installation/




Hi Folks,


There are ‘n’ number of ways presented in Openbravo community to try
or work with Openbravo ERP. But I felt most of them were too big for
novices. So I have presented my compiled version of installing Openbravo
in Ubuntu. There is a virtual box appliance that is far more easier to
install than this, but lemme get to its disadvantages in a later post.


  • Adding canonical partner repositories.

$ sudo gedit /etc/apt/sources.list


In the file that opens up add the following lines,


deb http://archive.canonical.com/ubuntu karmic partner


deb-src http://archive.canonical.com/ubuntu karmic partner


  • Installing and Deploying the Application

$ sudo apt-get update


$ sudo apt-get install openbravo-erp


This will install openbravo cluster,apache
tomcat,postgres. Openbravo uses its own properties so the post numbers
are not the default ones.


To run the application, type the follwing in the browser menu.


http://localhost/openbravo


User Credentials:


Username: Openbravo


Password: openbravo


Other Options:


  • Creating Backup

$ sudo /etc/init.d/openbravo-erp stop


$ cd /opt


$ tar cvzf OpenbravoERP-2.50.tar.gz OpenbravoERP-2.50


  • Restoring from the backup

$ sudo /etc/init.d/openbravo-erp stop


$ cd /opt


$ rm


$ tar xvzpf OpenbravoERP-2.50.tar.gz


$ sudo /etc/init.d/openbravo-erp start


  • Uninstall

There are two options available to uninstall. we can update the
database to the recent level or leave it to the last compiled state.


Uninstall maintaining the database


$ sudo apt-get remove openbravo-erp


Uninstall without maintaining the database


$ sudo apt-get remove –purge openbravo-erp


  • Startup Options

Openbravo is configured to automatically start at run-time. but in
case its not in a dedicated server, we can change those options…


To disable startup at boot time:


$ update-rc.d -f openbravo-erp remove


Manually starting openbravo:


$ sudo /etc/init.d/openbravo-erp start


Enable start up at boot time:


$ update-rc.d openbravo-erp defaults


Hope this serves as a small window to make you look through the Openbravo Universe.