How To Install Observium On Centos 8 – Instant Download
cp /opt/observium/config.php.default /opt/observium/config.php Edit config.php :
cd /opt svn update --set-depth empty https://svn.observium.org/svn/observium/trunk observium If svn is missing: dnf install -y subversion Set permissions:
nano /opt/observium/config.php Set the database credentials: how to install observium on centos 8
mysql -u root -p Run these SQL commands (replace 'your_strong_password' ):
httpd -t systemctl restart httpd Add the Observium polling cron job: cp /opt/observium/config
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:
firewall-cmd --permanent --add-service=http firewall-cmd --reload Open your browser: http://your_server_ip and servers to monitor their health
systemctl enable --now httpd mariadb Run the secure installation and set a root password:
dnf update -y Install Apache, PHP, MariaDB, and required utilities:
date.timezone = "America/New_York" Then systemctl restart httpd chmod 4750 /usr/sbin/fping Conclusion You now have a fully functional Observium installation on CentOS 8. Start adding routers, switches, firewalls, and servers to monitor their health, bandwidth, and errors via SNMP.
<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: