macos - 如何在 Mac 上启动 Grafana?

标签 macos service installation grafana

我通过 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/

相关文章:

c++ - 如何解决 OSX cctools 中的构建错误?

Windows 任务计划程序将只运行一次应用程序

android - 创建通知时出现空指针异常

java - Install4j:将服务图标添加到系统托盘

python - 安装 PyQt5 时出现 FileNotFoundError

installation - NSIS - 仅在安装完成时运行程序

installation - 独立 Windows .exe 与安装程序相比有何优势?

python - ImportError:适用于 osx,不适用于 ubuntu

python - "import site' 失败;使用 -v 进行回溯”- mac os lion,python 2.7,子进程

macos - 不能使用带有私用Pem key 的ssh(找不到dlopen镜像)