OpenbravoPOS Installation/it
Languages: |
English | Deutsch | Euskara | Français | Italiano | 日本語 | Русский | zh cn | Translate this article... |
Contents |
Installazione Software
Installare Java
Openbravo POS è una applicazione sviluppata in Java e per eseguirla avremo bisogno di Sun Java Runtime Environment 1.5 o superiore.
Java su Windows
Fai il Download e lanciare l'eseguibile Java from Sun's website
Java su Ubuntu
Assicurarsi di avere il multiverse repository attivato e scrivere sul terminale :
sudo apt-get install sun-java6-jre sun-java6-fonts
Download e scompattare Openbravo POS
Download l'ultima versione dal sito il binary package di Openbravo POS da Sourceforge, estrarre tutti i files in una cartella vuota.
Esecuzione!
La prima volta che Openbravo POS viene eseguito e non c'è un database associato, mostra un avviso che è stato trovato un database vuoto. Cliccando su OK, Openbravo POS crea in automatico la struttura del database necessaria pe r l'esecuzione.
Su Windows
Eseguire il file start.bat con un doppio click o da linea di comando. Si puàò anche creare una shortcut al file e metterla nella posizione desiderata : desktop, launch bar...
Su Linux
Eseguire start.sh.
In linux prima bisogna aggiungere i permessi di esecuzione ai files start.sh e configure.sh , per fare questo eseguire i comandi :
chmod +x start.sh chmod +x configure.sh
Su MacOSX
Aprire l'Apple Terminal (si trova in: /Applications/Utilities) e con la linea di comando alla locatione the start.sh file is located. Then type:
sh start.sh
Configurazione Database
Una volta installato Openbravo POS bisogna scegliere se esegurire Openbravo POS su un dbms pre-configurato o su uno fra quelli disponibili . Openbravo POS supporta 4 database engines: HSQLDB, MySQL, PostgreSQL e Oracle
Openbravo POS usa HSQLDB di default per memorizzare i dati . HSQLDB is impacchettato con il package di Openbravo POS e offre un vantaggio nel fatto che non deve essere configurato. Tuttavia , molti utenti scelgono altri db relazionali per le performance.
Per configurare il database andare sul pannello di configurazione o eseguire il file configuration.bat in windows o configuration.sh in linux. Quando viene riavviato Openbravo POS, parte un avviso che dice che il database è vuoto e si offrirà di creare tabelle per il tuo nuovo database. Cliccare yes per permettere a Openbravo POS di creare le tabelle (In Openbravo POS versione 0.0.24 ci dovrebbero essere 26 tabelle).
Le proprietà collegate alla configurazione del database sono :
- Driver library
- Is the file provided by the database engine vendor that contains the JDBC driver that allows Java programs to communicate with the database. It is usually a file with extension .jar.
- Driver class
- Is the java class name that implements the JDBC driver. This name is also defined by the database engine vendor.
- URL
- Is the connection string that uses JDBC to localize the JDBC the driver and the database.
- User
- The name of the authorized database user.
- Password
- The password of the database user.
MySQL
On Windows
Download MySQL server (essentials package recomended) and install it.
Download MySQL Connector/J, unzip the contents and place it in the same folder where Openbravo POS resides.
Alternatively you can install MySQL Administrator and MySQL Query Browser MySQL GUI Tools Downloads.
On Ubuntu
Activate the universe repository and do
sudo apt-get install mysql-server libmysql-java
You can also install MySQL Administrator and MySQL Query Browser
sudo apt-get install mysql-admin mysql-query-browser
Connector/J is on /usr/share/java/mysql.jar. You can copy or link it to Openbravo POS' folder
Usage
Create an user and a database. You can check MySQL documentation An example of a database configuration using MySQL as database engine is:
Driver library: mysql-connector-java-3.1.6-bin.jar Driver class: com.mysql.jdbc.Driver URL: jdbc:mysql://localhost:3306/openbravopos User: yourname Password: yourpass
PostgreSQL
Per usare Openbravo POS con PostgreSQL bisogna avere un server PostgreSQL in esecuzione e il driver JDBC per PostgreSQL.
On Windows
Download il server PostgreSQL download e installarlo.
Download il driver JDBC PostgreSQL JDBC Driver in accordo alla tua versione e installarlo.
Come tool di amministrazione si può installare pgAdmin3 pgAdminIII.
On Ubuntu
Assicurarsi di avere il repository universale attivato e eseguire
sudo apt-get install postgresql-8.2 libpg-java
Come tool di amministrazione si può installare pgAdmin3.
sudo apt-get install pgadmin3
La libreria JDBC è in /usr/share/java/postgresql.jar. Si può copiare o linkarla alla cartella Openbravo POS
Uso
Dopo che il server database è stato installato e eseguito bisogna creare un database vuoto per Openbravo POS e un utente di database con privilegi per connettersi a questo database. Controllare PostgreSQL documentation
Un esempio di configurazione database usando PostgreSQL come database engine è :
Driver library: postgresql-8.0.309.jdbc3.jar Driver class: org.postgresql.Driver URL: jdbc:postgresql://localhost:5432/openbravopos User youruser Password: youpass
Oracle
Per usare Openbravo POS con Oracle bisogna installare un server Oracle e il driver JDBC per Oracle.
On Windows
Download e installa Oracle XE e JDBC Driver
Si può anche installare , per amministrare e fare le query sul database, Oracle JDeveloper.
On Ubuntu
Download e installa Oracle XE e JDBC Driver
Si può anche installare , per amministrare e fare le query sul database, Oracle JDeveloper.
Uso
Dopo aver installato e eseguito il server di database , bisogna creare un database vuoto per Openbravo POS e un utente database con i privilegi per connettere a questo database.
Un esempio di configurazione database è
Driver library: ojdbc14.jar Driver class: oracle.jdbc.driver.OracleDriver URL: jdbc:oracle:thin:@localhost:1521:xe User youruser Password: youpass
Additional help
If you need additional help during installation please use the Openbravo POS community support forums.