Posted: Thu Sep 20, 2007 11:30 pm Post subject: OpenBravo ERP on SMS
Updated August 2009 Openbravo ERP is included in SMS.Native.CD-Extra.iso
What is OpenBravo?
You can use the script to install opebravo on Slackware too.
Here is the script sms.openbravo.sh
Place it on a clean folder and run it.
It will download and install all the required packages and will set permissions, start services and will ask you to choose the password for postgres user.
After the script end you only need to logout and login and start tomcat with the command
/etc/rc.d/rc.tomcat start
Afterwards start the OpenBravo Installer.
./OpenbravoERP-2.35-linux-installer.bin
Theoretically the installer should find the default dirs if you logout, but here are the prefixs to be sure.
#!/bin/bash
#This Script will download required packages for Openbravo
#If you have download the files just comment '#' or remove the 'wget' lines
SITE=http://sms.it-ccs.com/isos/openbravo/
SLACKJDK=http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/extra/jdk-6/
SLACKJRE=http://slackware.cs.utah.edu/pub/slackware/slackware-12.0/patches/packages/
OPENBRAVO=http://heanet.dl.sourceforge.net/sourceforge/openbravo/
if [ $PSQLPASS="" ]; then
echo "Choose Password for Postgres"
read PSQLPASS
fi
echo "alter role postgres with password '$PSQLPASS';" >db.txt
psql -U postgres < db.txt
rm db.txt
echo "LOGOUT and LOGIN for changes to take effect
start tomcat with the command '/etc/rc.d/rc.tomcat start'
and run openbravo installer.
Prefix dirs are
java = /usr/lib/jdk
ant = /usr/lib/ant
tomcat = /usr/share/tomcat
psql-bin = /usr/bin"
gerasimos_h _________________ Superb! Mini Server Project Manager http://sms.it-ccs.com
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum