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.3 # or you can prefer 9.1, 9.2, or 9.4 if available on your debian version
      • sudo apt-get install postgresql-contrib
      • sudo apt-get install openjdk-7-jdk # or openjdk-6-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 idempiere.gtk.linux.x86_64.deb # or idempiere.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)
      • 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
Personal tools