page_title: Installing on RPM-based Linux page_description: Grafana Installation guide for Centos, Fedora, Redhat.
| Description | Download |
|---|---|
| .RPM for Fedora / RHEL / CentOS Linux | grafana-2.0.0_beta3-1.x86_64.rpm |
To install the package
$ wget https://grafanarel.s3.amazonaws.com/builds/grafana-2.0.0_beta3-1.x86_64.rpm
$ sudo yum install initscripts fontconfig
$ sudo rpm -Uvh grafana-2.0.0_beta3-1.x86_64.rpm
/usr/sbin/grafana-server/etc/init.d/grafana-server/etc/sysconfig/grafana-server/etc/grafana/grafana.inigrafana-server.service/var/log/grafana/grafana.log/var/lib/grafana/grafana.dbsudo service grafana-server startgrafana user (created during package install)3000, and default user is admin/adminsudo /sbin/chkconfig --add grafana-server$ systemctl daemon-reload
$ systemctl start grafana-server
$ systemctl status grafana-server
sudo systemctl enable grafana-server.service
The systemd service file and init.d script both use the file located at /etc/sysconfig/grafana-server for
environment variables used when starting the backend. Here you can override log directory, data directory and other
variables.
By default grafana will log to /var/log/grafana
The default configuration specifies a sqlite3 database located at /var/lib/grafana/grafana.db. Please backup
this database before upgrades. You can also use mysql or postgres as the Grafana database.
The configuration file is located at /etc/grafana/grafana.ini. Go the Configuration page for details
on all those options.