The purpose of this post is to record how to quickly install iDempiere on an AWS Ubuntu server. You do not need to use AWS. Any modern Ubuntu server should do fine.
Update (06/08/2014): The below script works best on ubuntu 12.04. phpPGAdmin does not work on newer ubuntu versions with the below script. As soon as I have the time to resolve the issue, I will update the script accordingly.
Update (07/08/2013): Here is a newer post that makes installation easier and faster. It also helps you better understand how to install iDempiere for better performance and scalability.
The purpose of this post is to remind me of the quickest path to get to iDempiere up and running from scratch. There are much better tutorials if you need more detail and options. Here is an example by Carlos Ruiz, one of the principal iDempiere developers.
Note: there is a shortcut list of commands listed toward to bottom of this post.
- If you need to ‘see’ a desktop, follow these instructions to install a lightweight desktop that you can turn on and off.
- Issue “sudo apt-get update”.
- Install the database using “sudo apt-get install postgresql postgresql-contrib phppgadmin”.
- Note that postgresql-contrib and phppgadmin are optional. The contrib library includes extra tools. Phppgadmin is a web-based db admin tool. Here is a link to a phppgadmin install tutorial.
- Enter the DB command utility using “sudo -u postgres psql”.
- Change the ‘postgres’ password using “\password postgres” Note: enter you postgresql password and write it down. You will need it later.
- Exit the DB utility using “\q” .
- Install Java using “sudo apt-get install openjdk-6-jdk”.
- Go to your home directory using “cd ~”.
- Create a directory for your installer “mkdir installer_20130410”.
- Go to your new directory “cd installer_20130410”.
- Download the iDempiere installer “wget http://jenkins.idempiere.com/job/iDempiereDaily/ws/buckminster.output/org.adempiere.server_1.0.0-eclipse.feature/idempiereServer.gtk.linux.x86_64.zip”.
- Note: the above links to the 64bit Linux installer.
- Note: the above links you to the cutting edge of the code base (the head).
- Note: here is the link to the 32-bit Linux installer.
- Unzip the new file “unzip idempiereServer.gtk.linux.x86_64.zip”.
- Go to the server directory “cd idempiere.gtk.linux.x86_64/idempiere-server/”.
- Run the setup using “sh console-setup.sh”.
- Note: the defaults for most fields are acceptable. The default appears in brackets for each prompt.
- Note: the DB server should be “localhost” if installed locally.
- Note: remember your db admin password from above.
- Note: add some URL for the mail server or you will enter an endless loop.
- Go to the utils directory “cd utils/”.
- Import the seed iDempiere database “sh RUN_ImportIdempiere.sh”.
- Go back a directory “cd ..” .
- Start the server “sh idempiere-server.sh”
- Go to a web browser and enter the url of your server. For example: “http://ec2-54-224-78-219.compute-1.amazonaws.com:8080/webui/”
- Note: iDempiere uses port 8080 by default.
- The Username and passwords are either
- SuperUser / System or
- superuser @ idempiere.com / System Note: the space in the email is intended.
I hope this helps. Here is a video to help you learn how to use the system. It uses ADempiere (iDempiere’s twin); therefore, the navigation will be slightly different. That said, you should be able to pick up the basics quite quickly.
Here is tutorial on how to keep iDempiere running after you disconnect your SSH client (like putty).
To make things even easier, I can prepare you an iDempiere AMI with all the bells and whistles installed. Just contact me with the request.
Here is a short list of commands used above. Posted for future quick reference:
- sudo apt-get –yes update
- sudo apt-get –yes install postgresql postgresql-contrib phppgadmin
- sudo -u postgres psql
- \password postgres
- sudo apt-get –yes install openjdk-6-jdk
- mkdir /home/ubuntu/installer_`date +%Y%m%d`
- wget http://jenkins.idempiere.com/job/iDempiereDaily/ws/buckminster.output/org.adempiere.server_1.0.0-eclipse.feature/idempiereServer.gtk.linux.x86_64.zip -P /home/ubuntu/installer_`date +%Y%m%d`
- sudo apt-get –yes install unzip
- unzip /home/ubuntu/installer_`date +%Y%m%d`/idempiereServer.gtk.linux.x86_64.zip -d /home/ubuntu/installer_`date +%Y%m%d`
- cd /home/ubuntu/installer_`date +%Y%m%d`/idempiere.gtk.linux.x86_64/idempiere-server/
- sh console-setup.sh
- cd utils/
- sh RUN_ImportIdempiere.sh
- cd ..
- sh idempiere-server.sh
- or “nohup ./idempiere-server.sh &” if you want to disconnect and keep iDempiere running.
- phppgadmin install tutorial
- Change phppgadmin port in the following locations
- sudo nano /etc/apache2/ports.conf
- sudo nano /etc/apache2/sites-enabled/000-default
- sudo service apache2 restart (start stop)
ADempiere vs iDempiere vs Openbravo vs Compiere
Please note that ADempiere, iDempiere and Openbravo are forks or copies from Compiere. Therefore, they have similar abilities mentioned above. The biggest difference is that ADempiere and iDempiere are pure open source. There are no features held behind a commercial or paid license.
About Chuck Boecking: I am an ERP educator. I believe that open source ERP have achieved mainstream capabilities, and as a result, more companies can create greater efficiency across their organization. I started using the iDempiere code base in 2003. Back then, it was called Compiere. In 2006, I started my first multi-million dollar installation. Since then, ADempiere has helped me create great success with distribution and manufacturing companies all over the world. My vision of success is to find companies that can best use open source ERP to help them achieve a single, global instance that drives a discontinuous increase in profitability. I believe that organizations win when they own their technology.
If you have questions, comments or concerns, let me know. I definitely want your feedback.
You can contact me by phone using 512.850.6068.
My email is email@example.com.
You can complete the form on this page.
Thank you for taking the time. I look forward to speaking with you.