To install Terracotta, run the Terracotta installer. Execute the downloaded terracotta-x.x.x-installer.jar by double clicking, or by opening a command line/terminal window and executing the following command:
Follow the instructions on screen to complete the installation.
A command line installation can be performed by adding the -console option:
The path to the Terracotta installation is required in the next steps of the installation. It is advised to install Terracotta in the same location on each machine, as this makes the configuration in further steps easier.
Install Terracotta on every machine that runs a Servoy Application Server that is to become part of the Servoy Cluster.
Dedicated Terracotta instance for Terracotta server
When using a dedicated machine to run for a Terracotta instance to act as Terracotta server, also follow the installation procedure on the dedicated machine.
Terracotta requires the JAVA_HOME environment variable to be set and properly point to the Java runtime environment to use. See Setting the JAVA_HOME environment variable.