我通过 brew 安装了 Grafana:
brew install grafana
似乎安装位置在这里:
/usr/local/Cellar/grafana/4.3.2
现在如何启动Graphana服务?
“服务”命令在 Mac 上不存在。
尝试过:
brew services start grafana
并得到以下错误:
==> Tapping homebrew/services
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-services'...
fatal: unable to access 'https://github.com/Homebrew/homebrew-services/': The requested URL returned error: 403
Error: Failure while executing: git clone https://github.com/Homebrew/homebrew-services /usr/local/Homebrew/Library/Taps/homebrew/homebrew-services --depth=1
Error: Failure while executing: /usr/local/bin/brew tap homebrew/services
在 Mac 上启动 Grafana 的正确方法是什么?
最佳答案
使用 Brew 在 Mac 上安装 grafana。
Install and download Docker from this link - https://docs.docker.com/v17.12/docker-for-mac/install/#download-docker-for-mac.
You can launch the your terminal. Install latest stable:
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
$ brew install grafana
$ brew update
$ brew install grafana
To start Grafana using homebrew services first make sure homebrew/services is installed.
$ brew tap homebrew/services
Then start Grafana using:
$ brew services start grafana
Default login and password admin/ admin - http://localhost:3000
关于macos - 如何在 Mac 上启动 Grafana?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44751383/