Installing and Configuring Grafana Enterprise on AlmaLinux 9
Grafana is a powerful open-source platform for monitoring and observability. Grafana Enterprise provides additional features such as enhanced security, reporting, and enterprise-grade support. This guide will walk you through the installation and configuration of Grafana Enterprise on AlmaLinux 9.
Prerequisites
- AlmaLinux 9 server with root or sudo access.
- A firewall configured to allow traffic on port 3000 (Grafana's default port).
Update the System
Keep your system updated to avoid potential compatibility issues,
dnf update -y
Install Grafana Enterprise
Add the Grafana Enterprise Package, Install the latest Grafana Enterprise package using the following command,
yum install -y https://dl.grafana.com/enterprise/release/grafana-enterprise-11.4.0-1.x86_64.rpm
Grafana requires some additional tools for certain features,
dnf install -y fontconfig freetype* urw-fonts
Start and Enable Grafana
Start the Grafana service,
systemctl start grafana-server
Enable it to start at boot,
systemctl enable grafana-server
Verify the service is running,
systemctl status grafana-server
Configure Firewall
Allow HTTP access for Grafana,
firewall-cmd --permanent --add-port=3000/tcp
firewall-cmd --reload
Access Grafana
Open a web browser and navigate to,
http://Your_IP_Address:3000
Note: Replace Your_IP_Address with actual IP Address
Log in with the default credentials,
- Username: admin
- Password: admin
You’ll be prompted to change the password on first login.
After this, the Grafana dashboard will be displayed.
Common Toubleshooting
If you received any command errors then it's Conflict Between grafana and grafana-enterprise: If you encounter a package conflict, remove the conflicting package:
Check the Installed Packages Verify what grafana versions are currently installed,
dnf list installed | grep grafana
Remove Conflicting Package If grafana-enterprise
is already installed and you want to use the open-source version, remove it,
dnf remove grafana-enterprise -y
Clean the Metadata Cache Clear the package manager cache to ensure no outdated metadata interferes,
dnf clean all
Install the Desired Grafana Package Reinstall the standard Grafana package,
dnf install grafana -y
Once everything is complete, follow the same steps outlined above.
CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME
for 10% off!
1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month
Available Locations: LAX | MIA | ATL | FRA | AMS