Refer to Get Started to learn how to build your first dashboard.Open a terminal and go to the directory where you copied the install setup files.Īfter the Grafana server is up and running, consider taking the next steps:.Use the Homebrew restart command: brew services restart grafana Restart methods differ depending on whether you installed Grafana using Homebrew or as standalone macOS binaries. To restart the Grafana server, complete the following steps: Edit custom.ini and uncomment the http_port configuration option ( is the comment character in ini files) and change it to something similar to 8080, which should not require extra Windows privileges. Note: You should edit custom.ini, never defaults.ini.ī. In the conf directory, copy sample.ini to custom.ini. To change the port, complete the following steps:Ī. If it does not appear in the default port, you can try changing to a different port. This port might require extra permissions on Windows. To run Grafana, open your browser and go to the Grafana port ( is default). If you want to run Grafana as a Windows service, you can download NSSM. We recommend that you run grafana-server.exe from the command line. To restart the running container, use this command:Ĭomplete the following steps to start the Grafana server on Windows:Įxecute grafana-server.exe, which is located in the bin directory. This starts the Grafana server container in detached mode along with the two plugins specified in the YAML file. GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-polystat-panel Docker compose exampleĬonfigure your docker-compose.yml file. For more information, refer to docker compose documentation. To restart the Grafana service, use the docker restart command.Īlternatively, you can use the docker compose restart command to restart Grafana. To start the Grafana server, run the following command. tar.gz needs the working directory to be the root install directory where the binary and the public folder are located. To restart the Grafana server, run the following commands: sudo service grafana-server restart To configure the Grafana server to start at boot, run the following command: sudo update-rc.d grafana-server defaults To verify that the service is running, run the following command: sudo service grafana-server statusĬonfigure the Grafana server to start at boot using init.d To start the Grafana server, run the following commands: sudo service grafana-server start Start the Grafana server using init.dĬomplete the following steps to start the Grafana server using init.d and verify that it is running: Note: SUSE or OpenSUSE users might need to start the server with the systemd method, then use the init.d method to configure Grafana to start at boot. To restart the Grafana server, run the following commands: sudo systemctl restart grafana-server # namespace and thus CAP_NET_BIND_SERVICE has no effect. # A private user cannot have process capabilities on the host's user # Give the CAP_NET_BIND_SERVICE capabilityĬapabilityBoundingSet=CAP_NET_BIND_SERVICE To learn more about capabilities, refer to capabilities(7) - Linux manual page. # Alternatively, create a file in /etc/systemd/system//nfĪdd the following additional settings to grant the CAP_NET_BIND_SERVICE capability. Run the following command to create an override file in your configured editor. If you are using systemd and want to start Grafana on a port that is lower than 1024, you must add a systemd unit override. To configure the Grafana server to start at boot, run the following command: sudo systemctl enable rvice To verify that the service is running, run the following command: sudo systemctl status grafana-serverĬonfigure the Grafana server to start at boot using systemd To start the service, run the following commands: sudo systemctl daemon-reload Start the Grafana server with systemdĬomplete the following steps to start the Grafana server using systemd and verify that it is running: You should follow only one set of instructions, depending on how your machine is configured. The following subsections describe three methods of starting and restarting the Grafana server: with systemd, initd, or by directly running the binary. tar.gz file, then you execute the binary. deb package, then you can start the server using systemd or init.d. If you installed with the APT repository or. The following instructions start the grafana-server process as the grafana user, which was created during the package installation. For certain configuration changes, you might have to restart the Grafana server for them to take effect. This topic includes instructions for starting the Grafana server. Enterprise Open source Start the Grafana server
0 Comments
Leave a Reply. |