Session 1.2 Setup and System Configuration
http://wiki.openbravo.com/wiki/System_Requirements
=============================================
Introduction
Openbravo has a native Ubuntu package available from Openbravo repository, which allows Ubuntu users to easily and quickly add the software to their Ubuntu server.
This part of the document explains the installation of Openbravo ERP in Ubuntu Lucid Lynx 10.04. It applies to a new Openbravo ERP installation only, NOT an upgrade of an existing installation.
Requirements
Hardware
In order to install Openbravo it is necessary to have at least 1.5GB of RAM.
Software
Ubuntu version 10.04 (Lucid Lynx)
Ubuntu version 12.04 (Precise Pangolin)
Bulbgraph.png Using the Ubuntu Precise Pangolin 12.04 package is recommended for production systems, it is a Long Term Support (LTS) release
Installation
Command line installation using PPA Repository
Install python-software-properties package
$sudo apt-get install python-software-properties
Enable the openbravo-isv PPA Repository:
$sudo add-apt-repository ppa:openbravo-isv/ppa
Update the package tree and perform the install:
$ sudo apt-get update
Install Openbravo-3
$ sudo apt-get install openbravo-3
Note: sudo command will ask for the user password.
Accessing Openbravo
Type http://localhost/openbravo in your web browser's address bar to log in into Openbravo.
Use the following credentials to access the application:
username: Openbravo
password: openbravo
NOTE: The username is Openbravo, with an uppercase O. The password is openbravo, with a lowercase o. The system is case-sensitive, and you need to type both data elements correctly to access it.
Updating Ubuntu from 10.04 (Lucid) to 12.04 (Precise)
Updating Ubuntu major version will disable third party repositories, this means that Ubuntu will be updated and the third party applications can be broken. So after the update you have to re-enable third party repositories and update this applications.
Bulbgraph.png REMEMBER: Before start, do a BACKUP OR run it in a TESTING INSTANCE before do it in a production instance.
Pre-steps
After the update the tomcat of Openbravo will become unresponsible so it is recomended to stop it before the update:
$sudo /etc/init.d/openbravo-tomcat stop
Update of Ubuntu
Run in a terminal:
$sudo do-release-upgrade
Bulbgraph.png In the step that ask to REBOOT, say that NOT (N + ENTER + x to get to the command line). Don't reboot till you finish the update of Openbravo and the post-steps.
Update of Openbravo
The update of Ubuntu will disable the third party repos, including Openbravo one, now needed to re-enable.
Re-enable openbravo ppa:
$sudo add-apt-repository ppa:openbravo-isv/ppa
Update the package tree and perform the install:
$sudo apt-get update
$sudo apt-get install openbravo-3
Post-steps
After update ubuntu package you can reboot:
$sudo reboot
Bulbgraph.png Next steps only apply to EC2. The update from lucid to precise will update the kernel and the devices names will change from a format /dev/sd to /dev/xvd , the most common side effect of this it is that probably in the next boot you lost the swap and the /mnt.
Option 1: EC2 /dev/xvd manual fix
In order to fix this first check that effectively you have this change:
ls /dev/sd*
ls /dev/xvd*
If you have this change you need to update your fstab file:
First create a backup
sudo cp /etc/fstab /etc/fstab.backup
Edit /etc/fstab and change /dev/sd entries with /dev/xvd . For example: /dev/sda to /dev/xvda.
sudo nano /etc/fstab
For example, these entries:
/dev/sda2/mntautodefaults,nobootwait,comment=cloudconfig00
/dev/sda3noneswapsw,comment=cloudconfig00
Should be changed to:
/dev/xvda2/mntautodefaults,nobootwait,comment=cloudconfig00
/dev/xvda3noneswapsw,comment=cloudconfig00
After this change you need to reboot:
sudo reboot
Option 2: EC2 /dev/xvd script to fix
In a terminal copy and execute these lines
if [ "$(ls /dev/sd*)" == "" ] && [ "$(ls /dev/xvd*)" != "" ] ; then
sudo cp /etc/fstab /etc/fstab.bak
sudo sed -i 's#\(.*\)/dev/sd\(.*\)#\1/dev/xvd\2#' /etc/fstab
fi
Then restart the instance:
sudo reboot
https://sourceforge.net/projects/openbravo/files/?source=navbar
=======================================================
http://wiki.openbravo.com/wiki/Installation/Appliance
=======================================================
http://wiki.openbravo.com/wiki/Installation/Custom
=======================================================
http://landings.openbravo.com/openbravo-cloud
=======================================================