Installing midPoint on Linux from the distribution

Installing midPoint from the distribution archive on your own Linux server is a set of planned steps: Java, the midPoint home directory, the PostgreSQL connection, service management and file permissions. This page explains each step and what to confirm before you start.

On this page

Installing midPoint on Linux from the distribution: when a bare-server install fits

Installing midPoint from the distribution archive means placing the application on a Linux host that you control, with a Java runtime, a midPoint home directory, a PostgreSQL repository and a service definition that starts and supervises the process. This path suits an infrastructure team that wants midPoint running on servers it already operates, under its existing patching, backup and access controls, without introducing a container runtime or an orchestrator. midPoint runs on Linux in a virtual machine or from Docker images according to the midPoint system requirements, so the bare-server route is one of two supported Linux models rather than an exception.

A bare-server install fits best when the team already runs Linux virtual machines well, has staff comfortable with systemd and Java service operations, and wants fewer moving parts than a Kubernetes cluster requires. Teams that already standardize on containers, or that plan several midPoint nodes behind a load balancer, often find Docker Compose or Kubernetes easier to repeat across development, test and production. Before choosing, confirm the Java version for your target release, since Java 25 is recommended for midPoint 4.11 and later, and the system requirements page lists the supported OpenJDK-based distributions your operations team would need to package and patch.

The decision also turns on who will own each layer after go-live. The team must be able to patch the operating system and Java, rotate the database credentials, restore the PostgreSQL repository and keep the midPoint home directory limited to administrators and the daemon user, as Evolveum's security checklist recommends. If those duties already sit with your platform team, the archive install keeps the operating model simple. If they do not, ask a partner or your own team to document the runbook first, because the install is quick compared with the ongoing care that follows it.

Which Java and PostgreSQL choices fit your release

This table compares the Java and PostgreSQL choices for each midPoint release line, so you can match your JDK and database placement to the version you install. Read the row for your target release first, then check the database row for where PostgreSQL should run. The main takeaway is that the Java version follows the midPoint release, and the database should sit on a separate server where possible.

ChoicemidPoint 4.11 and latermidPoint 4.10 and older
Recommended JavaJava 25Java 21
Supported JavaJava 21Java 17
JDK distributionAn OpenJDK-based distribution is recommendedAn OpenJDK-based distribution is recommended
Database placement (ideal)PostgreSQL on a separate database serverPostgreSQL on a separate database server
Co-located PostgreSQL trade-offSimpler setup, but database and JVM compete for memory and diskSimpler setup, but database and JVM compete for memory and disk
PostgreSQL versionConfirm the supported versions on the system requirements page before installConfirm the supported versions on the system requirements page before install
Upgrade implicationMoving to 4.11 may require moving the JDK to Java 25Staying on 4.10 keeps the Java 21 recommendation

How to install midPoint on Linux step by step

This sequence takes a bare Linux server to a running midPoint instance connected to PostgreSQL, with each step closed by a check that confirms it worked. Work through the steps in order, because later steps depend on the Java runtime, directory ownership and database connection set up earlier.

  1. Confirm the operating system and Java version

    Check the operating system and the Java requirement against Evolveum's system requirements before installing anything. midPoint recommends Java 25 for version 4.11 and later (Java 21 supported) and Java 21 for 4.10 and older (Java 17 supported), and OpenJDK-based distributions are recommended. Confirm the exact release you plan to install and the OS versions listed for it. Done means you have written down the target midPoint version, the Java major version it needs and the distribution you will use for the runtime. Ask your platform team to confirm the OS build against the requirements page, since support lists change between releases.

  2. Create the daemon user and midPoint home directory

    Create a dedicated system account for the midPoint daemon with no interactive login, then create the midPoint home directory and assign it to that account. Evolveum's security checklist says only system administrators and the midPoint daemon user should have access to the home directory, so set the directory's permissions to exclude other local users. Check the result with a listing of the directory that shows the daemon user as owner and no world-readable permissions on configuration files. If the check fails, correct ownership before going further, because the configuration in this directory holds credentials.

  3. Install the OpenJDK runtime

    Install the OpenJDK runtime at the major version confirmed in the first step using your distribution's package manager or a vendor build of OpenJDK. Make sure the java binary used by the service is the one you installed, especially if the server already has other Java versions. Verify by running the Java version command as the daemon user, not only as your administrator account, and confirm the output reports the expected major version. A mismatch here usually shows up later as a startup failure, so resolve it now.

  4. Unpack the distribution archive

    Download the midPoint distribution archive for the chosen release from Evolveum's release channel and verify it against the checksum or signature published with it. Unpack it into the installation location, keeping the application files separate from the home directory that holds your configuration. Confirm the unpacked tree contains the expected startup script and libraries, and that the files are owned by root or an administrator account rather than the daemon user, so the running process cannot modify its own binaries.

  5. Point the configuration at PostgreSQL

    Edit the midPoint configuration file in the home directory so the repository section points to your PostgreSQL server, database name, database user and password. midPoint uses PostgreSQL as its native repository and recommends a separate database server, so use the host you prepared for it and not a local placeholder. Make sure the database role has the privileges that the midPoint schema initialization needs, and restrict the configuration file to the daemon user. Check the connection with a test from the server to the database port and confirm that the database user can log in before you start midPoint.

  6. Start midPoint under a service manager

    Register midPoint with your init system, such as a systemd unit that runs as the daemon user, and point it at the Java runtime and the home directory set up earlier. Set the service to start on boot, then start it and follow the startup output until the repository initialization completes. Confirm the service reports as active and that the process runs under the daemon account, not root. Running under a service manager gives you restart behavior and a single place to manage logs, which you will need for the next step.

  7. Verify the login page and logs

    Open the midPoint login page from a browser on an allowed network and sign in with the initial administrator account, then change its password. Review the midPoint log output and the service journal for startup errors, database warnings and failed connector or task initialization. Done means the login page loads over the expected address, the administrator can sign in, and the logs show a clean startup with no repeated errors. Record the version, Java version, home directory path and database connection details in your runbook so the next upgrade or rebuild starts from accurate facts.

Locking down the midPoint home directory and file permissions

The midPoint security checklist takes a clear position on the midPoint home directory: only system administrators and the midPoint daemon user should have access to it. Treat that as the access rule for the whole directory tree, then set ownership and modes so that nothing else on the server can read or write it. On a bare Linux install, this means the directory is owned by the account that runs the midPoint service, group access is restricted to administrators who need it, and no other local user or group has read access. Confirm the exact ownership, group and mode values against the checklist and your distribution's service account conventions before you apply them.

The configuration files in the home directory are the sensitive part. The main configuration file that holds the repository connection, including the database user and password, must not be world-readable. Set the file's owner to the midPoint daemon user, restrict its mode so that only that user (and, if your process requires it, its group) can read it, and remove any read permission for other users. Check the same rule for any other file that stores credentials, keystores or encryption keys, and for backup copies of configuration that people often leave in temporary or home directories. Verify the result by running a permissions listing as a non-privileged account and confirming that access is denied.

Log and export directories need the same discipline but with a different purpose. Logs can contain identity data, and exports can contain full user extracts, so both should sit under the midPoint home directory or a dedicated path that the daemon user owns and no other account can read. Decide where logs and exports are written, make sure the daemon user can create files there, and rotate or clean them under a retention policy agreed with your security and compliance teams. Confirm with the checklist whether any particular log or export location is expected, and record the final layout in your deployment runbook so that later changes to the service account or paths are reviewed.

Security and operations to plan for a bare-server midPoint

A midPoint server installed from the distribution archive carries its own security and operations work. The cards below cover the controls that the install itself creates, and each one maps to a decision you make while the service is being set up.

Restrict the midPoint home directory

The midPoint home directory holds configuration, connector material and settings that control the platform. Evolveum's security checklist says only system administrators and the midPoint daemon user should have access to it. Set ownership and mode so other local accounts cannot read it, and check permissions again after every upgrade or configuration import, since archive extraction and manual edits often loosen them.

Security checklist

Protect repository database credentials

midPoint connects to PostgreSQL with credentials stored in its configuration. Use a dedicated database role with rights limited to the midPoint schema, keep the password out of shared shell history and world-readable files, and confirm that no connection pooler or proxy sits between midPoint and the repository. The no-proxy rule in the PostgreSQL setup guidance is a supported-configuration requirement, so review it before go-live.

Limit exposure of the web interface

The midPoint web interface should not face the internet directly. Place it behind a reverse proxy that terminates TLS, restricts access to administrator networks and forwards only the paths you need. Confirm which HTTP paths and management endpoints are reachable from each network zone, and document the proxy settings so that the proxy and midPoint agree on the external URL.

Patch the OS and Java runtime

Java is a supported dependency that changes with each midPoint release, so OS and JDK patches are part of the operating model. Use an OpenJDK-based distribution with the Java version that matches your midPoint release, track security updates for the operating system and runtime, and plan maintenance windows that let you restart the service and verify logins and synchronization afterward.

System requirements

Back up the repository and home directory

A restore needs both the PostgreSQL repository and the midPoint home directory taken at the same point in time, because configuration and stored objects must match. Confirm the backup schedule, retention, and encryption with your team, and test a restore into a separate host before you rely on it. Record where the backups are stored and who is authorized to run a restore.

Run the service as an unprivileged account

The midPoint daemon should run under a dedicated system account with no login shell and no rights beyond its home directory, its log location and its connection to the database. Do not run the service as root, and confirm that the service unit sets the account and working directory explicitly. Review the account's access to shared secrets and to the connector directories whenever you add a new target system.

Questions teams ask before installing midPoint on Linux

What does an installation of midPoint on Linux cost?

The cost is the labor to prepare and install the platform, and it depends on how much of the surrounding environment is already standardized. The main cost drivers are the operating system baseline, where the PostgreSQL repository runs, network paths and certificates, and how many approval steps the installation must pass before a change reaches production. A quote should separate one-time work (host build, database setup, service configuration, documentation, handover) from recurring work (patching, midPoint upgrades, backups and support). Ask the vendor to list the environments included, such as development, test and production, and whether the audit database is in scope. DeployOpen does not publish a price list, and a quote follows from a written scope.

How long does a midPoint Linux installation take?

Duration depends on scope more than on the installer itself. A single non-production node with an existing PostgreSQL server and a standard Linux image is a short task, while a production setup that needs a new database server, a separate audit database, certificate issuance, a reverse proxy and change approvals takes longer. Each dependency that another team owns adds waiting time. Ask for a timeline tied to named milestones: environment access, database readiness, first successful login, service testing and handover. Any duration should come from the written scope agreed before work starts, not from a general estimate.

What does your team need to provide for the install?

Plan access and decisions before the install window opens. Typically you need:

  • Administrative access to the Linux hosts where midPoint will run, with sudo rights for the installer and a change window
  • A database administrator who can create the PostgreSQL role and database, or approve the connection settings, and who owns backup and retention
  • Identity owners who confirm which HR feeds, directories and target systems the first integrations will use, since this affects network rules and service accounts
  • A security contact who approves the Java distribution, certificate authority and the location of the midPoint home directory

If these people are not available, the installation tends to stall at the first credential or firewall request.

Can an internal team install midPoint on Linux without a partner?

Yes, an internal team with Linux, Java and PostgreSQL experience can install midPoint from the distribution archive. The work is well defined: install a supported Java runtime, create the midPoint home directory, point the configuration at PostgreSQL, set file permissions and register the service. The harder part is usually standardization and governance, not the commands. Teams that have not operated Java services, or that lack a database owner, often choose a partner for the first production build and then keep the knowledge in-house. Confirm your team can own patching, backups and upgrades after handover, because those recur for the life of the platform.

Does an Evolveum subscription change how midPoint is installed?

The installation steps are the same whether or not you hold a subscription. Evolveum states that midPoint has no enterprise edition and that every line of its code is published under open source licenses. Evolveum offers Product Support subscriptions for resolving product bugs, with an 8x5 next-business-day or 24x7 SLA, and Platform Subscriptions that add feature development and roadmap influence. The subscription changes who you can ask when something breaks and how you influence future releases, not how the software is installed. Evolveum's support subscriptions page lists no prices, so ask Evolveum for a quote and confirm which tier matches your support model.

Which midPoint Java version should I install on Linux?

Choose the Java version that matches the midPoint release you plan to run. midPoint recommends Java 25 for version 4.11 and later, with Java 21 supported, and Java 21 for 4.10 and older, with Java 17 supported. OpenJDK-based distributions are recommended. Confirm the exact version against the system requirements page for the release you select, because support status changes over time. Check the release schedule as well: midPoint 4.8 is a long-term support release supported until 17 October 2028, while midPoint 4.10 is supported until 26 November 2027.

When should I choose Docker or Kubernetes instead of a bare Linux install?

Choose a bare Linux install when your organization runs virtual machines well, has a stable host standard, and wants the fewest moving parts for a single midPoint node. Consider Docker when your platform team already builds and scans container images and wants a repeatable runtime. Consider Kubernetes when you need multi-node operation, rolling upgrades and a standard way to manage resource limits, and when your cluster team can own it. Multi-node deployments need a sticky HTTP load balancer, a shared central database and task scheduling across nodes whichever packaging you choose. Decide this early, because switching packaging later means rebuilding the host or container layer.

What should be locked down on the midPoint home directory?

Limit access to the midPoint home directory to system administrators and the midPoint daemon user. The home directory holds configuration, and that configuration can include database settings and credentials, so other local accounts should not be able to read or write it. Set ownership and permissions when you create the directory, not after the service starts, and document the account that runs the service. Review the midPoint security checklist during the install so permissions, network exposure and service accounts are checked before the platform holds production identities.

What DeployOpen delivers for a bare-Linux midPoint install

A bare-Linux midPoint engagement is delivered as a fixed scope agreed in writing before any work starts. The written scope sets the deliverables, the timeline and the acceptance checks, and a quote follows from that scope. Clients should expect the scope to name the chosen midPoint release, the Linux distribution and OpenJDK build, the PostgreSQL version and host, and the environments covered, such as a single evaluation node or a production node with a separate test system. Ask for these items to be listed explicitly so that the quote and the handover describe the same installation.

The deliverables typically cover six areas: a review of the host preparation, installation of the agreed midPoint release, the PostgreSQL connection and schema setup, service and file permission configuration, verification checks, and handover documentation. The host review confirms the Java version against the release notes, since midPoint recommends Java 25 for 4.11 and later and Java 21 for 4.10 and older. The permission work applies the rule that only system administrators and the midPoint daemon user should access the midPoint home directory. The handover documents the paths, service units, database connection settings and the steps to repeat an upgrade, so your team can run the system after the engagement closes.

Ask for a quote that separates one-time work from recurring costs. One-time work is the installation and handover. Recurring costs are support, upgrades and any retainer, and they depend on the support tier you choose from Evolveum, which is paid to Evolveum rather than included in the installation scope. Confirm with the vendor which subscription applies to your release before you sign, because the scope cannot resolve that question for you. Timelines in the scope should depend on your host access, network approvals and database readiness, and you should ask DeployOpen to list those dependencies as client responsibilities.

Install flow from host preparation to verified service

The flow starts with confirming the midPoint release and its Java requirement, then preparing the daemon user and home directory on the Linux host before unpacking the archive. The next hand-off points the installation at the PostgreSQL database server, which sits across a trust boundary from the host. Verification comes last: start the service, sign in to the web interface, and check the logs for repository and startup errors before treating the install as done.

Install path from host preparation through the database connection to a verified service.

How DeployOpen scopes, installs and supports midPoint

DeployOpen plans and installs midPoint from the distribution archive on Linux servers in your own infrastructure, with Java, the midPoint home directory, the PostgreSQL connection and service management set up as one reviewed unit. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.

How we scope

  • Confirm the midPoint version and its supported Java release before any server is built.
  • Record the Linux distribution, host count, network zones and who administers the servers.
  • Agree in writing which items are covered, including the PostgreSQL connection and service setup.

How we build

  • Install the agreed Java runtime and create the midPoint home directory with restricted permissions.
  • Connect midPoint to the PostgreSQL repository and verify startup against a test database first.
  • Configure the service unit, log locations and file ownership, then test restart and failure behavior.

How we hand over

  • Provide a written runbook covering install steps, paths, service commands and permission rules.
  • Document the configuration values, file locations and database connection settings used in your environment.
  • Walk your administrators through the setup and confirm they can restart and check the service alone.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial installation.
  • Plan each midPoint upgrade with your team so supported versions are applied in the required order.
  • Ask for a quote based on the written scope, since DeployOpen does not publish a price list.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.