2016-10-21 17:01:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								+++
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								title = "Installing on Debian / Ubuntu"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								description = "Install guide for Grafana"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								keywords = ["grafana", "installation", "documentation"]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								type = "docs"
							 
						 
					
						
							
								
									
										
										
										
											2016-12-17 00:36:01 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								aliases = ["/installation/installation/debian"]
							 
						 
					
						
							
								
									
										
										
										
											2016-10-21 17:01:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[menu.docs]
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								name = "Installing on Ubuntu / Debian"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								identifier = "debian"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								parent = "installation"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								weight = 1
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								+++
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								# Installing on Debian / Ubuntu
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Description | Download
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								------------ | -------------
							 
						 
					
						
							
								
									
										
										
										
											2018-03-28 21:19:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Stable for Debian-based Linux | [grafana_5.0.4_amd64.deb ](https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_5.0.4_amd64.deb )
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-04-28 16:58:26 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Read [Upgrading Grafana ]({{< relref "installation/upgrading.md" >}} ) for tips and guidance on updating an existing
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								installation.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-03-31 21:23:52 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## Install Stable
  
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-09-14 17:28:59 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-08 14:02:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
									
										
										
										
											2018-03-28 21:19:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_5.0.4_amd64.deb
							 
						 
					
						
							
								
									
										
										
										
											2017-05-08 14:02:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								sudo apt-get install -y adduser libfontconfig
							 
						 
					
						
							
								
									
										
										
										
											2018-03-28 21:19:46 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								sudo dpkg -i grafana_5.0.4_amd64.deb
							 
						 
					
						
							
								
									
										
										
										
											2018-02-05 23:02:17 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## APT Repository
  
						 
					
						
							
								
									
										
										
										
											2015-08-12 22:30:48 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Add the following line to your `/etc/apt/sources.list`  file.
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-10-06 01:01:03 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
									
										
										
										
											2018-04-09 14:18:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								deb https://packagecloud.io/grafana/stable/debian/ stretch main
							 
						 
					
						
							
								
									
										
										
										
											2017-10-06 01:01:03 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2015-04-20 18:33:32 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Use the above line even if you are on Ubuntu or another Debian version.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								There is also a testing repository if you want beta or release
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								candidates.
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-10-06 01:01:03 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
									
										
										
										
											2018-04-09 14:18:58 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								deb https://packagecloud.io/grafana/testing/debian/ stretch main
							 
						 
					
						
							
								
									
										
										
										
											2017-10-06 01:01:03 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:52:40 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Then add the [Package Cloud ](https://packagecloud.io/grafana ) key. This
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								allows you to install signed packages.
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-08 14:02:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								curl https://packagecloud.io/gpg.key | sudo apt-key add -
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Update your Apt repositories and install Grafana
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-08 14:02:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sudo apt-get update
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sudo apt-get install grafana
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								On some older versions of Ubuntu and Debian you may need to install the
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								`apt-transport-https`  package which is needed to fetch packages over 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HTTPS.
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-08 14:02:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sudo apt-get install -y apt-transport-https
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2015-04-14 22:28:57 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								## Package details
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Installs binary to `/usr/sbin/grafana-server`  
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:52:40 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  Installs Init.d script to `/etc/init.d/grafana-server`  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Creates default file (environment vars) to `/etc/default/grafana-server`  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Installs configuration file to `/etc/grafana/grafana.ini`  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  Installs systemd service (if systemd is available) name `grafana-server.service`  
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  The default configuration sets the log file at `/var/log/grafana/grafana.log`  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  The default configuration specifies an sqlite3 db at `/var/lib/grafana/grafana.db`  
						 
					
						
							
								
									
										
										
										
											2017-06-26 23:42:50 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  Installs HTML/JS/CSS and other Grafana files at `/usr/share/grafana`  
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Start the server (init.d service)
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-08-12 02:58:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Start Grafana by running:
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-08 14:02:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sudo service grafana-server start
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This will start the `grafana-server`  process as the `grafana`  user,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								which was created during the package installation. The default HTTP port
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								is `3000`  and default user and group is `admin` .
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								To configure the Grafana server to start at boot time:
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 14:14:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-08 14:02:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sudo update-rc.d grafana-server defaults
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 14:14:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## Start the server (via systemd)
  
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-08-12 02:58:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								To start the service using systemd:
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-08 14:02:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								systemctl daemon-reload
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								systemctl start grafana-server
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								systemctl status grafana-server
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Enable the systemd service so that Grafana starts at boot.
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 14:14:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-05-08 14:02:08 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```bash
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								sudo systemctl enable grafana-server.service
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 14:14:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								## Environment file
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The systemd service file and init.d script both use the file located at
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								`/etc/default/grafana-server`  for environment variables used when 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								starting the back-end. Here you can override log directory, data
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								directory and other variables.
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								### Logging
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								By default Grafana will log to `/var/log/grafana` 
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 14:14:13 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								### Database
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:52:40 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The default configuration specifies a sqlite3 database located at
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								`/var/lib/grafana/grafana.db` . Please backup this database before 
						 
					
						
							
								
									
										
										
										
											2016-10-21 17:01:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								upgrades. You can also use MySQL or Postgres as the Grafana database, as detailed on [the configuration page ]({{< relref "configuration.md#database" >}} ).
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Configuration
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:52:40 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								The configuration file is located at `/etc/grafana/grafana.ini` .  Go the
							 
						 
					
						
							
								
									
										
										
										
											2016-10-21 17:01:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								[Configuration ]({{< relref "configuration.md" >}} ) page for details on all
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:52:40 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								those options.
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								### Adding data sources
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-02-07 01:04:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  [Graphite ]({{< relref "features/datasources/graphite.md" >}} ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [InfluxDB ]({{< relref "features/datasources/influxdb.md" >}} ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [OpenTSDB ]({{< relref "features/datasources/opentsdb.md" >}} ) 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  [Prometheus ]({{< relref "features/datasources/prometheus.md" >}} ) 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:34:55 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:55:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## Installing from binary tar file
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-03-21 22:37:55 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Download [the latest `.tar.gz` file ](https://grafana.com/get ) and
							 
						 
					
						
							
								
									
										
										
										
											2015-08-12 22:30:48 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								extract it.  This will extract into a folder named after the version you
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								downloaded. This folder contains all files required to run Grafana.  There are
							 
						 
					
						
							
								
									
										
										
										
											2015-08-12 02:58:30 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								no init scripts or install scripts in this package.
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:15:34 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2015-05-11 04:52:40 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								To configure Grafana add a configuration file named `custom.ini`  to the
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								`conf`  folder and override any of the settings defined in 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								`conf/defaults.ini` . 
						 
					
						
							
								
									
										
										
										
											2015-04-13 13:55:07 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-02-24 08:06:56 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Start Grafana by executing `./bin/grafana-server web` . The `grafana-server` 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								binary needs the working directory to be the root install directory (where the
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								binary and the `public`  folder is located).