IDempiere Debian Installer

From iDempiere en
Jump to: navigation, search



  • Create an automatic installer for Debian based systems - tested on Ubuntu
    • Emphasis done in the word automatic - the intention is to ask the user the minimum variables required and do all the necessary steps to leave an iDempiere working

Known Restrictions

  • This installer just works if postgresql installed on the same machine (it uses direct connection to postgresql - unix sockets to avoid configuring and asking for a postgres password).
  • It requires to be run as root (this is usual with sudo dpkg)
  • just PostgreSQL >= 9.1 supported (not oracle or previous postgresql versions)

How to install

  • It DOES NOT require a graphical system - it can be used in servers
  • Prerequisites
    • Postgresql >= 9.1
      • sudo apt-get install postgresql-9.6
      • sudo apt-get install postgresql-contrib-9.6
      • sudo apt-get install openjdk-8-jdk
  • Download the Debian Installer (idempiere.gtk.linux.x86.deb for 32 bits and idempiere.gtk.linux.x86_64.deb for 64 bits). The installer can be downloaded from:
  • Execute the installer
    • sudo dpkg -i idempiereServer5.1Daily.gtk.linux.x86_64.deb # or idempiereServer5.1Daily.gtk.linux.x86.deb for 32 bits
      • this step check the prerequisites, copy the needed files into /opt/idempiere-server and /etc, create idempiere user and group and assign proper permissions to the files, at the end it displays a message to the user "You must run '/etc/init.d/idempiere configure' as the root user to configure the application."
  • Configure idempiere as root
    • sudo /etc/init.d/idempiere configure
      • this step asks the minimum required user variables, fill them properly or just push enter to get the default in square brackets:
      • HTTP Port [8080]
      • HTTPS Port [8443]
      • adempiere db password (this is mandatory - special characters with meaning for linux shell are not allowed in password)
      • check adempiere db password
      • postgres password - you can leave the password empty to use the direct connection from postgres user
      • start at boot [y]
    • After this the deployment is executed (, the import of the database is done (RUN_ImportIdempiere) and the service is installed to start on boot
  • To start the server you can reboot the machine or run:
    • sudo /etc/init.d/idempiere start