This guide will teach you how to quickly make an Ubuntu Operation System SD card, boot it on Raspberry Pi 4, and set up the iDempiere server.


  • A microSD card ( 32GB to 128GB)
  • A computer with a microSD card drive
  • A Raspberry Pi 4 B ( 4G or 8G Ram)
  • A USB-C power cable
  • A Wi-Fi network or an ethernet cable with an internet connection


  • A monitor with an HDMI interface
  • An HDMI cable for the Pi 2 & 3 and a micro HDMI cable for the Pi 4
  • A USB keyboard

Prepare the SD Card

Download Raspberry Imager from the raspberry pi official website.



I use MacOS to demonstrate.

Imager – 1
Imager – 2

Imager – 3. choice a stable version,

The following action is very important, to set your Linux account password

Once it’s set, you can grill it

Connect to Raspberry Pi 4

After the Raspberry Pi has been booted, you can connect to it using Secure Shell (SSH).

If you don’t know the IP address of your Raspberry Pi, you can use a network scanner tool like “Angry IP Scanner” or “Advanced IP Scanner” to scan your network and find the IP address of your Raspberry Pi. Once you have the IP address, you can use an SSH client like PuTTY (Windows OS Only) to connect to your Raspberry Pi. Alternatively, you can connect your Raspberry Pi to a monitor and keyboard and use the command “ifconfig” in the terminal to display its IP address.

#Install JDK

sudo apt install openjdk-11-jdk-headless

#Instal PostgresSQL Server 

sudo apt install postgresql

Change password to user postgres

sudo su postgres
alter user postgres password 'postgres_password'

Prepare iDempiere Installer

You can build an installer from the iDempiere source code. Or directly download it from the official website.


#Extract file
# initial configuration properties
cd idempiere.gtk.linux.x86_64/idempiere-server
# Refer to the prompt question to enter the parameters, if you don't know, just keep pressing the ENTER key

# Change to utils directory
cd utils

# Import seed into database


Tuning iDempiere ERP Performance

To configure iDempiere memory settings, you can follow these steps:

  1. Locate the file in the iDempiere installation directory’s utils directory.
  2. Open the file in a text editor.
  3. Search for the JAVA_OPTS variable.
  4. Set the desired memory settings using the -Xms (initial heap size) and -Xmx (maximum heap size) flags. For example:makefileCopy codeJAVA_OPTS="-Xms2048m -Xmx2048m" This would set the initial heap size to 2048 MB and the maximum heap size to 2048 MB.
  5. Save the changes to the file.
  6. Restart the iDempiere server for the changes to take effect.

Note that the optimal memory settings may vary depending on the size of your iDempiere database and the number of users accessing the system. It’s recommended to monitor system performance and adjust the memory settings as necessary.

#Change to the idempiere working folder to start the server. &

Please refer to the next article for the stoping idempiere server.

By Ray Lee (System Analyst)

iDempeire ERP Contributor, 經濟部中小企業處財務管理顧問 李寶瑞

2 thoughts on “How to install iDempiere ERP on your Raspberry Pi”

Leave a Reply

Your email address will not be published. Required fields are marked *