how to install observium on centos 8 how to install observium on centos 8

8 | How To Install Observium On Centos

nano /etc/httpd/conf.d/observium.conf Add:

systemctl enable --now httpd mariadb Run the secure installation and set a root password:

<VirtualHost *:80> ServerName observium.yourdomain.com DocumentRoot /opt/observium/html <Directory /opt/observium/html> Options FollowSymLinks AllowOverride All Require all granted </Directory> ErrorLog /var/log/httpd/observium_error.log CustomLog /var/log/httpd/observium_access.log combined </VirtualHost> Test config and restart Apache: how to install observium on centos 8

mkdir /opt/observium/logs,rrd chown -R apache:apache /opt/observium/logs,rrd Copy the default configuration:

dnf update -y Install Apache, PHP, MariaDB, and required utilities: nano /etc/httpd/conf

nano /opt/observium/config.php Set the database credentials:

CREATE DATABASE observium CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; GRANT ALL PRIVILEGES ON observium.* TO 'observium'@'localhost' IDENTIFIED BY 'your_strong_password'; FLUSH PRIVILEGES; EXIT; Populate the schema: rrd chown -R apache:apache /opt/observium/logs

sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* Update the system:

Filmovi
Tv Shows
Search
Početna