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

PDF Books
Show collection (0 pages)
Collections help

Search

ERP 2.50:Virtual appliances/it

Contents

Introduzione

Una virtual appliance è un'application minima preinstallata e preconfigurata e un sistema operativo, progettato per essere eseguito sotto VMware, Xen o ogni altra tecnologia di virtualizazione . Il progetto Openbravo ERP fornisce apparati virtuali per semplificare il processo di valutazione . Per facilitare questo processo, questi apparati includono un semplice database chiamato BigBazaar.

L'immagine dell'apparato è in SourceForge download area.

Informazione Generale

Software Incluso

L'apparato include il seguente software :

Requisiti Minimi

VMware

Xen

QEMU

Parallels

VirtualBox

Informazione login di Openbravo ERP

Inserire l'indirizzo IP indicato alla fine del processo di boot. Per loggarsi in Openbravo ERP:

utente: Openbravo

password: openbravo

Notare che entrambe sono case sensitive.

Passwords Linux

Notare che queste passwords non sono usate per fare il login in Openbravo ERP, ma in Linux.

Accesso Diretto al database

For security reasons the appliance runs a firewall (iptables) that blocks every external access except to the HTTP (80) and HTTPS (443) ports. So in order to connect to the database using an external tool, such as PgAdmin3, it is necessary to establish a SSH tunnel, described as follows.

Linux, MAC e *BSD

  1. Open a command-line terminal and type the following command, replacing ip_address with the correct IP address.:
ssh -N -L 5453:localhost:5432 openbravo@ip_address
  1. This forwards the appliance's PostgreSQL port into the 5433 port of the user's local client machine, tunneled over a SSH connection.
  2. Type the openbravo user's password and leave this terminal opened.
  3. Open the PostgreSQL client (e.g. PgAdmin3), specify the following connection settings and click OK:
    • Name: OpenbravoERP
    • Host: localhost
    • Port: 5433
    • Username: tad
    • Password: tad

The connection will be available as long as the previous SSH connection is opened.

Windows

Use PuTTY to connect to PostgreSQL in Windows. PuTTY is an open source and free SSH client:

  1. Select Session'
  2. In the Host Name' box, enter IP Address of the Openbravo Network machine.
  3. Select Connection -> SSH -> Tunnels.
  4. In the Source port field, enter 5433.
  5. In the Destination field, enter localhost:5432.
  6. Click Add.
  7. Click Open to open the ssh connection.
  8. Type the openbravo user name and its password and leave this terminal opened.

Misc

Installazione e utilizzo

Passi Comuni

  1. Download a virtualization program. See below for specific instructions on VMware, Xen, QEMU, Parallels and VirtualBox.
  2. Download the virtual appliance and open it with the virtualization program.
  3. The following message is shown at the end of the boot process, indicating the URL to access Openbravo ERP with your web browser:
Welcome to Openbravo ERP Community

To login to Openbravo ERP use your web browser to go to http://<IP_ADDRESS>

VMware

Use VMware Player (freeware) to run pre-built virtual machines on your desktop. To get the Openbravo appliance running, follow these steps:

If there is no DHCP you have two options:

  1. Change the networking option within the VMware player to NAT and restart the virtual machine. This will create an internal subnet within your computer through which you will be able to access the virtual machine. Note that this way, Openbravo will not have access to the internet.
  2. Or login as root (passwordless) and type the following commands to set a specific ip IP_ADDRESS and a gateway IP_GATEWAY:
$ /sbin/ifconfig eth0 IP_ADDRESS netmask 255.255.255.0 up
$ /sbin/route add default gw IP_GATEWAY

Finally to make it available to the internet, assign some DNS servers to it:

$ echo "nameserver IP_DNS1" >> /etc/resolv.conf
$ echo "nameserver IP_DNS2" >> /etc/resolv.conf

Once the IP address is set, open http://<IP_ADDRESS> to access Openbravo ERP in a web browser (see above).

Xen

Xen is an open source and free virtualization software. To get the Openbravo appliance running, follow these steps.

Esecuzione su Amazon EC2

Follow these steps to deploy the Xen appliance into Amazon EC2. Make sure all the used environment variables are correctly configured:

$ ec2-bundle-image -i OpenbravoERP-2.40-x86.fs -k $EC2_PRIVATE_KEY -c $EC2_CERT -u $EC2_USER_ID
$ ec2-upload-bundle -b OpenbravoERP -m /tmp/OpenbravoERP-2.40-x86.fs.manifest.xml -a $EC2_ACCESS_KEY -s $EC2_SECRET_KEY
$ ec2-register OpenbravoERP/OpenbravoERP-2.40-x86.fs.manifest.xml
ami-xxxxxx
$ ec2-run-instances ami-xxxxxx

QEMU

The installation and its networking configuration are out of the scope of this document. Assuming it is ready, run the following command:

$ qemu -hda OpenbravoERP-2.40-x86.qemu-parallels -m 512 -net tap -net nic

Parallels

Decompress OpenbravoERP-2.40-x86.qemu-parallels.gz and open the OpenbravoERP-2.40-x86.qemu-parallels file with Parallels.

VirtualBox

In order to use Openbravo ERP it is necessary to access the virtual appliance through the network. Follow the official user manual to configure this network, specially the Introduction to Host Interface Networking (HIF) section. There are specific instructions for Linux (Debian/Ubuntu), Mac OSX and Windows.

Changelog

Version 2.35 MP5

Version 2.35 MP4

Version 2.35 MP1

Version 2.35

Initial VMware and Xen virtual images:

Support

For any questions or doubts about the virtual appliances, post your questions in the Help forum. Or join the #openbravo IRC channel in freenode.

If you think you've found a bug, report it through issues.openbravo.com.

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Virtual_appliances/it"

This page has been accessed 12,461 times. This page was last modified on 3 April 2012, at 11:01. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.