7.1.2.1. Installation

The HTTP/JSON API is installed using a Linux distribution package manager according to the corresponding instructions, or by manually copying the files to the /opt/halon/api directory.

In preparation; you should make sure that you have already installed the Halon MTA package and copied the configuration files for those programs into the /etc/halon/ directory.

7.1.2.1.1. Distributions

7.1.2.1.1.1. Ubuntu

To install the .deb package use the following commands.

$ apt-get update
$ apt-get install /path/to/halon-api.deb

Older version of Ubuntu uses (dpkg -i instead of apt-get install).

7.1.2.1.1.2. CentOS

To install the .rpm package use the following commands.

$ yum install -y epel-release
$ yum install -y /path/to/halon-api.rpm

7.1.2.1.2. Startup

When the initial configuration is in place, the program can be started with:

$ sudo systemctl start halon-api