Repository access

Your system must have access to https://repo.wallarm.com to download the packages.
Ensure the access is not blocked by a firewall.

2. Install the Wallarm Packages

Update OpenSSL

Update the OpenSSL package to the latest version available from the repositories of your operating system. Make sure to do this prior to installing the Wallarm packages.

Install NGINX-Wallarm and the required scripts to interact with the
Wallarm cloud.

Debian 8.x (jessie)

Debian 9.x (stretch)

Debian 10.x (buster)

Ubuntu 14.04 LTS (trusty)

Ubuntu 16.04 LTS (xenial)

Ubuntu 18.04 LTS (bionic)

CentOS 6.x

CentOS 7.x

Amazon Linux 2

apt-get install --no-install-recommends wallarm-node-tarantool

apt-get install --no-install-recommends wallarm-node-tarantool

apt-get install --no-install-recommends wallarm-node-tarantool

apt-get install --no-install-recommends wallarm-node-tarantool

apt-get install --no-install-recommends wallarm-node-tarantool

apt-get install --no-install-recommends wallarm-node-tarantool

yum install wallarm-node-tarantool

yum install wallarm-node-tarantool

yum install wallarm-node-tarantool

3. Configure Postanalytics

Allocate the operating memory size for Tarantool

The amount of memory determines the quality of work of the statistical algorithms.
The recommended value is 75% of the total server memory. For example, if the server has
32 GB of memory, the recommended allocation size is 24 GB.

Open for editing the configuration file of Tarantool:

Debian 8.x (jessie)

Debian 9.x (stretch)

Debian 10.x (buster)

Ubuntu 14.04 LTS (trusty)

Ubuntu 16.04 LTS (xenial)

Ubuntu 18.04 LTS (bionic)

CentOS 6.x

CentOS 7.x

Amazon Linux 2

vi /etc/default/wallarm-tarantool

vi /etc/default/wallarm-tarantool

vi /etc/default/wallarm-tarantool

vi /etc/default/wallarm-tarantool

vi /etc/default/wallarm-tarantool

vi /etc/default/wallarm-tarantool

vi /etc/sysconfig/wallarm-tarantool

vi /etc/sysconfig/wallarm-tarantool

vi /etc/sysconfig/wallarm-tarantool

Set the allocated memory size in the configuration file of Tarantool via the
SLAB_ALLOC_ARENA directive.

For example:

SLAB_ALLOC_ARENA=24

Configure the server addresses of postanalytics

Uncomment HOST and PORT variables and set them the following values:

# address and port for bind
HOST='0.0.0.0'
PORT=3313

Restart Tarantool

Debian 8.x (jessie)

Debian 9.x (stretch)

Debian 10.x (buster)

Ubuntu 14.04 LTS (trusty)

Ubuntu 16.04 LTS (xenial)

Ubuntu 18.04 LTS (bionic)

CentOS 6.x

CentOS 7.x

Amazon Linux 2

service wallarm-tarantool restart

systemctl restart wallarm-tarantool

systemctl restart wallarm-tarantool

service wallarm-tarantool restart

service wallarm-tarantool restart

service wallarm-tarantool restart

service wallarm-tarantool restart

systemctl restart wallarm-tarantool

systemctl restart wallarm-tarantool

4. Connect Postanalytics to the Wallarm Cloud

Provide access to the Wallarm cloud so that postanalytics can
always update the rules, upload metrics and the attack data.

You have to pick which script to run depending on the Cloud you are using.