Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 886 Bytes

13.grafana_installation.md

File metadata and controls

40 lines (38 loc) · 886 Bytes

🟥 Grafana installation on Linux

update the server

# apt update -y

download GPG key with wget

# wget -q -O - https://packages.grafana.com/gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/grafana.gpg > /dev/null

add the Grafana repository to APT sources

# echo "deb [signed-by=/usr/share/keyrings/grafana.gpg] https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

update the server

# apt update

install the grafana package

# apt install grafana -y

start the grafana server

# systemctl start grafana-server.service

enable the grafana server

# systemctl enable grafana-server.service

check the status of grafana server

# systemctl status grafana-server.service

check the version of grafana server

# grafana-server -v

http://ip_of_server:3000/login