鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

RPM运行

  1. 启动influxDB
    • 方式一:通过系统服务启动。
      1. 启动influxDB服务。
        1
        systemctl start influxdb.service
        
      2. 查看服务状态。
        1
        systemctl status influxdb.service
        

      3. 可选:停止服务。
        1
        systemctl stop influxdb.service
        
    • 方式二:通过系统命令启动。
      1
      nohup influxd & 
      

      或者

      1
      influxd
      

      执行influxd,回显中可以看到数据目录“/root/.influxdbv2/”

  2. 查看进程。
    1
    ps -ef | grep influx
    
  3. 查看端口。
    1
    netstat -anpt | grep 8086
    

    关闭influxdb。

    1
    2
    ps -ef | grep influx
    kill -9 PID