Monday, May 23, 2022
DevOps Grafana Rocky Linux

Install Grafana pada Rocky Linux

grafana

Pada kesempatan kali ini saya akan membahas cara Install Grafana pada Rocky Linux.

- Update server

dnf update

- tambah repo

cat > /etc/yum.repos.d/grafana.repo << 'EOL'
name=grafana
baseurl=https://packages.grafana.com/oss/rpm
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
EOL

- install grafana

dnf install grafana -y

- start service

systemctl daemon-reload

systemctl start grafana-server

systemctl stop grafana-server

systemctl restart grafana-server

systemctl enable grafana-server

systemctl status grafana-server

- tambah rule di firewall

firewall-cmd --add-port=3000/tcp --permanent

firewall-cmd --reload

- akses web

http://grafana-server-IP:3000
user: admin
pass: admin
(Visited 9 times, 1 visits today)
Klik untuk berbagi dengan orang lain
Baca Juga :  Cara Install Docker dan Docker compose pada CentOS 8 / Almalinux / Rocky Linux

Similar Posts