2015-04-13 14:14:13 +08:00
|
|
|
---
|
|
|
|
page_title: Installing on Windows
|
|
|
|
page_description: Grafana Installation guide for Windows
|
|
|
|
page_keywords: grafana, installation, windows guide
|
|
|
|
---
|
|
|
|
|
|
|
|
# Installing on Windows
|
|
|
|
|
2015-04-21 19:30:15 +08:00
|
|
|
## Download
|
|
|
|
|
|
|
|
Description | Download
|
|
|
|
------------ | -------------
|
|
|
|
Zip package for Windows | [grafana.2.0.1.windows-x64.zip](https://grafanarel.s3.amazonaws.com/winbuilds/dist/grafana-2.0.1.windows-x64.zip)
|
|
|
|
|
|
|
|
## Configure
|
|
|
|
The zip file contains a folder with the current grafana version. Extract this folder to anywhere you want Grafana to run from.
|
|
|
|
Go into the `conf` directory and copy `sample.ini` to `custom.ini`. You should edit `custom.ini`, never `defaults.ini`.
|
|
|
|
|
|
|
|
The default grafana port is `3000`, this port requires extra permissions on windows. Edit `custom.ini` and uncomment the `http_port`
|
|
|
|
config and change it to something like `8080` or similar. That port should not require extra windows privileges.
|
|
|
|
|
|
|
|
Start grafana by executing `grafana-server.exe`, preferbly from the command line. If you want to run Grafana as
|
|
|
|
windows service, download [NSSM](https://nssm.cc/). It is very easy add grafana as windows service using that tool.
|
|
|
|
|
|
|
|
Read more about the [configuration options](configuration.md).
|
2015-04-13 14:14:13 +08:00
|
|
|
|
2015-04-19 15:44:14 +08:00
|
|
|
## Building on Windows
|
2015-04-13 14:14:13 +08:00
|
|
|
|
2015-04-19 15:44:14 +08:00
|
|
|
The Grafana backend includes Sqlite3 which requires GCC to compile. So in order to compile Grafana on windows you need
|
|
|
|
to install GCC. We recommend [TDM-GCC](http://tdm-gcc.tdragon.net/download).
|
|
|
|
|
|
|
|
Copy conf/sample.ini to a file named conf/custom.ini and change the web server port to something like 8080. The default
|
|
|
|
Grafana port(3000) requires special privileges on Windows.
|