Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
162 views
in Technique[技术] by (71.8m points)

influxDB的启动相关问题

问题描述

我想安装并启动influxDB进行一些学习和实践。目前我只是使用了brew安装了influxDB,很多教程里都在启动前加了两个步骤:

_ln -sfv /usr/local/opt/influxdb/*.plist ~/Library/LaunchAgents

_launchctl load ~/Library/LaunchAgents/homebrew.mxcl.influxdb.plist

我大概知道这是和开机自启相关的命令,但我不知道这是不是必须的步骤。

问题出现的平台版本及自己尝试过哪些方法

macOS 10.15.3
influxDB 1.7.9

你期待的结果是什么?实际看到的错误信息又是什么?

希望能大佬告知下这个为什么要加入这个步骤,以及这一步是否是必须的。
谢谢!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

以上问题没有解决,因为是练习,所以暂时直接使用brew启动服务:

// 启动服务
brew services start influxdb
// ==> Successfully started `influxdb` (label: homebrew.mxcl.influxdb)

// 使用
influx -precision rfc3339
// Connected to http://localhost:8086 version v1.7.9
// InfluxDB shell version: v1.7.9

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...