Difference between revisions of "Install Prerequisites"

From iDempiere en
(Created page with "<!-- breadcrumb --> <font size=-2> ⇐ Table of Contents | Install Prerequisites | Downloading Installers ⇒ </font> In order to run iDemp...")
 
(troubleshooting)
Line 10: Line 10:
 
In order to run iDempiere you need to have a JDK (not JRE) version of java, and a proper database (PostgreSQL and Oracle are supported).
 
In order to run iDempiere you need to have a JDK (not JRE) version of java, and a proper database (PostgreSQL and Oracle are supported).
  
For reference this tutorial cover using the following versions:
+
The examples on this guide are using the following versions:
 
 
 
* Ubuntu 14.04.2 64 bits
 
* Ubuntu 14.04.2 64 bits
 
* PostgreSQL 9.4.1  (it's also tested and working with version 8.4.22)
 
* PostgreSQL 9.4.1  (it's also tested and working with version 8.4.22)
 
* PostgreSQL contrib (for UUID support)
 
* PostgreSQL contrib (for UUID support)
 
* OpenJDK 1.7.0_75 (for version 2.1 it requires it works with 1.6.0_34)
 
* OpenJDK 1.7.0_75 (for version 2.1 it requires it works with 1.6.0_34)
 +
 +
But this guide can be used in other systems (even Windows) taking care of installing the corresponding packages and using corresponding commands.
  
 
== Install Ubuntu ==
 
== Install Ubuntu ==
Line 39: Line 40:
  
 
Now you have your prerequisites ready to receive the iDempiere installer
 
Now you have your prerequisites ready to receive the iDempiere installer
 +
 +
== Troubleshooting ==
 +
 +
=== Linux  ===
 +
 +
After installing postgres you must check the correct configuration of pg_hba.conf.
 +
These two entries must be configured to use password (md5):
 +
local  all        all                              md5
 +
host    all        all        127.0.0.1/32          md5
 +
NOTE that some guides suggest configuring trust - but that creates a security issue on your postgres server.
 +
 +
=== Windows ===
 +
 +
Most installation problems in Windows are caused by not configured environment variables:
 +
* PATH must be configured to make the commands psql and jar accessible
 +
* JAVA_HOME environment variable must be configured
  
  

Revision as of 23:40, 7 June 2015

Table of Contents | Install Prerequisites | Downloading Installers

In order to run iDempiere you need to have a JDK (not JRE) version of java, and a proper database (PostgreSQL and Oracle are supported).

The examples on this guide are using the following versions:

  • Ubuntu 14.04.2 64 bits
  • PostgreSQL 9.4.1 (it's also tested and working with version 8.4.22)
  • PostgreSQL contrib (for UUID support)
  • OpenJDK 1.7.0_75 (for version 2.1 it requires it works with 1.6.0_34)

But this guide can be used in other systems (even Windows) taking care of installing the corresponding packages and using corresponding commands.

Install Ubuntu

Please refer to http://www.ubuntu.com/download

Install PostgreSQL 9.4.1

iDempiere can also run with Oracle 10G or 11G, and also with PostgreSQL 8.4 to 9.3, but for this tutorial we use postgresql 9.4.1 - see http://www.postgresql.org/download/linux/ubuntu/ for details

echo "deb http://apt.postgresql.org/pub/repos/apt/ trusty-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql-9.4
sudo apt-get install postgresql-contrib

Install OpenJDK 1.7.0_75

sudo apt-get install openjdk-7-jdk
# Note - to work with iDempiere version 2.1 please install openjdk-6-jdk
# Note - to work with iDempiere version 3.0 you can also use oracle java 8


Now you have your prerequisites ready to receive the iDempiere installer

Troubleshooting

Linux

After installing postgres you must check the correct configuration of pg_hba.conf. These two entries must be configured to use password (md5):

local   all         all                               md5
host    all         all         127.0.0.1/32          md5

NOTE that some guides suggest configuring trust - but that creates a security issue on your postgres server.

Windows

Most installation problems in Windows are caused by not configured environment variables:

  • PATH must be configured to make the commands psql and jar accessible
  • JAVA_HOME environment variable must be configured


This tutorial is brought to you by Carlos Ruiz from GlobalQSS. Feel free to improve directly or suggest using the Discussion tab.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.