View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

Installation/Ubuntu


Bulbgraph.png   Installation from Ubuntu ppa is NOT recommended.
  • Use always the appliance.
  • Note that the appliance is based in a standard Ubuntu with only the needed modifications for Openbravo.




Ubuntu



Contents

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

Software

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

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:openbravo-isv/ppa
$ sudo apt-get update
$ sudo apt-get install openbravo-3

Note: sudo command will ask for the user password.

Accessing Openbravo

  1. Type http://localhost/openbravo in your web browser's address bar to log in into Openbravo.
  2. Use the following credentials to access the application:

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

sudo /etc/init.d/openbravo-tomcat stop

Update of Ubuntu

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.

sudo add-apt-repository ppa:openbravo-isv/ppa
sudo apt-get update
sudo apt-get install openbravo-3

Post-steps

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:

sudo cp /etc/fstab /etc/fstab.backup
sudo nano /etc/fstab
/dev/sda2	/mnt	auto	defaults,nobootwait,comment=cloudconfig	0	0
/dev/sda3	none	swap	sw,comment=cloudconfig	0	0

Should be changed to:

/dev/xvda2	/mnt	auto	defaults,nobootwait,comment=cloudconfig	0	0
/dev/xvda3	none	swap	sw,comment=cloudconfig	0	0
sudo reboot

Option 2: EC2 /dev/xvd script to fix

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
sudo reboot

Advanced topics

Navigate to the advanced topics guide to discover more details.

Retrieved from "http://wiki.openbravo.com/wiki/Installation/Ubuntu"

This page has been accessed 156,100 times. This page was last modified on 21 April 2015, at 09:02. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.