0% found this document useful (0 votes)
165 views4 pages

Install A Ing Openbravo From The Basics

This document provides installation steps for Openbravo on Susie Enterprise or CentOS 5.1. It includes instructions for partitioning disks, installing required packages like Java, PostgreSQL, Apache Tomcat, and Apache Ant. Finally, it describes downloading and extracting the Openbravo files and running the setup-properties-linux.bin script.

Uploaded by

Robert Nsimbi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
165 views4 pages

Install A Ing Openbravo From The Basics

This document provides installation steps for Openbravo on Susie Enterprise or CentOS 5.1. It includes instructions for partitioning disks, installing required packages like Java, PostgreSQL, Apache Tomcat, and Apache Ant. Finally, it describes downloading and extracting the Openbravo files and running the setup-properties-linux.bin script.

Uploaded by

Robert Nsimbi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Openbravo Custom Installation script OS Supported Susie Enterprise, Centos 5 Script Version 2010/june/os and Env installation 1.

Date

22/june/ 2010

Operating System Installation Step Susie Enterprise Centos Requirements Hardware: Min 2GB RAM, 80 GB Harddisk, 100/1000 Network Card, DVD ROM, Software req Susie Enterprise ver 11.x upwards Centos 5.1 upwards Partitions / minimum 15 GB /opt minimum 40 GB /usr Minimum 10 GB /home minimum 10 /swap - - 4GB ( twice RAM) Package Selection Servers Print server Print server Desktop Gnome Desktop Gnome Desktop Xwindows server Xwindows server BASE Exclude Java Exclude Java Include gcc Include Gcc (c compiler) Networking Assign FQDN ( Server name) Assign FQDN ( Server name) IP Address, Subnetmask, DNS, IP Address, Subnetmask, DNS, Gateway Gateway Security Disable selinux firewall Disable selinux firewall Set root password Set root password Create openbravo user Create openbravo user Create postgres admin Create postgres admin Configure openbravo permissions Configure openbravo permissions Administration Install & configure Webmin Install & configure Webmin

Openbravo environment installation Step


Database -Postgresql

Susie Enterprise
Must have Susie DVD #yast2 i postgresql postgresql-contrib postgresql-server #/etc/init.d/postgresql start

Centos 5.1
Pre #yum install postgresql postgresql-contrib Download postgresql self extracting bin file Postgresql-8.4.3-1-linux.bin

Java SDK

Modify the /var/lib/pgsql/pg_hba.conf file by adding the following line to the end of the file : host all all xxxx 255.255.255.255 trust Where xxxx is the ip address of the machine Postgres is running on. 1. Create a shortcut: ln -sf /usr/bin/pgsql /usr/bin/postgres When the installer asks for the Postgres binary enter /usr/bin Download JAVA binary file. Jdk-6u18-linux-i586-rpm.bin #mkdir /usr/local/sun-jdk #cd /usr/local/sun-jdk #sh /filepath/jdk-6u18-linux-i586-rpm.bin #export JAVA_HOME=/usr/local/sun-jdk

Install in /opt Run psql U postgres to set password to required if not set at installation

Download java jdk binary file for i586 Jdk-6u20-linux-i586.bin Chmod +x jdk file Sh jdk-6u20-linux-i586.bin Mv jdk-1.6.0_20 /usr/local/sun-jdk Set environment variables #echo export JAVA_HOME=/usr/local/sun-jdk > /etc/profile.d/sun-jdk.sh #echo export PATH=$JAVA_HOME/bin/:$PATH >> /etc/profile.d/sun-jdk.sh Chmod +x /etc/profile.d/sun-jdk.sh

Webserver Apachetomcat

Download apache-tomcat tarball

Download apache-tomcat tarball Apache-tomcat.6.0.26.tar.gz Apache-tomcat-6.0.26.tar.gz #tar zxvf apache-tomcat.6.0.26.tar.gz #cd /usr/local mv apache-tomcat.6.0.26 #tar zxvf /filepath/apache-tomcat/usr/local/tomcat 6.0.26.tar.gz echo export #mv apache-tomcat-6.0.26 tomcat CATALINA_HOME=/usr/local/tom #export cat > /etc/profile.d/tomcat.sh CATALINA_HOME=/usr/local/tom echo export cat CATALINA_BASE=/usr/local/tomc #export at >> /etc/profile.d/tomcat.sh CATALINA_BASE=/usr/local/tom echo export CATALINA_OPTS=cat server Xms256M Xmx1024M #./bin/startup.sh XX:MaxPermSize=512M #cd conf chmod +x /etc/profile.d/tomcat.sh Edit tomcat-users.xml to define chown R openbravo:openbravo users and roles to be used. /usr/local/tomcat download and install script to /etc/init.d/tomcat chmod +x /etc/init.d/tomcat edit CATALINA_HOME/conf/context.x ml comment out

<Watchedresource>WEBINF/web.xml</WatchedResource> configure tomcat user role and name edit CATALINA_BASE/conf/tomcatusers.xml <tomcat-users> <role rolename=manager/> <role rolename=admin/> <user username=admin password=adminpassword roles admin,manager/> Apache Ant #yast2 i ant #export ANT_HOME=/usr/share/ant Download apache ant tarball Apache-ant-1.8.0-bin.tar.gz #tar xvf apache-ant-1.8.0-bin.tar.gz #mv apache-ant-1.8.0/ /usr/local/ant #echo export ANT_HOME=/usr/local/ant > /etc/profile.d/ant.sh #echo export PATH=$ANT_HOME/bin/:$PATH >> /etc/profile.d/ant.sh #echo export ANT_OPTS=Xmx1024M XX:MaxPermSize=256M >> /etc/profile.d/ant.sh #chmod +x /etc/profile.d/ant.sh # cd /home/openbravo Vi .bashrc and add Umask 002 Save #gpasswd a openbravo tomcat #gpasswd a tomcat openbravo openbravo Download OB tarball OpenbravoERP-2.50MP18.tar.bz2 #cd /opt #tar xvf /filepath/OpenbravoERP2.50MP18.tar.bz2 #mv OpenbravoERP-2.50MP18 openbravo #cd openbravo

Permission s

#ant setup make file setup-properties-linux.bin excutable if it is not already excutable. #./setup-properties-linux.bin

You might also like