Installation
With Docker
# Grafana Install
docker run -d --name=grafana -p 3001:3000 -v grafana_config:/etc/grafana -v grafana_data:/var/lib/grafana \
-v grafana_logs:/var/log/grafana grafana/grafana
# MySQL Install
docker container run -d --name mysqldb -p 3306:3306 -v db_data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password mysql:latest
RHEL 8
cat <<EOF | sudo tee /etc/yum.repos.d/grafana.repo
[grafana]
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
EOF
dnf makecache
dnf install grafana
Start the service
systemctl start grafana-server
systemctl status grafana-server
systemctl enable grafana-server
TheAccess to the Web site:site
- URL: http://server-ip-address:3000
- Login: admin / admin