IDempiere/Install Prerequisites on Ubuntu
⇐ 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)
Contents
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
- MercurialEclipse
- Complete the installation pushing Next .... accepting the license and then Finish
Install Buckminster 4.4
Following instructions from project: http://www.eclipse.org/buckminster/
- Open the eclipse just installed
- Navigate to Help > Install New Software
- Push the "Add" button
- Fill Name: Buckminster
- 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
- When the list of packages appears select
- Buckminster - Core
- Buckminster - Maven support
- Buckminster - PDE support
- The rest are not required
- Complete the installation pushing Next .... accepting the license and then Finish
Now you have your prerequisites ready to receive the iDempiere sources