Cnode Installation


Requirements

Installation of the central node has been tested on Ubuntu version 20.04. To install the central node, it is recommended to have a computer or virtual machine with a minimum of 8GB of memory (16GB or higher is recommended) and a hard disk capacity of at least 40GB.

Additionally, the computer or virtual machine should be reachable by the remote components of the solution using a hostname. You can configure this either through the “/etc/hosts” file or a DNS service to ensure proper communication.

Furthermore, certain TCP/UDP ports need to be open to facilitate interaction between the solution components and users. Please ensure that the following ports are open:

port

application

type

22

SSH

Linux console

80

Alertflex

Web console (Swagger UI)

1514

Wazuh

Wazuh agent (only for appliance)

4848

Payara AS

Admin UI

8080

Alertflex

REST API

61617

Active MQ

Altprobe (for remote collectors)


Installation

  • Download installation files

git clone https://github.com/alertflex/cnode.git
cd cnode
  • Fill in project-specific parameters in file env.sh, as an example you can use file example_env.sh or env_appliance.sh

  • Start installation

chmod u+x install_ubuntu20.sh
./install_ubuntu20.sh
  • After finish a software installation, write down the project id and keep the file Broker.pem

../_images/id_pem.png
  • reboot the system