How To Install Observium On Centos 8 Official
mysql -u root -p Run these SQL commands (replace 'your_strong_password' ):
cd /opt/observium ./discovery.php -u Create an Apache virtual host:
nano /etc/httpd/conf.d/observium.conf Add: how to install observium on centos 8
httpd -t systemctl restart httpd Add the Observium polling cron job:
nano /opt/observium/config.php Set the database credentials: mysql -u root -p Run these SQL commands
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: rrd chown -R apache:apache /opt/observium/logs
mkdir /opt/observium/logs,rrd chown -R apache:apache /opt/observium/logs,rrd Copy the default configuration: