SlideShare a Scribd company logo
Openbravo ERP Tutorial

     Ubuntu Installation

           As a Part of
Wirabumi Software Managed Service


               July 2011


            Wirabumi Software
    CV. Wirabumi Openbravo Indonesia
        www.wirabumisoftware.com
Tutorial instalasi-en - 06/18/11   2/12
Table of Contents
Objective....................................................................................................................................................3
Change Log................................................................................................................................................4
   1 Install PostgreSQL............................................................................................................................5
   2 Install Sun JDK.................................................................................................................................5
   3 Install Apache Tomcat.......................................................................................................................6
   4 Install Ant..........................................................................................................................................7
   5 Openbravo.properties Configuration.................................................................................................7
   6 Compile Source Openbravo..............................................................................................................9
   7 Backup/Restore Openbravo.............................................................................................................11




Tutorial instalasi-en - 06/18/11                                                                                                                    3/12
Objective
The objective of this document is guide you to install Openbravo ERP on the top of ubuntu server
operating system.
After studying this tutorial, you will be able to:
   •   Preparing Openbravo ERP environment on Ubuntu
   •   Install all required dependencies:
       ◦ OpenJDK JDK and OpenJDK JRE
       ◦ PostgreSQL
       ◦ Apache Tomcat
       ◦ Ant
   •   install Openbravo ERP from source




Tutorial instalasi-en - 06/18/11                                                          4/12
Change Log
Version Revision date        PIC     Description
1         05/07/2011         Zaien   Start
2         07/11/2011         Zaien   Add correction to setup environment variable
                                     Add new content for backup/restore using snapshot.xml
3         01/08/2012         Zaien   Update to PostgreSQL 9.1
                                     Remove snapshot.xml and replace it using pg_dump and
                                     zip
                                     Upgrade Openbravo ERP source to 2.50MP43




Tutorial instalasi-en - 06/18/11                                                      5/12
1 Install PostgreSQL
PostgreSQL is a server database used by Openbravo. Minimum required version is 8.3.5. Beside
PostgreSQL server, you need also contrib module to install pl/pgsql and UUID.
Install PostgreSQL using Ubuntu APT:
       sudo apt-get install postgresql postgresql-contrib


By default, Postgresql installation come with default user Ubuntu, but without password. Change the
password using command below:
       sudo /etc/init.d/postgresql start
       sudo su - postgres -c psql

       alter role postgres with password 'new_password';
       q




2 Install Sun JDK
Java Development Kit used when compile source of Openbravo ERP. You must add an APT repository
line deb http://ppa.launchpad.net/pitti/postgresql/ubuntu lucid main, to enable you install OpenJDK
JDK and OpenJDK JRE on your Ubuntu.
Add ubuntu repository line to install PostgreSQL by editing source.list:
       sudo nano /etc/apt/source.list


Add new line in the bottom part of source.list:
       deb http://ppa.launchpad.net/pitti/postgresql/ubuntu lucid main


Save source.list, then install OpenJDK JDK and OpenJDK JRE using ATPT:
       sudo apt-get install openjdk-6-jdk openjdk-6-jre


Set OpenJDK as default JDK:
       sudo update-java-alternatives -s java-1.6.0-openjdk-amd64


Add environment variable for JAVA_HOME:
       echo 'JAVA_HOME="/usr/lib/jvm/java-1.6.0-openjdk-amd64"' | sudo tee -a
       /etc/environment


Add environment variable for JAVA_OPTS:
       echo 'JAVA_OPTS="-Djava.awt.headless=true -Xms384m -Xmx1024m
             -XX:PermSize=128m -XX:MaxPermSize=256m"' | sudo tee -a /etc/environment



Tutorial instalasi-en - 06/18/11                                                            6/12
Apply your new environment variable in your session:
       source /etc/environment



3 Install Apache Tomcat
Apache Tomcat is a web container, used as a web server where Openbravo hosted.
Install tomcat using APT:
       sudo apt-get install tomcat6 tomcat6-admin

Start tomcat:
       sudo /etc/init.d/tomcat6 start

Make sure your installation is correct by access your tomcat at http://localhost:8080
Add environment variable CATALINA_HOME, CATALINA_BASE, and CATALINA_OPTS
       echo 'CATALINA_HOME="/usr/share/tomcat6"' | sudo tee -a /etc/environment
       echo 'CATALINA_BASE="/var/lib/tomcat6"' | sudo tee -a /etc/environment
       echo 'CATALINA_OPTS="-Djava.awt.headless=true -Xms384m -Xmx1024m
             -XX:PermSize=128m -XX:MaxPermSize=256m"


Edit file /usr/share/tomcat6/bin/catalina.sh, add line after comment at the top of this file:
       echo 'CATALINA_HOME="/usr/share/tomcat6"' | sudo tee -a /etc/environment
       echo 'CATALINA_BASE="/var/lib/tomcat6"' | sudo tee -a /etc/environment
       echo 'CATALINA_OPTS="-Djava.awt.headless=true -Xms384m -Xmx1024m
             -XX:PermSize=128m -XX:MaxPermSize=256m"'


Apply your new environment variable in your session:
       source /etc/environment


Edit file /var/lib/tomcat6/conf/tomcat-users.xml to add manager user:
       <?xml version='1.0' encoding='utf-8'?>
       <tomcat-users>
         <role rolename="manager"/>
         <user username="admin" password="admin" roles="manager"/>
       </tomcat-users>

Restart apache tomcat:
       sudo service tomcat6 restart


Make sure your configuration              is   correct   by    access    your    tomcat     manager      at
http://localhost:8080:/manager/html
username: admin, password: admin

Tutorial instalasi-en - 06/18/11                                                                  7/12
4 Install Ant
Ant is a java build tool, used when build Openbravo ERP. Install ant using APT:
       sudo apt-get install ant ant-optional


Create environment variable for ANT_HOME and ANT_OPTS:
       echo 'ANT_HOME="/usr/share/ant"' | sudo tee -a /etc/environment
       echo 'ANT_OPTS="-Xmx1024M -XX:MaxPermSize=128M"' | sudo tee
             -a /etc/environment

Apply your new environment variable in your session:
       source /etc/environment

5 Openbravo.properties Configuration
Parameters inside Openbravo.properties will be used when you compile source Openbravo. Fill
required data with correct information. Extract source Openbravo on desired folder. For next step, we
will call this folder as OPENBRAVO_HOME. Openbravo Source can be downloaded at:
http://dl.dropbox.com/u/17925381/OpenbravoERP-2.50MP43.obx.
Using command line terminal, go to OPENBRAVO_HOME, download openbravo configuration
wizard:
       ant setup


go to folder config, add executable permission on configuration wizard file:
       chmod +x setup-properties-linux.bin


Run configuration wizard file:
       ./setup-properties-linux.bin




Tutorial instalasi-en - 06/18/11                                                              8/12
1. Date time option: [self explanation].
    2. Stack configuration:
           1. attachment directory: select your attachment folder. For example of an attachment is
              print out result of an invoice, a picture, PDF, etc. Fill it using:
              OPENBRAVO_HOME/attachment.
           2. context name: application name that registered on tomcat, leave it default.
           3. web URL: web address of openbravo on tomcat, leave it default.
           4. context URL: web parent address of openbravo, leave it default.
    3. development parameter: used for openbravo development purpose, leave if default.
    4. Server database: select PostgreSQL.
    5. Parameter on PostgreSQL:
            1. DB name: database name of openbravo. Fill it : openbravo.
            2. admin role: super user name of server database PostgreSQL. Fill it: postgres.
            3. admin role password: password of super user. Fill it regarding your password supplied as
               explanation on 1st chapter.
            4. DB role: user on server PostgreSQL who will access Openbravo database. Fill it: tad.

Tutorial instalasi-en - 06/18/11                                                                9/12
5. DB role password: password of user on server PostgreSQL who will access Openbravo
             database. Fill it: tad.
          6. DB server address: server address of postgresql. Fill it: localhost.
          7. DB server port: port of PostgreSQL. Leave it default (5432).
    6. Tomcat configuration:
          1. tomcat manager URL: Application address of manager tomcat, leave it default.
          2. tomcat admin username: user name of tomcat manager, fill it: admin.
          3. tomcat admin password: password of user name of tomcat manager, fill it: admin.
    7. Pentaho server: not applied for now, leave it blank.
Finish process by click forward.

6 Compile Source Openbravo
If your command line terminal that you use in previous chapter, please close it and open again to refesh
your session with your new environment variable. Now Openbravo ERP is ready for compile process.
Go to OPENBRAVO_HOME folder using this command line terminal, compile openbravo using
command below:
       ant install.source




Be patient, this process may take several minutes, depend on your machine, but average on dual core
PC is about 30 minutes.
After compile process finished successfully, restart your tomcat:
       sudo service tomcat6 restart


Wait for a moment (about 1 minute), tomcat is now deploying openbravo. Open your openbravo using
web browser (Internet explorer, Mozilla Firefox, etc) on address: http://localhost:8080/openbravo. You

Tutorial instalasi-en - 06/18/11                                                                 10/12
will get a login page of Openbravo. Please login with default user/password: username: Openbravo,
password: openbravo. This username/password is case sensitive.




Tutorial instalasi-en - 06/18/11                                                           11/12
7 Backup/Restore Openbravo
To backup openbravo, there are 2 part you need to backup:
   1. database
   2. source file in OPENBRAVO_HOME
To backup your database, backup it using pg_dump:
       pg_dump -U postgres -h localhost -p 5432 -F c -v openbravo >
       openbravo.backup
those command will produce a file named openbravo.backup, containing all your database information
of openbravo DB, located in your current folder.
To backup your OPENBRAVO_HOME you can zip all file into single zip file. Go to
OPENBRAVO_HOME, run command below:
       zip Openbravo.zip -r .
those command will produce a file named Openbravo.zip, containing all your OPENBRAVO_HOME
files, located in OPENBRAVO_HOME.
To restore database, go to the folder that contain your DB backup, create a new database (drop it first if
exists):
       dropdb -U postgres -h localhost -p 5432 openbravo
       createdb -U postgres -h localhost -p 5432 openbravo
       pg_restore -U postgres -h localhost -p 5432 -F c -v -d openbravo <
       openbravo.backup
To restore OPENBRAVO_HOME, remove all file inside OPENBRAVO_HOME, copy your backup
(zip file) to your OPENBRAVO_HOME, then extract your backup zip file:
       unzip     Openbravo.zip -d .
Compile new restored backup:
       ant smartbuild
After process finished successfully, restart tomcat, and wait for a moment (about 1 minute), tomcat is
now deploying openbravo. Open your openbravo using web browser (Internet explorer, Mozilla
Firefox, etc) on address: http://localhost:8080/openbravo.




Tutorial instalasi-en - 06/18/11                                                                   12/12

More Related Content

What's hot

Porsche Cayenne launch
Porsche Cayenne launchPorsche Cayenne launch
Porsche Cayenne launch
Masoud Hamidzadeh
 
Presentation on volkswagen
Presentation on volkswagenPresentation on volkswagen
Presentation on volkswagen
Akshay Kumar
 
Porsche mission e project
Porsche mission e projectPorsche mission e project
Porsche mission e project
filippo cheli
 
SaltStack Integration with Foreman (2016)
SaltStack Integration with Foreman (2016)SaltStack Integration with Foreman (2016)
SaltStack Integration with Foreman (2016)
Stephen Benjamin
 
Appleinc
AppleincAppleinc
Appleinc
rish1
 
Dell
DellDell

What's hot (6)

Porsche Cayenne launch
Porsche Cayenne launchPorsche Cayenne launch
Porsche Cayenne launch
 
Presentation on volkswagen
Presentation on volkswagenPresentation on volkswagen
Presentation on volkswagen
 
Porsche mission e project
Porsche mission e projectPorsche mission e project
Porsche mission e project
 
SaltStack Integration with Foreman (2016)
SaltStack Integration with Foreman (2016)SaltStack Integration with Foreman (2016)
SaltStack Integration with Foreman (2016)
 
Appleinc
AppleincAppleinc
Appleinc
 
Dell
DellDell
Dell
 

Viewers also liked

Mauricio.mortera.slides
Mauricio.mortera.slidesMauricio.mortera.slides
Mauricio.mortera.slides
Mauricio Mortera Martinez
 
National Policy on Teacher Development in Relation to Autonomous Education U...
National Policy on Teacher Development in Relation to Autonomous Education U...National Policy on Teacher Development in Relation to Autonomous Education U...
National Policy on Teacher Development in Relation to Autonomous Education U...
Kreshna Aditya
 
Developing quality in autonomous college - Part 1
Developing quality in autonomous college - Part 1Developing quality in autonomous college - Part 1
Developing quality in autonomous college - Part 1
St.Xavier's College , Palayamkottai - 627 002
 
Dolibarr
DolibarrDolibarr
Autonomous colleges a critique
Autonomous colleges   a critiqueAutonomous colleges   a critique
Autonomous colleges a critiqueSrirangam Mathew
 
Presentation forum php 2010
Presentation forum php 2010Presentation forum php 2010
Presentation forum php 2010
Laurent Destailleur
 
Presentación ERP & CRM Dolibarr
Presentación ERP & CRM DolibarrPresentación ERP & CRM Dolibarr
Presentación ERP & CRM Dolibarr
2byte
 
Système E-commerce avec Dolibarr ERP/CRM
Système E-commerce avec Dolibarr ERP/CRMSystème E-commerce avec Dolibarr ERP/CRM
Système E-commerce avec Dolibarr ERP/CRM
Jean Heimburger
 
Support de cours Dolibarr crm debutant hodei
Support de cours Dolibarr crm debutant hodeiSupport de cours Dolibarr crm debutant hodei
Support de cours Dolibarr crm debutant hodei
Franck Patissier
 
Dolibarr - What's new 3.9 and 4.0 (english)
Dolibarr - What's new 3.9 and 4.0 (english)Dolibarr - What's new 3.9 and 4.0 (english)
Dolibarr - What's new 3.9 and 4.0 (english)
Laurent Destailleur
 
Openbravo ERP Overview
Openbravo ERP OverviewOpenbravo ERP Overview
Openbravo ERP Overview
Wirabumi Software
 
Openbravo ERP
Openbravo ERPOpenbravo ERP
Openbravo ERP
Sysfore Technologies
 
Dolibarr the future - Christmas devcamp in Valence
Dolibarr the future - Christmas devcamp in ValenceDolibarr the future - Christmas devcamp in Valence
Dolibarr the future - Christmas devcamp in Valence
Laurent Destailleur
 
Présentation dolibarr & google apps
Présentation dolibarr & google appsPrésentation dolibarr & google apps
Présentation dolibarr & google apps
AgileaSoft
 
Dolibarr ERP CRM - What's new in 5.0
Dolibarr ERP CRM -  What's new in 5.0Dolibarr ERP CRM -  What's new in 5.0
Dolibarr ERP CRM - What's new in 5.0
Laurent Destailleur
 
dolibarr SSIT Maroc
dolibarr SSIT Marocdolibarr SSIT Maroc
dolibarr SSIT Maroc
Mohamed Amine BOURHIL
 
RTOS APPLICATIONS
RTOS  APPLICATIONSRTOS  APPLICATIONS
RTOS APPLICATIONS
Dr.YNM
 
Academic Freedom
Academic FreedomAcademic Freedom
Academic Freedom
Anirban Chakraborty
 
Academic freedom ppt
Academic freedom pptAcademic freedom ppt
Academic freedom pptPenn State
 

Viewers also liked (20)

Mauricio.mortera.slides
Mauricio.mortera.slidesMauricio.mortera.slides
Mauricio.mortera.slides
 
National Policy on Teacher Development in Relation to Autonomous Education U...
National Policy on Teacher Development in Relation to Autonomous Education U...National Policy on Teacher Development in Relation to Autonomous Education U...
National Policy on Teacher Development in Relation to Autonomous Education U...
 
Developing quality in autonomous college - Part 1
Developing quality in autonomous college - Part 1Developing quality in autonomous college - Part 1
Developing quality in autonomous college - Part 1
 
Dolibarr
DolibarrDolibarr
Dolibarr
 
Autonomous colleges a critique
Autonomous colleges   a critiqueAutonomous colleges   a critique
Autonomous colleges a critique
 
Presentation forum php 2010
Presentation forum php 2010Presentation forum php 2010
Presentation forum php 2010
 
Presentación ERP & CRM Dolibarr
Presentación ERP & CRM DolibarrPresentación ERP & CRM Dolibarr
Presentación ERP & CRM Dolibarr
 
Système E-commerce avec Dolibarr ERP/CRM
Système E-commerce avec Dolibarr ERP/CRMSystème E-commerce avec Dolibarr ERP/CRM
Système E-commerce avec Dolibarr ERP/CRM
 
Dolibarr
DolibarrDolibarr
Dolibarr
 
Support de cours Dolibarr crm debutant hodei
Support de cours Dolibarr crm debutant hodeiSupport de cours Dolibarr crm debutant hodei
Support de cours Dolibarr crm debutant hodei
 
Dolibarr - What's new 3.9 and 4.0 (english)
Dolibarr - What's new 3.9 and 4.0 (english)Dolibarr - What's new 3.9 and 4.0 (english)
Dolibarr - What's new 3.9 and 4.0 (english)
 
Openbravo ERP Overview
Openbravo ERP OverviewOpenbravo ERP Overview
Openbravo ERP Overview
 
Openbravo ERP
Openbravo ERPOpenbravo ERP
Openbravo ERP
 
Dolibarr the future - Christmas devcamp in Valence
Dolibarr the future - Christmas devcamp in ValenceDolibarr the future - Christmas devcamp in Valence
Dolibarr the future - Christmas devcamp in Valence
 
Présentation dolibarr & google apps
Présentation dolibarr & google appsPrésentation dolibarr & google apps
Présentation dolibarr & google apps
 
Dolibarr ERP CRM - What's new in 5.0
Dolibarr ERP CRM -  What's new in 5.0Dolibarr ERP CRM -  What's new in 5.0
Dolibarr ERP CRM - What's new in 5.0
 
dolibarr SSIT Maroc
dolibarr SSIT Marocdolibarr SSIT Maroc
dolibarr SSIT Maroc
 
RTOS APPLICATIONS
RTOS  APPLICATIONSRTOS  APPLICATIONS
RTOS APPLICATIONS
 
Academic Freedom
Academic FreedomAcademic Freedom
Academic Freedom
 
Academic freedom ppt
Academic freedom pptAcademic freedom ppt
Academic freedom ppt
 

Similar to How To Install Openbravo ERP 2.50 MP43 in Ubuntu

Erp 2.50 openbravo environment installation openbravo-wiki
Erp 2.50 openbravo environment installation   openbravo-wikiErp 2.50 openbravo environment installation   openbravo-wiki
Erp 2.50 openbravo environment installation openbravo-wiki
yaranusa
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
MuhammadShoaibHussai2
 
Open erp on ubuntu
Open erp on ubuntuOpen erp on ubuntu
Open erp on ubuntuIker Coranti
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
RootGate
 
Performance all teh things
Performance all teh thingsPerformance all teh things
Performance all teh things
Marcus Deglos
 
Newgenlib Installation on Ubuntu 12.04
Newgenlib Installation on Ubuntu 12.04Newgenlib Installation on Ubuntu 12.04
Newgenlib Installation on Ubuntu 12.04
Rajendra Singh
 
Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9
عطاءالمنعم اثیل شیخ
 
PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...
PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...
PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...
Puppet
 
Oracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard SetupOracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard Setup
Arun Sharma
 
[MathWorks] Versioning Infrastructure
[MathWorks] Versioning Infrastructure[MathWorks] Versioning Infrastructure
[MathWorks] Versioning InfrastructurePerforce
 
Oracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single nodeOracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single node
Osama Mustafa
 
How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7
VCP Muthukrishna
 
How to install Open Atrium over LAMP stack
How to install Open Atrium over LAMP stackHow to install Open Atrium over LAMP stack
How to install Open Atrium over LAMP stack
cercer
 
Node.js basics
Node.js basicsNode.js basics
Node.js basicsBen Lin
 
L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5
William Lee
 
Installing php 7.4 Nginx Laravel 7.x on Centos 8
Installing php 7.4 Nginx Laravel 7.x on Centos 8Installing php 7.4 Nginx Laravel 7.x on Centos 8
Installing php 7.4 Nginx Laravel 7.x on Centos 8
Raja Rozali Raja Hasan
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库maclean liu
 

Similar to How To Install Openbravo ERP 2.50 MP43 in Ubuntu (20)

Erp 2.50 openbravo environment installation openbravo-wiki
Erp 2.50 openbravo environment installation   openbravo-wikiErp 2.50 openbravo environment installation   openbravo-wiki
Erp 2.50 openbravo environment installation openbravo-wiki
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
 
Open erp on ubuntu
Open erp on ubuntuOpen erp on ubuntu
Open erp on ubuntu
 
How to install and configure LEMP stack
How to install and configure LEMP stackHow to install and configure LEMP stack
How to install and configure LEMP stack
 
Performance all teh things
Performance all teh thingsPerformance all teh things
Performance all teh things
 
Newgenlib Installation on Ubuntu 12.04
Newgenlib Installation on Ubuntu 12.04Newgenlib Installation on Ubuntu 12.04
Newgenlib Installation on Ubuntu 12.04
 
Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9Installing lemp with ssl and varnish on Debian 9
Installing lemp with ssl and varnish on Debian 9
 
PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...
PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...
PuppetConf 2016: An Introduction to Measuring and Tuning PE Performance – Cha...
 
Oracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard SetupOracle 11g Installation With ASM and Data Guard Setup
Oracle 11g Installation With ASM and Data Guard Setup
 
Apache - Quick reference guide
Apache - Quick reference guideApache - Quick reference guide
Apache - Quick reference guide
 
[MathWorks] Versioning Infrastructure
[MathWorks] Versioning Infrastructure[MathWorks] Versioning Infrastructure
[MathWorks] Versioning Infrastructure
 
Oracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single nodeOracle api gateway installation as cluster and single node
Oracle api gateway installation as cluster and single node
 
How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7How To Install OpenFire in CentOS 7
How To Install OpenFire in CentOS 7
 
How to install Open Atrium over LAMP stack
How to install Open Atrium over LAMP stackHow to install Open Atrium over LAMP stack
How to install Open Atrium over LAMP stack
 
Node.js basics
Node.js basicsNode.js basics
Node.js basics
 
L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5L.A.M.P Installation Note --- CentOS 6.5
L.A.M.P Installation Note --- CentOS 6.5
 
Apache
ApacheApache
Apache
 
Apache
ApacheApache
Apache
 
Installing php 7.4 Nginx Laravel 7.x on Centos 8
Installing php 7.4 Nginx Laravel 7.x on Centos 8Installing php 7.4 Nginx Laravel 7.x on Centos 8
Installing php 7.4 Nginx Laravel 7.x on Centos 8
 
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
图文详解安装Net backup 6.5备份恢复oracle 10g rac 数据库
 

More from Wirabumi Software

Air sumber kehidupan, Metode Firtrasi AIRO Water - PT. Rofis Jaya Perkasa
Air sumber kehidupan, Metode Firtrasi AIRO Water - PT. Rofis Jaya PerkasaAir sumber kehidupan, Metode Firtrasi AIRO Water - PT. Rofis Jaya Perkasa
Air sumber kehidupan, Metode Firtrasi AIRO Water - PT. Rofis Jaya Perkasa
Wirabumi Software
 
Memperkenalkan AIRO Water - PT. Rofis Jaya Perkasa
Memperkenalkan AIRO Water - PT. Rofis Jaya PerkasaMemperkenalkan AIRO Water - PT. Rofis Jaya Perkasa
Memperkenalkan AIRO Water - PT. Rofis Jaya Perkasa
Wirabumi Software
 
Infinite pos
Infinite posInfinite pos
Infinite pos
Wirabumi Software
 
Infinite BI
Infinite BIInfinite BI
Infinite BI
Wirabumi Software
 
Virtual cube on pentaho
Virtual cube on pentahoVirtual cube on pentaho
Virtual cube on pentaho
Wirabumi Software
 
Virtual cube di pentaho
Virtual cube di pentahoVirtual cube di pentaho
Virtual cube di pentaho
Wirabumi Software
 
Flexible erp with openbravo
Flexible erp with openbravoFlexible erp with openbravo
Flexible erp with openbravo
Wirabumi Software
 
Data warehousing with pentaho
Data warehousing with pentahoData warehousing with pentaho
Data warehousing with pentaho
Wirabumi Software
 
Introduction to openbravo
Introduction to openbravoIntroduction to openbravo
Introduction to openbravo
Wirabumi Software
 
Cara Install Openbravo 2.50 MP 43 di Ubuntu
Cara Install Openbravo 2.50 MP 43 di UbuntuCara Install Openbravo 2.50 MP 43 di Ubuntu
Cara Install Openbravo 2.50 MP 43 di Ubuntu
Wirabumi Software
 
Openbravo ERP Tutorial - Saldo Awal
Openbravo ERP Tutorial - Saldo AwalOpenbravo ERP Tutorial - Saldo Awal
Openbravo ERP Tutorial - Saldo Awal
Wirabumi Software
 

More from Wirabumi Software (12)

Air sumber kehidupan, Metode Firtrasi AIRO Water - PT. Rofis Jaya Perkasa
Air sumber kehidupan, Metode Firtrasi AIRO Water - PT. Rofis Jaya PerkasaAir sumber kehidupan, Metode Firtrasi AIRO Water - PT. Rofis Jaya Perkasa
Air sumber kehidupan, Metode Firtrasi AIRO Water - PT. Rofis Jaya Perkasa
 
Memperkenalkan AIRO Water - PT. Rofis Jaya Perkasa
Memperkenalkan AIRO Water - PT. Rofis Jaya PerkasaMemperkenalkan AIRO Water - PT. Rofis Jaya Perkasa
Memperkenalkan AIRO Water - PT. Rofis Jaya Perkasa
 
Infinite pos
Infinite posInfinite pos
Infinite pos
 
Infinite BI
Infinite BIInfinite BI
Infinite BI
 
Virtual cube on pentaho
Virtual cube on pentahoVirtual cube on pentaho
Virtual cube on pentaho
 
Virtual cube di pentaho
Virtual cube di pentahoVirtual cube di pentaho
Virtual cube di pentaho
 
Flexible erp with openbravo
Flexible erp with openbravoFlexible erp with openbravo
Flexible erp with openbravo
 
Data warehousing with pentaho
Data warehousing with pentahoData warehousing with pentaho
Data warehousing with pentaho
 
Dasar dasar akuntansi
Dasar dasar akuntansiDasar dasar akuntansi
Dasar dasar akuntansi
 
Introduction to openbravo
Introduction to openbravoIntroduction to openbravo
Introduction to openbravo
 
Cara Install Openbravo 2.50 MP 43 di Ubuntu
Cara Install Openbravo 2.50 MP 43 di UbuntuCara Install Openbravo 2.50 MP 43 di Ubuntu
Cara Install Openbravo 2.50 MP 43 di Ubuntu
 
Openbravo ERP Tutorial - Saldo Awal
Openbravo ERP Tutorial - Saldo AwalOpenbravo ERP Tutorial - Saldo Awal
Openbravo ERP Tutorial - Saldo Awal
 

Recently uploaded

FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 

Recently uploaded (20)

FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 

How To Install Openbravo ERP 2.50 MP43 in Ubuntu

  • 1. Openbravo ERP Tutorial Ubuntu Installation As a Part of Wirabumi Software Managed Service July 2011 Wirabumi Software CV. Wirabumi Openbravo Indonesia www.wirabumisoftware.com
  • 2. Tutorial instalasi-en - 06/18/11 2/12
  • 3. Table of Contents Objective....................................................................................................................................................3 Change Log................................................................................................................................................4 1 Install PostgreSQL............................................................................................................................5 2 Install Sun JDK.................................................................................................................................5 3 Install Apache Tomcat.......................................................................................................................6 4 Install Ant..........................................................................................................................................7 5 Openbravo.properties Configuration.................................................................................................7 6 Compile Source Openbravo..............................................................................................................9 7 Backup/Restore Openbravo.............................................................................................................11 Tutorial instalasi-en - 06/18/11 3/12
  • 4. Objective The objective of this document is guide you to install Openbravo ERP on the top of ubuntu server operating system. After studying this tutorial, you will be able to: • Preparing Openbravo ERP environment on Ubuntu • Install all required dependencies: ◦ OpenJDK JDK and OpenJDK JRE ◦ PostgreSQL ◦ Apache Tomcat ◦ Ant • install Openbravo ERP from source Tutorial instalasi-en - 06/18/11 4/12
  • 5. Change Log Version Revision date PIC Description 1 05/07/2011 Zaien Start 2 07/11/2011 Zaien Add correction to setup environment variable Add new content for backup/restore using snapshot.xml 3 01/08/2012 Zaien Update to PostgreSQL 9.1 Remove snapshot.xml and replace it using pg_dump and zip Upgrade Openbravo ERP source to 2.50MP43 Tutorial instalasi-en - 06/18/11 5/12
  • 6. 1 Install PostgreSQL PostgreSQL is a server database used by Openbravo. Minimum required version is 8.3.5. Beside PostgreSQL server, you need also contrib module to install pl/pgsql and UUID. Install PostgreSQL using Ubuntu APT: sudo apt-get install postgresql postgresql-contrib By default, Postgresql installation come with default user Ubuntu, but without password. Change the password using command below: sudo /etc/init.d/postgresql start sudo su - postgres -c psql alter role postgres with password 'new_password'; q 2 Install Sun JDK Java Development Kit used when compile source of Openbravo ERP. You must add an APT repository line deb http://ppa.launchpad.net/pitti/postgresql/ubuntu lucid main, to enable you install OpenJDK JDK and OpenJDK JRE on your Ubuntu. Add ubuntu repository line to install PostgreSQL by editing source.list: sudo nano /etc/apt/source.list Add new line in the bottom part of source.list: deb http://ppa.launchpad.net/pitti/postgresql/ubuntu lucid main Save source.list, then install OpenJDK JDK and OpenJDK JRE using ATPT: sudo apt-get install openjdk-6-jdk openjdk-6-jre Set OpenJDK as default JDK: sudo update-java-alternatives -s java-1.6.0-openjdk-amd64 Add environment variable for JAVA_HOME: echo 'JAVA_HOME="/usr/lib/jvm/java-1.6.0-openjdk-amd64"' | sudo tee -a /etc/environment Add environment variable for JAVA_OPTS: echo 'JAVA_OPTS="-Djava.awt.headless=true -Xms384m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m"' | sudo tee -a /etc/environment Tutorial instalasi-en - 06/18/11 6/12
  • 7. Apply your new environment variable in your session: source /etc/environment 3 Install Apache Tomcat Apache Tomcat is a web container, used as a web server where Openbravo hosted. Install tomcat using APT: sudo apt-get install tomcat6 tomcat6-admin Start tomcat: sudo /etc/init.d/tomcat6 start Make sure your installation is correct by access your tomcat at http://localhost:8080 Add environment variable CATALINA_HOME, CATALINA_BASE, and CATALINA_OPTS echo 'CATALINA_HOME="/usr/share/tomcat6"' | sudo tee -a /etc/environment echo 'CATALINA_BASE="/var/lib/tomcat6"' | sudo tee -a /etc/environment echo 'CATALINA_OPTS="-Djava.awt.headless=true -Xms384m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m" Edit file /usr/share/tomcat6/bin/catalina.sh, add line after comment at the top of this file: echo 'CATALINA_HOME="/usr/share/tomcat6"' | sudo tee -a /etc/environment echo 'CATALINA_BASE="/var/lib/tomcat6"' | sudo tee -a /etc/environment echo 'CATALINA_OPTS="-Djava.awt.headless=true -Xms384m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m"' Apply your new environment variable in your session: source /etc/environment Edit file /var/lib/tomcat6/conf/tomcat-users.xml to add manager user: <?xml version='1.0' encoding='utf-8'?> <tomcat-users> <role rolename="manager"/> <user username="admin" password="admin" roles="manager"/> </tomcat-users> Restart apache tomcat: sudo service tomcat6 restart Make sure your configuration is correct by access your tomcat manager at http://localhost:8080:/manager/html username: admin, password: admin Tutorial instalasi-en - 06/18/11 7/12
  • 8. 4 Install Ant Ant is a java build tool, used when build Openbravo ERP. Install ant using APT: sudo apt-get install ant ant-optional Create environment variable for ANT_HOME and ANT_OPTS: echo 'ANT_HOME="/usr/share/ant"' | sudo tee -a /etc/environment echo 'ANT_OPTS="-Xmx1024M -XX:MaxPermSize=128M"' | sudo tee -a /etc/environment Apply your new environment variable in your session: source /etc/environment 5 Openbravo.properties Configuration Parameters inside Openbravo.properties will be used when you compile source Openbravo. Fill required data with correct information. Extract source Openbravo on desired folder. For next step, we will call this folder as OPENBRAVO_HOME. Openbravo Source can be downloaded at: http://dl.dropbox.com/u/17925381/OpenbravoERP-2.50MP43.obx. Using command line terminal, go to OPENBRAVO_HOME, download openbravo configuration wizard: ant setup go to folder config, add executable permission on configuration wizard file: chmod +x setup-properties-linux.bin Run configuration wizard file: ./setup-properties-linux.bin Tutorial instalasi-en - 06/18/11 8/12
  • 9. 1. Date time option: [self explanation]. 2. Stack configuration: 1. attachment directory: select your attachment folder. For example of an attachment is print out result of an invoice, a picture, PDF, etc. Fill it using: OPENBRAVO_HOME/attachment. 2. context name: application name that registered on tomcat, leave it default. 3. web URL: web address of openbravo on tomcat, leave it default. 4. context URL: web parent address of openbravo, leave it default. 3. development parameter: used for openbravo development purpose, leave if default. 4. Server database: select PostgreSQL. 5. Parameter on PostgreSQL: 1. DB name: database name of openbravo. Fill it : openbravo. 2. admin role: super user name of server database PostgreSQL. Fill it: postgres. 3. admin role password: password of super user. Fill it regarding your password supplied as explanation on 1st chapter. 4. DB role: user on server PostgreSQL who will access Openbravo database. Fill it: tad. Tutorial instalasi-en - 06/18/11 9/12
  • 10. 5. DB role password: password of user on server PostgreSQL who will access Openbravo database. Fill it: tad. 6. DB server address: server address of postgresql. Fill it: localhost. 7. DB server port: port of PostgreSQL. Leave it default (5432). 6. Tomcat configuration: 1. tomcat manager URL: Application address of manager tomcat, leave it default. 2. tomcat admin username: user name of tomcat manager, fill it: admin. 3. tomcat admin password: password of user name of tomcat manager, fill it: admin. 7. Pentaho server: not applied for now, leave it blank. Finish process by click forward. 6 Compile Source Openbravo If your command line terminal that you use in previous chapter, please close it and open again to refesh your session with your new environment variable. Now Openbravo ERP is ready for compile process. Go to OPENBRAVO_HOME folder using this command line terminal, compile openbravo using command below: ant install.source Be patient, this process may take several minutes, depend on your machine, but average on dual core PC is about 30 minutes. After compile process finished successfully, restart your tomcat: sudo service tomcat6 restart Wait for a moment (about 1 minute), tomcat is now deploying openbravo. Open your openbravo using web browser (Internet explorer, Mozilla Firefox, etc) on address: http://localhost:8080/openbravo. You Tutorial instalasi-en - 06/18/11 10/12
  • 11. will get a login page of Openbravo. Please login with default user/password: username: Openbravo, password: openbravo. This username/password is case sensitive. Tutorial instalasi-en - 06/18/11 11/12
  • 12. 7 Backup/Restore Openbravo To backup openbravo, there are 2 part you need to backup: 1. database 2. source file in OPENBRAVO_HOME To backup your database, backup it using pg_dump: pg_dump -U postgres -h localhost -p 5432 -F c -v openbravo > openbravo.backup those command will produce a file named openbravo.backup, containing all your database information of openbravo DB, located in your current folder. To backup your OPENBRAVO_HOME you can zip all file into single zip file. Go to OPENBRAVO_HOME, run command below: zip Openbravo.zip -r . those command will produce a file named Openbravo.zip, containing all your OPENBRAVO_HOME files, located in OPENBRAVO_HOME. To restore database, go to the folder that contain your DB backup, create a new database (drop it first if exists): dropdb -U postgres -h localhost -p 5432 openbravo createdb -U postgres -h localhost -p 5432 openbravo pg_restore -U postgres -h localhost -p 5432 -F c -v -d openbravo < openbravo.backup To restore OPENBRAVO_HOME, remove all file inside OPENBRAVO_HOME, copy your backup (zip file) to your OPENBRAVO_HOME, then extract your backup zip file: unzip Openbravo.zip -d . Compile new restored backup: ant smartbuild After process finished successfully, restart tomcat, and wait for a moment (about 1 minute), tomcat is now deploying openbravo. Open your openbravo using web browser (Internet explorer, Mozilla Firefox, etc) on address: http://localhost:8080/openbravo. Tutorial instalasi-en - 06/18/11 12/12