In the name of Allah.
Prise be Allah.
First, please forgive my bad english.
Openbravo is err… OK, just click the link.
. I’m using Kubuntu Gutsy Gibbon, Acer 3628 (1 GB DDR2, free harddisk space about 1 GB, and processor Intel Pent-M 1.7GHz).
To install list :
0. tomcat5.5
1. ant
2. postgresql-8.2
3. java
4. Openbravo (of course
)
$ sudo apt-get install tomcat5.5 sun-java6-jdk sun-java6-plugin tomcat5.5-admin ant postgresql-8.2
Make sure your Java(tm) works by
$ java -version
java version “1.6.0_03″
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing)
If not, try this..
$ sudo update-java-alternatives -s java-6-sun
Go to your /home/yourname/
$ cd
$ vim .bashrc
And add these lines
export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.03
## for openbravo
CATALINA_HOME=/usr/share/tomcat5.5
CATALINA_BASE=/var/lib/tomcat5.5
CATALINA_OPTS=”-server -Xms384M -Xmx512M”
export CATALINA_HOME CATALINA_OPTS CATALINA_BASE#ANT
ANT_HOME=”/usr/share/ant”
export ANT_HOME
Now, go to postgres’ user for executing some commands… (somebody please help me to simplify these…
)
sangprabo@cruelworld:/usr/lib/postgresql/8.2/bin$ sudo su
root@cruelworld:/usr/lib/postgresql/8.2/bin# su postgres
postgres@cruelworld:/usr/lib/postgresql/8.2/bin$
Run psql… ( note that you are in /usr/lib/postgresql/8.2/bin/ )
$ psql postgres
Next…
Change postgres’ password…
postgres=# ALTER USER postgres PASSWORD ‘postgres’;
ALTER ROLE
Almost done.. Now, we are going to install Openbravo. After you download it, just change the permission, and run it. (note that you are in the installer’s directory)
$ sudo chmod ugo+x OpenbravoERP-2.33-linux-installer.bin
$ sudo ./OpenbravoERP-2.33-linux-installer.bin
Hm.. Just say bismillah, it spends about 3 seconds..
0. Installation Directory
I used /opt/OpenbravoERP
1. Attachments Directory
I’m using /opt/OpenbravoERP/AppsOpenbravo/attach
2. Openbravo Installation
a. Full Standard
b. Full
3. Database to use
PostgreSQL for sure..
4. Java Home Directory
/usr/lib/jvm/java-6-sun-1.6.0.03
5. Ant home directory
/usr/share/ant
6. Tomcat directory
/var/lib/tomcat5.5
(You would see a kind of message, tell you that Openbravo couldn’t check the Tomcat’s version, but it’s OK)
7. Tomcat parameters
Web server domain : your IP Address. I was using 192.168.2.7
HTTP Port : 8180
Context name : openbravo
8. Installation Directory (for PostgreSQL)
/usr/bin
9. Database Server Parameters
Database host : localhost
Database port : 5432 (default)
Database name : openbravo
10. Database password
Password : postgres
11. Openbravo Database Parameters
Username : openbravo
password : openbravo
12. Time to wait..
The installation process takes more than an hour. But, ehm ehm, may be because of my nice charm wonderful machine it takes less than 40 minutes.
13. Testing….
Point your browser to http://localhost:8180/openbravo/
Fill the
Username : Openbravo
Password : openbravo
Enjoy!
Some references… (Thanks all!! Hontou ni doumou arigatou gozaimasu… OTL)
http://ubuntuforums.org/archive/index.php/t-272058.html
http://www.moixo.com/es/instalacion-openbravo-ubuntu-feisty-fawn
http://www.gentoo-wiki.com/HOWTO_Install_Openbravo_ERP
Any correction for typos, grammar error, problems, etc, would be appreciated. Wallahu’alam bisshowab.
Wassalaam
__bowo;
I’ve installed openbravo on my laptop with 256MB of RAM and Ubuntu Feisty on it. But it’s running so slow.
What about Opentaps, have You ever try this one. I’m still downloading it but it’s not finished yet.
Wassalam
Fuad Muftie
http://fuadmuftie.wordpress.com/
Opentaps: yet another ERP CRM ? ‘ve never tried it.
Btw, I have read your blog. Nice articles and thoughts. Get to be an entrepreneur or die trying…
Wassalaam
__bowo;
thanks for the install installing tips.
worked all fine until I wanted to start Openbravo.
the folder could not be found (localhost:8180/openbravo)
When I checked Tomcat Manager it would show that openbravo was not “started” yet. when I tried to start it, it would come up with this message:
Message:
FAIL – Application at context path /openbravo could not be started
any ideas?
thanks
Dear Pvm,
Have you tried to reinstall it? Because earlier, I’ve had the same problem with yours. Just look for the “uninstall_all” file, in OpenbravoERP’s directory (depends on yours, mine takes place at /opt/OpenbravoERP/). IMO, the problem came from the installation progress, when you insert the context name.
Correct me if I’m wrong and forgive my not-so-well English.
Regards,
__bowo;
[...] Murti has a great article on installing OpenBravo on Ubuntu. I myself got stuck on the “FAIL – Application at context path /openbravo could not be [...]
Met kenal /me jeje…saat jalankan OPENBRAVO kok error seperti di bawah ini :
HTTP Status 404 – /openbravo/
type Status report
message /openbravo/
description The requested resource (/openbravo/) is not available.
I have been trying to install open bravo… i have been receiving this error though “The directory
/var/lib/tomcat5.5
is not writable by the current user” what could i be doing wrong? thank you.Thanks for the great tutorial…
I think the instructions here: http://www.bitboysblog.com/ might be a little easier for the newbs.
@ jeje
Maaf, saya tidak tau pasti penyebabnya. Tomcat udah nyala? Kalo localhost:8080 aja hasilnya gimana? Mungkin bisa sedikit lebih detail?
@ ernesto
I don’t know what exactly your problem is. But, I think they’re all about user privilege. Have you tried it with “sudo” or alike?
@ christian
WTF.. Copyrighted your article?? LOL
Btw, I got nothing from your about page, except personal vanity. :p http://www.problogger.net/archives/2006/11/24/how-to-write-your-about-me-page/