Observium is a network monitoring platform that provides automatic discovery of devices and supports a wide range of device types. In this guide, we’ll show you how to install Observium on AlmaLinux, Rocky Linux, Debian, and Ubuntu.
Prerequisites:
Before starting the installation, ensure the following:
- A server running AlmaLinux, Rocky Linux, Debian, or Ubuntu.
- Root or sudo access to your server.
- A LAMP stack (Linux, Apache, MySQL/MariaDB, PHP) installed.
- A domain or subdomain pointing to your server.
Step 1: Update the System
Make sure all system packages are up-to-date.
- For Ubuntu/Debian:
- For AlmaLinux/Rocky Linux:
Step 2: Install Required Software
Observium requires Apache, MySQL/MariaDB, PHP, and SNMP. You’ll need to install these dependencies.
- Install Apache, MySQL/MariaDB, PHP, SNMP, and required PHP extensions:
- For Ubuntu/Debian:
- For AlmaLinux/Rocky Linux:
Step 3: Configure the Database
Observium requires a database to store its data. Let’s create a database for Observium.
- Log in to MariaDB:
- Create a database and user for Observium:
Step 4: Install Observium
- Navigate to the web directory:
- Download and install Observium:
- Set the correct permissions for Observium:
Step 5: Configure Apache (for AlmaLinux/Rocky Linux)
- Create a new Apache configuration file for Observium:
- Add the following content:
- Restart Apache:
Step 6: Configure Apache (for Ubuntu/Debian)
- Create a new Apache site configuration file for Observium:
- Add the following content:
- Enable the new site and rewrite module:
- Restart Apache:
Step 7: Set Up Observium Database
- Navigate to the Observium directory:
- Set up the Observium database:
- Set the correct file permissions for the
config.php
and other required directories:
Step 8: Access Observium Web Interface
-
Open your browser and navigate to your domain (e.g.,
http://yourdomain.com
). -
You should see the Observium web interface. Log in with the default admin credentials.
-
Set up your admin user and configure your devices for monitoring.
Step 9: Secure the Installation (Optional)
For production environments, it’s recommended to secure your Observium installation with SSL and strong credentials.
- Install Certbot:
- For Ubuntu/Debian:
- For AlmaLinux/Rocky Linux:
- Obtain an SSL certificate:
Conclusion
You have successfully installed Observium on your AlmaLinux, Rocky Linux, Debian, or Ubuntu server. You can now access your Observium dashboard and start monitoring your network.