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 ¶
- Download the RPM package from the GitHub Releases page.
- 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 ¶
- Define the environment variable
DATABASE_URL
if necessary - Run the SQL migrations:
noflux -migrate
, or set the variableRUN_MIGRATIONS=1
in/etc/noflux.conf
- Create an admin user:
noflux -create-admin
- Customize your configuration file
/etc/noflux.conf
if necessary - Enable the systemd service:
systemctl enable noflux
- Start the process with systemd:
systemctl start noflux
- 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.