Home
BSD Applications
Install Openbravo ERP on FreeBSD
BSD Applications
Install Openbravo ERP on FreeBSD | Installing OpenBravo ERP on FreeBSD |
|
|
|
This tutorial is about installing OpenBravo ERP on FreeBSD (I am using
a FreeBSD 6.1 box, for different version of BSD versions of packets
might differ). Openbravo is an Open Source entreprise management system solution based on Java (ERP). More informations can be found at openbravo.com, also you'll find there a documentation on howto install Openbravo on a Linux machine using either Postfix or Oracle, as DBMS. Requirements for FreeBSD ------------------------------ Jakarta-Tomcat v.5.5 Java 2 Platform PostgreSQL database server Apache-ant 1.6.5 It is know that for a server you do not need X.org, but in this case you will need X.org for Openbravo instalation. The setup script runs from X.org. 1. Download and install JDK package from http://www.freebsdfoundation.org/downloads/java.shtml You will also need to install java wrapper: pkg_add -r javavmwrapper Then install your downloaded Java Development kit: pkg_add diablo-jdk-freebsd6.i386.1.5.0.07.01.tbz 2. Install Tomcat Java Web Server pkg_add -f tomcat 3. Install Apache ant pkg_add -r apache-ant ln -s /usr/local/bin/ant /usr/local/ant/bin/ant 4. Install PostgreSQL server pkg_add -r postgresql-server 5. Setup your environment JAVA_HOME variable to path where is Java installed JAVA_HOME="/usr/local/diablo-jdk1.5.0 6. Set environment variables for your Tomcat Java Web Server CATALINA_HOME="/usr/local/tomcat5.5 CATALINA_OPTS="-server -Xms512M -Xmx512M" 7. Setup your environment for apache Ant ANT_HOME="/usr/local/ant" 8. Download Openbravo from openbravo.com website. Unzip the archive and copy the following files into your CATALINA_HOME/common/lib directory. activation.jar avalon-framework-cvs-20020806.jar axis-ant.jar axis.jar batik.jar comm.jar fop.jar jaxrpc.jar log4j-1.3alpha-8.jar mail.jar nekohtml.jar postgresql-8.1-404.jbdc3.jar saaj.jar wsdl4j-1.5.1.jarrenderFoRmi.jar commons-dbcp.jar commons-pool.jar commons-collections.ar commons-collections-testframework.jar commons-fileupload.jar commons-io.jar commons-logging-1.0.4.jar commons-discovery-0.2.jar xerceslmpl.jar 9. Initate postgresql database /usr/local/etc/rc.d/010.pgsql.sh initdb 10. Modify build.xml from download.jar, replace userid="postgres" with userid="pgsql". The FreeBSD port of postgresql uses pgsql user instead of postgres user, on linux. 11. Create pgsql database: createdb -U pgsql -W pgsql 12. The next step is to launch install.sh from X.org |


