Installation on Alma Linux

Requirements

Alma Linux's flexibility as a server or desktop makes it an ideal platform to host the Netify agent. If you are running Alma Linux as your desktop, a single network card is sufficient if you're looking to classify traffic only from your personal device. This is not a very common integration, however, it can be quite useful for evaluation the solution quickly - sometimes referred to as 'kicking the tires'.

More often, Alma Linux is used on baremetal hardware or inside a virtual machine (VM). In this role, the system will need at least 2 network interfaces:

  • Network Interface #1: used to access the operating system and Netify
  • Network Interface #2: used to ingest port mirror traffic from LAN segment 1
  • Network Interface #N: used to ingest port mirror traffic from LAN segment N (optional)

You will also need to know which version of Alma Linux you are running in order to add the correct repository. If you're not sure, use the cat /etc/os-release command:

cat /etc/os-release 
NAME="Alma Linux"
VERSION="9.3 (Blue Onyx)"
ID="alma"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Alma Linux 9.3 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:alma:rocky:9::baseos"
HOME_URL="https://almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Alma-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.3"
REDHAT_SUPPORT_PRODUCT="Alma Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.3"
In version 5, the Netify Agent and plugin architecture was extended. It would be very unusual to only install the agent without one or more plugins. However, we keep these steps separate for clarity.

Adding the Netify Repository vs Command Line

Adding the Netify repository to your Alma Linux server has three main advantages:

  • Automatically resolves and install dependencies
  • Increases security through the use of signed packages
  • Allows for auto or simplified updates in the future

Alma Linux 8

Adding Netify Repository

sudo yum update
sudo rpm --import http://download.netify.ai/4/almalinux/8/stable/RPM-GPG-KEY-netify
sudo curl https://download.netify.ai/4/almalinux/8/netify.repo -o /etc/yum.repos.d/netify.repo
sudo yum install netifyd

Command Line Installation

Open a browser and navigate to https://download.netify.ai/4/almalinux/8/stable/x86_64/. Find the version you would like to install, right click over the filename and select "Copy link address".

apt update
    cd /tmp/
    curl https://download.netify.ai/4/almalinux/8/stable/x86_64/netifyd-4.2.5-1.os8.x86_64.rpm -O
    apt install ./netifyd-4.2.5-1.os8.x86_64.rpm

Alma Linux 9

Adding Netify Repository

Open a browser and navigate to https://download.netify.ai/4/almalinux/9/stable/x86_64/. Find the version you would like to install, right click over the filename and select "Copy link address".

apt update
    cd /tmp/
    curl https://download.netify.ai/4/almalinux/9/stable/x86_64/netifyd-4.4.2-1.os9.x86_64.rpm -O
    apt install ./netifyd-4.2.5-1.os8.x86_64.rpm

ARM64

Please contact us if you would like more information about compiling for architectures other than amd64.

Post Installation

After installing the agent, verify the installation and some path information using the -s (status) argument.

netifyd -s
Netify Agent/4.2.5 (debian; x86_64; conntrack; netlink; plugins; tcmalloc; inotify; regex)
- agent is not running.
- persistent state path: /etc/netify.d
- volatile state path: /var/run/netifyd
- agent run-time status could not be determined.
- sink URL: https://sink.netify.ai/provision/
- sink services are disabled.
  To enable sink services, run the following command:
  # netifyd --enable-sink
- sink uploads are disabled.
  To enable sink uploads, ensure your Agent has been provisioned.
- sink agent UUID is not set.
  To generate a new one, run the following command:
  # netifyd --provision
- sink site UUID is not set.
  A new site UUID will be automatically set after this agent has been provisioned by the sink server.
The Netify agent is not configured to start post install. Language pertaining to not running is should be expected.

Technical Support

Haven't found the answers you're looking for?

Contact Us