This manual explains how to install Grafana and perform the initial startup configuration.
โ 1. Grafana Installation Steps
๐ Update the System
sudo yum update -y
๐ฆ Download and Verify the Grafana RPM Package
curl -O https://dl.grafana.com/oss/release/grafana-7.0.6-1.x86_64.rpm
# Verify the SHA256 checksum of the downloaded file
dwnl=507af4f7c912b4563c7a2d7c96ba4232acb731cf89759d04794ace6961bf50e0
diff <(sha256sum grafana-7.0.6-1.x86_64.rpm | awk '{print $1}') <(echo $dwnl)
๐งฉ Install Grafana
sudo yum install grafana-7.0.6-1.x86_64.rpm
โ 2. Start the Grafana Service and Enable Auto-Start
# Reload the systemd daemon
systemctl daemon-reload
# Check Grafana server status
systemctl status grafana-server
# Start Grafana
systemctl start grafana-server
# Enable Grafana to start automatically at boot
systemctl enable grafana-server
# Check the status again
systemctl status grafana-server
โ 3. Access the Grafana Web Interface
curl -v http://localhost:3000
Open your browser and access:
http://localhost:3000
Default login credentials:
- Username:
admin - Password:
admin
After logging in, you will be prompted to change the password.
๐ Reference Links
- Grafana Download: https://grafana.com/grafana/download
- Prometheus Query Examples: https://prometheus.io/docs/prometheus/latest/querying/examples/
The basic Grafana installation is now complete.
Sharing knowledge is my passion.
If you'd like to support me, a coffee is always welcome โ
Top comments (0)