Difference between revisions of "IDempiere/Install Prerequisites on Ubuntu"

From WikiQSS
(Install Eclipse Indigo 3.7.2)
(update versions)
Line 10: Line 10:
 
For reference this tutorial is done using the following versions:
 
For reference this tutorial is done using the following versions:
  
* Ubuntu 11.04 64 bits
+
* Ubuntu 14.04.2 64 bits
* PostgreSQL 8.4.11
+
* PostgreSQL 9.4.1  (it's also tested and working with version 8.4.22)
* Mercurial Client 1.7.5
+
* PostgreSQL contrib (for UUID support)
* OpenJDK 1.6.0.22
+
* Mercurial Client 2.8.2
* Eclipse IDE for Java EE Developers 3.7.2 Indigo
+
* OpenJDK 1.7.0_75 (for version 2.1 it requires it works with 1.6.0_34)
* Mercurial Eclipse Plugin 1.9.1
+
* Eclipse IDE for Java EE Developers 4.4.1 Luna (for version 2.1 it requires 3.7.2 Indigo)
* Buckminster 3.7
+
* Mercurial Eclipse Plugin 2.0.0  (for Indigo it's tested with 1.9.1)
 
+
* Buckminster 4.4 (for Indigo it's tested with 3.7)
But it must work with other versions as well.
 
 
 
  
 
== Install Ubuntu ==
 
== Install Ubuntu ==
Line 25: Line 23:
 
Please refer to http://www.ubuntu.com/download
 
Please refer to http://www.ubuntu.com/download
  
== Install PostgreSQL 8.4.11 ==
+
== Install PostgreSQL 9.4.1 ==
  
iDempiere can also run with Oracle 10G or 11G, and also with PostgreSQL 9.1, but for this tutorial we use postgresql 8.4.11
+
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
  
  sudo apt-get install postgresql-8.4
+
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 Mercurial Client 1.7.5 ==
+
== Install Mercurial Client 2.8.2 ==
  
 
  sudo apt-get install mercurial
 
  sudo apt-get install mercurial
  
== Install OpenJDK 1.6.0.22 ==
+
== Install OpenJDK 1.7.0_75 ==
  
  sudo apt-get install openjdk-6-jdk
+
  sudo apt-get install openjdk-7-jdk
 +
# Note - for version 2.1 please install openjdk-6-jdk
  
== Install Eclipse Indigo 3.7.2 ==
+
== Install Eclipse Indigo 4.4.1 ==
  
 
Download the corresponding version for your operating system from "Eclipse IDE for Java EE Developers"
 
Download the corresponding version for your operating system from "Eclipse IDE for Java EE Developers"
  
For Ubuntu 11.04 64 bits I downloaded from [http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-linux-gtk-x86_64.tar.gz here]
+
For Ubuntu 14.04.2 64 bits I downloaded [http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/SR2/eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz Luna here]
 +
 
 +
NOTE: To work with iDempiere version 2.1 you must instead download [http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR2/eclipse-jee-indigo-SR2-linux-gtk-x86_64.tar.gz Indigo here]
  
 
On ubuntu the installation of eclipse is just uncompress it and is ready for usage, for the rest of the session let's suppose we uncompressed eclipse on a folder called $ECLIPSE_HOME
 
On ubuntu the installation of eclipse is just uncompress it and is ready for usage, for the rest of the session let's suppose we uncompressed eclipse on a folder called $ECLIPSE_HOME
Line 49: Line 54:
 
The first time you run Eclipse it asks for the workspace folder, at this stage you can use the default workspace - it will be changed later.
 
The first time you run Eclipse it asks for the workspace folder, at this stage you can use the default workspace - it will be changed later.
  
== Install Mercurial Eclipse Plugin 1.9.1 ==
+
== Install Mercurial Eclipse Plugin 2.0.0 ==
  
 
Following instructions from project: http://www.javaforge.com/project/HGE
 
Following instructions from project: http://www.javaforge.com/project/HGE
Line 64: Line 69:
 
* Complete the installation pushing Next .... accepting the license and then Finish
 
* Complete the installation pushing Next .... accepting the license and then Finish
  
== Install Buckminster 3.7 ==
+
== Install Buckminster 4.4 ==
  
 
Following instructions from project: http://www.eclipse.org/buckminster/
 
Following instructions from project: http://www.eclipse.org/buckminster/
Line 72: Line 77:
 
* Push the "Add" button
 
* Push the "Add" button
 
* Fill Name: Buckminster
 
* Fill Name: Buckminster
* Fill Location: http://download.eclipse.org/tools/buckminster/updates-3.7
+
* Fill Location: http://download.eclipse.org/tools/buckminster/updates-4.4
 +
** NOTE: To work with iDempiere 2.1 you must use http://download.eclipse.org/tools/buckminster/updates-3.7
 
* OK
 
* OK
 
* When the list of packages appears select
 
* When the list of packages appears select

Revision as of 20:23, 6 April 2015

Table of Contents | Install Prerequisites on Ubuntu | Download the Code

For reference this tutorial is done 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)
  • Mercurial Client 2.8.2
  • OpenJDK 1.7.0_75 (for version 2.1 it requires it works with 1.6.0_34)
  • Eclipse IDE for Java EE Developers 4.4.1 Luna (for version 2.1 it requires 3.7.2 Indigo)
  • Mercurial Eclipse Plugin 2.0.0 (for Indigo it's tested with 1.9.1)
  • Buckminster 4.4 (for Indigo it's tested with 3.7)

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 Mercurial Client 2.8.2

sudo apt-get install mercurial

Install OpenJDK 1.7.0_75

sudo apt-get install openjdk-7-jdk
# Note - for version 2.1 please install openjdk-6-jdk

Install Eclipse Indigo 4.4.1

Download the corresponding version for your operating system from "Eclipse IDE for Java EE Developers"

For Ubuntu 14.04.2 64 bits I downloaded Luna here

NOTE: To work with iDempiere version 2.1 you must instead download Indigo here

On ubuntu the installation of eclipse is just uncompress it and is ready for usage, for the rest of the session let's suppose we uncompressed eclipse on a folder called $ECLIPSE_HOME

The first time you run Eclipse it asks for the workspace folder, at this stage you can use the default workspace - it will be changed later.

Install Mercurial Eclipse Plugin 2.0.0

Following instructions from project: http://www.javaforge.com/project/HGE

  • Open the eclipse just installed
  • Navigate to Help > Install New Software
  • Push the "Add" button
  • Fill Name: Mercurial Eclipse
  • Fill Location: http://cbes.javaforge.com/update
  • OK
  • When the list of packages appears select
    • MercurialEclipse
      • The rest are not required
  • Complete the installation pushing Next .... accepting the license and then Finish

Install Buckminster 4.4

Following instructions from project: http://www.eclipse.org/buckminster/

Now you have your prerequisites ready to receive the iDempiere sources