Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Here are the steps to install Grafana on Windows under the path "D:\otx\sw\otwatch\grafana":

  1. Download the latest version of Grafana from the official website and save it to your desired location, in this case "D:\otx\sw\otwatch\grafana".

  2. Extract the downloaded archive to the same folder by right-clicking the downloaded file and selecting "Extract All...".

  3. Open the "defaults.ini" file located in "D:\otx\sw\otwatch\grafana\conf" in a text editor.

  4. Configure Grafana by setting the necessary parameters such as the HTTP port, data storage path, and security settings. Save the file.

  5. Open the command prompt as an administrator and navigate to the "D:\otx\sw\otwatch\grafana\bin" folder.

  6. Start Grafana by running the command "grafana-server.exe".

  7. Verify that Grafana has started properly by opening the URL http://localhost:3000 in a web browser. The Grafana login page should be displayed.

  8. Log in to Grafana with the default username "admin" and password "admin".

  9. You can now start creating your dashboards and visualizations in Grafana.

Note: If you want to run Grafana as a Windows service, you can use NSSM to create the service. The steps are similar to those for Prometheus, except you would use the path to the "grafana-server.exe" file and set the necessary arguments in the "Arguments" field. For more information, refer to the official Grafana documentation.