Server

Installing the Nuxeo Platform on Linux

Updated: May 27, 2021

Checking Requirements

First, have a look at the detailed steps to check your Java version and install it.

Installing the Nuxeo Platform From the ZIP Archive

Install the Nuxeo Platform

Download the ZIP archive and unzip it using your favorite tool.

Installation Path

The usual directory into which install the server is /opt.

What's Next?

Do you want to evaluate the platform? You can now start the server. You want to do a complete installation, that is compatible for a production environment? You should prepare your environment now.

Recommendations

Prevent Swapping

Like any Java application you should prevent the JVM Heap from being swapped to disk, which will crush server performance. You have two options here:

  • Disable the swap with sudo swapoff -a you'll need to edit your /etc/fstab to disable swap permanently. Note that before doing this you need to make sure that you have enough memory for all the processes that run on the server (Nuxeo JVM, converters, other custom process and the OS).
  • Limit the swapiness of the OS using sysctl to set vm.swappiness=1.

Temporary Folder

While setting nuxeo.tmp.dir property in nuxeo.conf, we recommend not to use the system temporary folder /tmp because this one can be cleaned up by the operating system. This is the case on Red Hat Enterprise Linux in particular, where systemd-tmpfiles service is deleting old files from /tmp.


We'd love to hear your thoughts!

All fields required