Friday, November 15, 2024
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 168 times, 1 visits today)
Baca Juga :  Cara Upgrade Versi OpenSSL 1 ke versi 3 pada rocky linux

Similar Posts