InfluxDB on ISPconfig

Discussion in 'ISPConfig 3 Priority Support' started by alkonius, Jan 10, 2017.

  1. alkonius

    alkonius New Member

    Hello everyone,
    I use ISPconfig for small webs, nothing commercial, mostly friends and family. I was wondering if there is a way to run influxDB under ISPconfig.
    It does not need to be isolated only for crtain client/web but it will help if it would be. The reason behind is weather station web, from a known IP, UDP will will feeding InfluxDB and web in certain /cleintx/webxx will gather the data and create graphs.

    Since there is no mention of influx DB anywhere in relation with ISPconfig, I assume, its not common/easy/secure but maybe just no one needed that. So, would it be doable on Centos (via perfect server guide)
    Thx
     
  2. sjau

    sjau Local Meanie Moderator

    You should just be able to install them. InfluxDB does not interfere with ISPC as far as I can see.
    https://docs.influxdata.com/influxdb/v0.9/introduction/installation/#redhat-centos

    Add repository:
    Code:
    cat <<EOF | sudo tee /etc/yum.repos.d/influxdb.repo
    [influxdb]
    name = InfluxDB Repository - RHEL \$releasever
    baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable
    enabled = 1
    gpgcheck = 1
    gpgkey = https://repos.influxdata.com/influxdb.key
    EOF
    
    and then install it
    Code:
    sudo yum install influxdb
    sudo service influxdb start
    
    and if you wanna get it autostarted on reboot you have to add this I think:
    Code:
    sudo /sbin/chkconfig --add influxdb
    sudo /sbin/chkconfig influxdb on
    
    I'm not a RH/CentOS guy... I prefer Debian(-based) distros.
     
    till likes this.

Share This Page