miércoles, 10 de octubre de 2012

Openbravo ERP 2.50 installation steps in ubuntu (default installation) backup

Hi all, there are n number of ways presented in openbravo community to try or work with Openbravo ERP. but i felt any of them were too big for novices. So i ve presented my small complition (CCP:Cut,Copy,Paste) 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. 


1. Adding canonical partner repositories. (this is not present by default)
$ sudo gedit /etc/apt/sources.list

2. 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

3. Installing the application
$ sudo apt-get update
$ sudo apt-get install openbravo-erp

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

5. To run the application, type the follwing in the browser menu.
http://localhost/openbravo 
user credentials:
username: Openbravo
password: openbravo

6. Other Options:
6.1. creating backup:
$ sudo /etc/init.d/openbravo-erp stop
$ cd /opt
$ tar cvzf OpenbravoERP-2.50.tar.gz OpenbravoERP-2.50

6.2. Restoring to 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

6.3. 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.
6.3.1 uninstall maintaining the database
$ sudo apt-get remove openbravo-erp

6.3.2 uninstall without maintaining the database
$ sudo apt-get remove --purge openbravo-erp

6.4 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...

6.4.1 To disable startup at boot time:
$ update-rc.d -f openbravo-erp remove

6.4.2 Manually starting openbravo: 
$ sudo /etc/init.d/openbravo-erp start

6.4.3 Enable start up at boot time:
$ update-rc.d openbravo-erp defaults


There you go...he OB world will open for you..:)

No hay comentarios:

Publicar un comentario