4.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.

4.1.2.1.1. Distributions

4.1.2.1.1.1. Ubuntu

To install the .deb package use the following commands.

$ dpkg -i /path/to/halon-api.deb

4.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

4.1.2.1.2. Startup

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

$ sudo systemctl start halon-api