wget https://dl.influxdata.com/influxdb/releases/influxdb_1.2.0_amd64.debweb
sudo dpkg -i influxdb_1.2.0_amd64.deb網絡
sudo service influxdb startspa
因爲influxdb1.1以後的版本再也不支持web界面,根據網上的解決方案修改配置文件rest
cd /etc/influxdb
sudo vi influxdb.conf
將部分#去掉,以下圖code
[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 進行重啓blog
能夠經過flux
etc/influxdb$ sudo service influxdb stop
/etc/influxdb$ sudo service influxdb start
成功訪問web界面!ssl
這裏多謝網絡上的朋友的幫助,網址爲http://caimengzhi.blog.51cto.com/9787265/1895306get