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