RHEL / Rocky Linux with TSDB built from source
sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
vi /etc/selinux/config
SELINUX=disabled
reboot
adduser xormon passwd xormon
vi /etc/security/limits.confAppend following lines before the end of the file
xormon hard stack -1 xormon soft stack -1 xormon hard data -1 xormon soft data -1 xormon hard nofile 32768 xormon soft nofile 32768 xormon hard nproc 64000 xormon soft nproc 64000
subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpmsRHEL 9.x
subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpmsRocky Linux 8.x
dnf config-manager --set-enabled powertoolsRocky Linux 9.x
dnf config-manager --enable crb
dnf install perl ed libxml2 epel-release gnupg net-tools sblim-wbemcli libaio wget curl strace dnf install perl-TimeDate perl-XML-Simple perl-XML-SAX perl-XML-LibXML perl-Env perl-CGI perl-Data-Dumper dnf install perl-LWP-Protocol-https perl-libwww-perl perl-Time-HiRes perl-IO-Tty openldap-clients perl-Time-Piece dnf install perl-JSON perl-JSON-PP perl-JSON-XS net-snmp-perl net-snmp-utils dnf install libjpeg-devel zlib-devel libpng-devel libjpeg-turbo-devel libjpeg-turbo-utils dnf install perl-DBI perl-DBD-ODBC unixODBC unixODBC-devel freetds perl-DBD-Pg
dnf install perl-Net-INET6Glue
dnf install perl-FindBin
dnf install python3-virtualenv python3-pip libpq-devel python3-devel gcc-c++ gcc
dnf install java-11-openjdk-headless
dnf module enable nodejs:24 dnf install nodejs npm update -g npm node -v
# download archive cd /tmp wget https://nodejs.org/dist/v24.13.0/node-v24.13.0-linux-x64.tar.xz # extract archive to /usr/local cd /usr/local tar xf /tmp/node-v24.13.0-linux-x64.tar.xz --strip-components=1 # check node version node -v # remove archive rm /tmp/node-v24.13.0-linux-x64.tar.xz
setcap 'cap_net_bind_service=+ep' `which node`
dnf module enable postgresql:16 dnf module switch-to postgresql:16
dnf remove libpq-devel
dnf install postgresql postgresql-contrib postgresql-server postgresql-server-devel
dnf install git cmake gcc
cd ~ git clone https://github.com/timescale/timescaledb cd timescaledb/ git checkout 2.23.1
cd ~/timescaledb/ ./bootstrap cd ./build && make make install
postgresql-setup initdb systemctl enable --now postgresql systemctl stop postgresql
dnf install golang go install github.com/timescale/timescaledb-tune/cmd/timescaledb-tune@latestRun timescaledb-tune
/root/go/bin/timescaledb-tune -yes -pg-config /usr/bin/pg_config -conf-path /var/lib/pgsql/data/
sed -i "s/^#shared_preload_libraries =.*/shared_preload_libraries = 'timescaledb'/g" /var/lib/pgsql/data/postgresql.conf sed -i 's/ident$/scram-sha-256/g' /var/lib/pgsql/data/pg_hba.conf sed -i 's/#synchronous_commit = on/synchronous_commit = off/' /var/lib/pgsql/data/postgresql.conf
systemctl start postgresql
sudo -u postgres psql postgres=# \password postgres postgres=# ALTER USER postgres VALID UNTIL 'infinity'; postgres=# \qMake note of the password. It will be needed later during XorMon installation.
firewall-cmd --zone=public --add-port=8443/tcp --permanent firewall-cmd --zone=public --add-service=https --permanent firewall-cmd --zone=public --add-port=8162/tcp --permanent firewall-cmd --reload firewall-cmd --list-port