6.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 smtpd package and copied the configuration files for those programs into the /etc/halon/ directory.

6.1.2.1.1. Distributions

6.1.2.1.1.1. Ubuntu

To install the .deb package use the following commands.

$ apt-get update
$ apt-get install halon-api

6.1.2.1.1.2. RHEL

To install the .rpm package use the following commands.

$ yum install halon-api

6.1.2.1.2. Startup

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

$ sudo systemctl start halon-api