使用Homebrew安装
brew install influxdb
ln -sfv /usr/local/opt/influxdb/*.plist ~/Library/LaunchAgents
配置文件在/etc/influxdb/influxdb.conf ,如果没有就将/usr/local/etc/influxdb.conf 拷一个过去
配置缓存:cache-max-memory-size
启动服务
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.influxdb.plist
停止服务
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.influxdb.plist
前台启动
influxd -config /usr/local/etc/influxdb.conf
查看influxdb运行配置
influxd config
网友评论