cara install librenms di redhat 9.4

 sudo dnf update -y


sudo dnf install -y epel-release
sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-9.rpm


sudo systemctl enable --now mariadb
sudo systemctl enable --now httpd
sudo systemctl enable --now php-fpm
sudo systemctl enable --now crond
sudo useradd librenms -d /opt/librenms -M -r -s /bin/bash

cd /opt
sudo git clone https://github.com/librenms/librenms.git

sudo su - librenms
cd /opt/librenms
./scripts/composer_wrapper.php install --no-dev
exit

date.timezone =
date.timezone = Asia/Jakarta
sudo timedatectl set-timezone Asia/Jakarta
sudo nano /etc/my.cnf.d/mariadb-server.cnf
innodb_file_per_table=1
lower_case_table_names=0

sudo systemctl restart mariadb
sudo mysql -u root
CREATE DATABASE librenms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'librenms'@'localhost' IDENTIFIED BY 'PasswordKuat123';
GRANT ALL PRIVILEGES ON librenms.* TO 'librenms'@'localhost';
FLUSH PRIVILEGES;
EXIT;


jika sudah seperti ini berarti berhasil

Komentar

Postingan populer dari blog ini

Instalasi Mikrotik Di VirtualBox

BAGIAN-BAGIAN YANG ADA DI MOTHERBOARD

Install phpmyadmin di Debian 11 (PuTTY)