Grafana
Grafana Installation
docker run -d -p 3000:3000 --name=grafana grafana/grafana-enterprise
-
🆓How to Install and Run Grafana in Raspberry Pi [Watch]
#Source: https://grafana.com/grafana/download
sudo apt-get install -y adduser libfontconfig1 musl
wget https://dl.grafana.com/enterprise/release/grafana-enterprise_11.1.3_arm64.deb
sudo dpkg -i grafana-enterprise_11.1.3_arm64.deb
# ------------------------------- Method - 2 - Tested -------------------------------
# Download the GPG key from Grafana's official repository, convert it to the appropriate format, and store it in the keyring directory.
wget -O- https://packages.grafana.com/gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/grafana-archive-keyring.gpg >/dev/null
# Add the Grafana APT repository to the sources list, using the signed key from the previous step for verification.
echo "deb [signed-by=/usr/share/keyrings/grafana-archive-keyring.gpg] https://packages.grafana.com/oss/deb stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
# Update the package lists to include the Grafana repository, then install Grafana.
sudo apt update && sudo apt install -y grafana
# Remove any previous masking on the Grafana server service to allow it to be started.
sudo systemctl unmask grafana-server.service
# Start the Grafana server service immediately.
sudo systemctl start grafana-server
# Enable the Grafana server service to start automatically on boot.
sudo systemctl enable grafana-server.service
# Enable the Grafana server service, similar to the previous command (redundant but ensures it's enabled).
sudo systemctl enable grafana-server
# Check the current status of the Grafana server service to ensure it's running correctly.
sudo systemctl status grafana-server.service
# This command is an alternative way to start the Grafana server service manually.
sudo /bin/systemctl start grafana-server