Rate This Document
Findability
Accuracy
Completeness
Readability

Running InfluxDB Installed Using an RPM Package

  1. Start InfluxDB.
    • Method 1: Start InfluxDB through the system service.
      1. Start the InfluxDB service.
        1
        systemctl start influxdb.service
        
      2. Check the service status.
        1
        systemctl status influxdb.service
        

      3. Optional: Stop the service.
        1
        systemctl stop influxdb.service
        
    • Method 2: Run a system command.
      1
      nohup influxd & 
      

      Or

      1
      influxd
      

      Run the influxd command. The output shows that the data directory is /root/.influxdbv2/.

  2. Check the process.
    1
    ps -ef | grep influx
    
  3. Query the port.
    1
    netstat -anpt | grep 8086
    

    Stop InfluxDB.

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