eEcho blog

is een halte van de gedachte

Openbravo environment installation Ubuntu Kubuntu Linux Mint

Hier kunt u uitgebreide tut vinden met Oracle, en andere platformen.
http://wiki.openbravo.com/wiki/index.php/Openbravo_Command_Line_Installation
Install en run.
http://wiki.openbravo.com/wiki/Openbravo_ERP_installation

To install Database postgresql package:

sudo apt-get install postgresql-8.2

To set the postgres password:

sudo sed -i ’s/ident sameuser$/trust/’ /etc/postgresql/8.2/main/pg_hba.conf
sudo /etc/init.d/postgresql-8.2 restart
psql -U postgres
alter role postgres with password ‘new_password’;
\q
sudo sed -i ’s/trust$/md5/’ /etc/postgresql/8.2/main/pg_hba.conf
sudo /etc/init.d/postgresql-8.2 reload

Debian (Ubuntu/Kubuntu/Linux Mint)

* Debian users: You will need to add unstable/non-free apt repositories to install sun-java-jdk5.
* Ubuntu/Kubuntu users: You may need to add the Multiverse repository to install sun-java-jdk5. Version 7.10 onwards it is enabled by default. Please refer to: https://help.ubuntu.com/ubuntu/desktopguide/C/programming.html
* Linux Mint users: The Multiverse repository should have already been added by default. No need to add this repository.

To install SUN java JDK package:

sudo apt-get install sun-java5-jdk

And to set it as the default JDK:

sudo update-java-alternatives -s java-1.5.0-sun

And we need to create the JAVA_HOME variable:

echo ‘JAVA_HOME=”/usr/lib/jvm/java-1.5.0-sun”‘ | sudo tee -a /etc/environment

and change

# vim ~/.bashrc

export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun

To install tomcat5.5 package:

sudo apt-get install tomcat5.5 tomcat5.5-admin tomcat5.5-webapps
sudo rm /var/log/tomcat5.5/catalina.out
sudo /etc/init.d/tomcat5.5 start

Note: On Ubuntu the ’sudo rm /var/log/tomcat5.5/catalina.out’ command may not find the file and give an error message,
but this is nothing to worry about.

Check it’s up and running by either opening http://localhost:8180 in a web browser or with nmap:

nmap localhost -p 8180

The port should be opened. To set the CATALINA_HOME, CATALINA_BASE and CATALINA_OPTS variables:

echo ‘CATALINA_HOME=”/usr/share/tomcat5.5″‘ | sudo tee -a /etc/environment
echo ‘CATALINA_BASE=”/var/lib/tomcat5.5″‘ | sudo tee -a /etc/environment
echo ‘CATALINA_OPTS=”-server -Xms384M -Xmx512M -XX:MaxPermSize=256M”‘ | sudo tee -a /etc/environment

Important notes:

* There is a problem with JDK 1.5.0_13 and the jsvc binary used in the Apache Tomcat daemon script. Modify it [/etc/init.d/tomcat5.5], by setting the LD_LIBRARY_PATH variable pointing to the path where the libawt.so shared library is located.
* Next, due to the security policies of debian’s tomcat package, it is necessary to either create a rule or disable it. Otherwise it will refuse to load the openbravo context. To create a rule for Openbravo, create a file /etc/tomcat5.5/policy.d/20openbravo.policy with the following contents:

// permissions for Openbravo ERP
grant codeBase “file:${catalina.home}/webapps/openbravo/-” {
permission java.security.AllPermission;
};

* Remember you need to be privileged to create this file so use a command like:

sudo vim /etc/tomcat5.5/policy.d/20openbravo.policy

* Restart tomcat to make the changes effective.

sudo /etc/init.d/tomcat5.5 restart

To install apache ANT package:

sudo apt-get install ant

To set the ANT_HOME variable:

echo ‘ANT_HOME=”/usr/share/ant”‘ | sudo tee -a /etc/environment

Logout and login again to make this variable system-wide.

Nu mag openbravo geinstaleerd worden

http://wiki.openbravo.com/wiki/Openbravo_ERP_installation

Bitrock installer

Download the latest Openbravo ERP Installer.

http://sourceforge.net/project/showfiles.php?group_id=162271&package_id=183066

sudo chmod -R 777 /var/lib/tomcat5.5
chmod +x OpenbravoERP_2.35MP5-linux-installer.bin
./OpenbravoERP_2.35MP5-linux-installer.bin

Comments are closed.

Home | info@eecho.info | Voorwaarden | Blog