RHEL Installation

This document describes how to install Noflux on any RHEL compatible Linux distributions such as RedHat, CentOS, RockyLinux, or AlmaLinux.

When you use the RPM package, the Noflux daemon is supervised by systemd.

Make sure to install and configure Postgresql before installing Noflux.

RPM Package Installation

  1. Download the RPM package from the GitHub Releases page.
  2. Install the RPM package: rpm -ivh noflux-2.0.13-1.0.x86_64.rpm

How to Configure the RPM Repository

Create the file /etc/yum.repos.d/noflux.repo:

[noflux]
name=Noflux Repository
baseurl=https://repo.noflux.app/yum/
enabled=1
gpgcheck=0

Then install the package:

dnf install -y noflux
The previous repository URL https://rpm.noflux.app/x86_64/ is deprecated in favor of https://repo.noflux.app/yum/.

Configure Noflux

  1. Define the environment variable DATABASE_URL if necessary
  2. Run the SQL migrations: noflux -migrate, or set the variable RUN_MIGRATIONS=1 in /etc/noflux.conf
  3. Create an admin user: noflux -create-admin
  4. Customize your configuration file /etc/noflux.conf if necessary
  5. Enable the systemd service: systemctl enable noflux
  6. Start the process with systemd: systemctl start noflux
  7. Check the process status: systemctl status noflux

Systemd reads the environment variables from the file /etc/noflux.conf. You must restart the service to take the new values into consideration.

Make sure to take a look a the list of configuration parameters to customize your installation.