ubuntu16.04LTS 64位 下载influxdb

 

wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.0_amd64.deb

sudo dpkg -i influxdb_1.2.0_amd64.deb

sudo service influxdb start

由于influxdb1.1之后的版本不再支持web界面,根据网上的解决方案修改配置文件

cd /etc/influxdb
sudo vi influxdb.conf
将部分#去掉,如下图

 [admin]
    #Determines whether the admin service is enabled.
    enabled = true 

    #The default bind address used by the admin service.
    bind-address = ":8083"

    #Whether the admin service should use HTTPS.
    #https-enabled =false 

    #The SSL certificate used when HTTPS is enabled.
    #https-certificate = "/etc/ssl/influxdb.pem"

因某原因,我下载的influxdb无法通过/etc/init.d/influxdb restart 进行重启

可以通过

etc/influxdb$ sudo service influxdb stop
/etc/influxdb$ sudo service influxdb start

成功访问web界面!

这里多谢网络上的朋友的帮助,网址为http://caimengzhi.blog.51cto.com/9787265/1895306

 

posted on 2017-02-15 10:14  风靡oopp  阅读(536)  评论(0编辑  收藏  举报

导航