SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0venkatakrishnan k
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installationfranbow
 
Document Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSDocument Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSSiddharth Ram Dinesh
 
Linux apache installation
Linux apache installationLinux apache installation
Linux apache installationDima Gomaa
 
Odoo command line interface
Odoo command line interfaceOdoo command line interface
Odoo command line interfaceJalal Zahid
 
How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04Sanjary Edu
 
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptwebhostingguy
 
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...webhostingguy
 
Troubleshooting the Puppet Enterprise Stack
Troubleshooting the Puppet Enterprise StackTroubleshooting the Puppet Enterprise Stack
Troubleshooting the Puppet Enterprise StackPuppet
 
Scalable Systems Management with Puppet
Scalable Systems Management with PuppetScalable Systems Management with Puppet
Scalable Systems Management with PuppetPuppet
 
Set up Hadoop Cluster on Amazon EC2
Set up Hadoop Cluster on Amazon EC2Set up Hadoop Cluster on Amazon EC2
Set up Hadoop Cluster on Amazon EC2IMC Institute
 

Was ist angesagt? (17)

Hadoop completereference
Hadoop completereferenceHadoop completereference
Hadoop completereference
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0Power point on linux commands,appache,php,mysql,html,css,web 2.0
Power point on linux commands,appache,php,mysql,html,css,web 2.0
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installation
 
Document Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OSDocument Management: Opendocman and LAMP installation on Cent OS
Document Management: Opendocman and LAMP installation on Cent OS
 
Linux apache installation
Linux apache installationLinux apache installation
Linux apache installation
 
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
 
Odoo command line interface
Odoo command line interfaceOdoo command line interface
Odoo command line interface
 
How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04How to Install LAMP in Ubuntu 14.04
How to Install LAMP in Ubuntu 14.04
 
Apache
ApacheApache
Apache
 
Utosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.pptUtosc2007_Apache_Configuration.ppt
Utosc2007_Apache_Configuration.ppt
 
Easy install
Easy installEasy install
Easy install
 
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...APC PowerChute Shutdown Utility for Apache Web Server -- User ...
APC PowerChute Shutdown Utility for Apache Web Server -- User ...
 
Apache - Quick reference guide
Apache - Quick reference guideApache - Quick reference guide
Apache - Quick reference guide
 
Troubleshooting the Puppet Enterprise Stack
Troubleshooting the Puppet Enterprise StackTroubleshooting the Puppet Enterprise Stack
Troubleshooting the Puppet Enterprise Stack
 
Scalable Systems Management with Puppet
Scalable Systems Management with PuppetScalable Systems Management with Puppet
Scalable Systems Management with Puppet
 
Set up Hadoop Cluster on Amazon EC2
Set up Hadoop Cluster on Amazon EC2Set up Hadoop Cluster on Amazon EC2
Set up Hadoop Cluster on Amazon EC2
 

Andere mochten auch

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
 
Autonomous colleges a critique
Autonomous colleges   a critiqueAutonomous colleges   a critique
Autonomous colleges a critiqueSrirangam Mathew
 
Presentación ERP & CRM Dolibarr
Presentación ERP & CRM DolibarrPresentación ERP & CRM Dolibarr
Presentación ERP & CRM Dolibarr2byte
 
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/CRMJean 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 hodeiFranck 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
 
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 ValenceLaurent Destailleur
 
Présentation dolibarr & google apps
Présentation dolibarr & google appsPrésentation dolibarr & google apps
Présentation dolibarr & google appsAgileaSoft
 
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.0Laurent Destailleur
 
RTOS APPLICATIONS
RTOS  APPLICATIONSRTOS  APPLICATIONS
RTOS APPLICATIONSDr.YNM
 
Academic freedom ppt
Academic freedom pptAcademic freedom ppt
Academic freedom pptPenn State
 

Andere mochten auch (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
 

Ähnlich wie 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-wikiyaranusa
 
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 stackRootGate
 
Performance all teh things
Performance all teh thingsPerformance all teh things
Performance all teh thingsMarcus Deglos
 
Newgenlib Installation on Ubuntu 12.04
Newgenlib Installation on Ubuntu 12.04Newgenlib Installation on Ubuntu 12.04
Newgenlib Installation on Ubuntu 12.04Rajendra Singh
 
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 SetupArun Sharma
 
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 nodeOsama 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 7VCP 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 stackcercer
 
Node.js basics
Node.js basicsNode.js basics
Node.js basicsBen Lin
 
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 8Raja 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
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14kmsa
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administratorsSharon James
 

Ähnlich wie 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
 
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
 
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
 
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 数据库
 
Oracle11g On Fedora14
Oracle11g On Fedora14Oracle11g On Fedora14
Oracle11g On Fedora14
 
Oracle11g on fedora14
Oracle11g on fedora14Oracle11g on fedora14
Oracle11g on fedora14
 
Sun raysetup
Sun raysetupSun raysetup
Sun raysetup
 
Practical solutions for connections administrators
Practical solutions for connections administratorsPractical solutions for connections administrators
Practical solutions for connections administrators
 

Mehr von 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 PerkasaWirabumi 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 PerkasaWirabumi Software
 
Data warehousing with pentaho
Data warehousing with pentahoData warehousing with pentaho
Data warehousing with pentahoWirabumi 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 UbuntuWirabumi Software
 
Openbravo ERP Tutorial - Saldo Awal
Openbravo ERP Tutorial - Saldo AwalOpenbravo ERP Tutorial - Saldo Awal
Openbravo ERP Tutorial - Saldo AwalWirabumi Software
 

Mehr von 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
 

Kürzlich hochgeladen

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 

Kürzlich hochgeladen (20)

Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 

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