DEV Community

WalkerNea
WalkerNea

Posted on

Grafana Installation

This manual explains how to install Grafana and perform the initial startup configuration.


โœ… 1. Grafana Installation Steps

๐Ÿ”„ Update the System

sudo yum update -y
Enter fullscreen mode Exit fullscreen mode

๐Ÿ“ฆ 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)
Enter fullscreen mode Exit fullscreen mode

๐Ÿงฉ Install Grafana

sudo yum install grafana-7.0.6-1.x86_64.rpm
Enter fullscreen mode Exit fullscreen mode

โœ… 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
Enter fullscreen mode Exit fullscreen mode

โœ… 3. Access the Grafana Web Interface

curl -v http://localhost:3000
Enter fullscreen mode Exit fullscreen mode

Open your browser and access:

http://localhost:3000
Enter fullscreen mode Exit fullscreen mode

Default login credentials:

  • Username: admin
  • Password: admin

After logging in, you will be prompted to change the password.


๐Ÿ”— Reference Links


The basic Grafana installation is now complete.

Sharing knowledge is my passion.

If you'd like to support me, a coffee is always welcome โ˜•

https://buymeacoffee.com/walkernea

Top comments (0)