How To Install Observium On Centos 8 -
mysql -u root -p Run these SQL commands (replace 'your_strong_password' ):
nano /etc/httpd/conf.d/observium.conf Add: how to install observium on centos 8
echo '33 */6 * * * root /opt/observium/discovery.php -h all >> /dev/null 2>&1' > /etc/cron.d/observium echo '*/5 * * * * root /opt/observium/poller-wrapper.py 1 >> /dev/null 2>&1' >> /etc/cron.d/observium Allow HTTP/HTTPS: mysql -u root -p Run these SQL commands
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: how to install observium on centos 8
cp /opt/observium/config.php.default /opt/observium/config.php Edit config.php :
systemctl enable --now httpd mariadb Run the secure installation and set a root password: