Server 1: PostgreSQL
Follow the installation guide to install PostgreSQL and configure an admin (postgres) password.Edit the /etc/postgresql/8.4/openbravo-erp/postgresql.conf file, and uncomment the following line, assigning this new value:
listen_addresses='*'This makes the database listen to all the interfaces available in your system and not only to localhost (default).
Edit the /etc/postgresql/8.4/openbravo-erp/pg_hba.conf file, and add this line at the end:
host all all 192.168.1.10/32 md5Replace 192.168.1.10 with the IP of your Tomcat server.
Server 2: Tomcat server
Install the openbravo-erp package by following the installation guide.Then edit /opt/OpenbravoERP-2.50/openbravo-erp/config/Openbravo.properties as follows:
Firstly, replace localhost with the IP address of the PostgreSQL server.
bbdd.url=jdbc:postgresql://localhost:5432Then set the password for the postgres database super user.
bbdd.systemPassword=postgresThe final step is recompile using the new PostreSQL server:
cd /opt/OpenbravoERP-2.50/openbravo-erp/ ant install.source
Since the PostgreSQL is in another server, you can remove in Tomcat server the /etc/init.d/openbravo-erp-postgresql file and also all the lines in /etc/init.d/openbravo-erp that contain "/etc/init.d/openbravo-erp-postgresql". |
Login into Openbravo ERP
- Type http://localhost/openbravo into your web browser's the address bar to log in into Openbravo ERP.
- Use the following credentials:
- username: Openbravo
- password: openbravo