摘要: # This file is generated from information provided by# the datasource. Changes to it will not persist across an instance.# To disable cloud-init's network configuration capabilities, write a file# /e... 阅读全文
posted @ 2019-01-13 15:53 泽林博客 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1.下载http://archive.apache.org/dist/httpd/httpd-2.2.0.tar.gztar -xvf httpd-2.2.0.tar.gz2.安装./configure --enable-somakemake install3.启动/usr/local/apache2/bin/apachectl start启动报错: httpd: Could not reliab... 阅读全文
posted @ 2019-01-12 12:59 泽林博客 阅读(584) 评论(0) 推荐(0) 编辑
摘要: 显示行号用::set nu:49>5 从第49行开始,连接5行右移一个tab。:49,93> 从第49行开始到93行右移一个tab选中多行,然后移动https://jingyan.baidu.com/article/1612d5008ea0b8e20e1eee81.html 阅读全文
posted @ 2019-01-06 16:53 泽林博客 阅读(5363) 评论(0) 推荐(0) 编辑
摘要: 官方下载,支持maven的最新版本是5.3https://github.com/apereo/cas-overlay-template/tree/5.3默认是没有src文件夹的需求手动创建,application.properties 文件在build后会生成在classes文件夹中copy进来就好。然后修改证书路径和密码如下图构建并运行https://cas.server.com:8443/ca... 阅读全文
posted @ 2019-01-01 04:01 泽林博客 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 1.下载安装wget http://dl.influxdata.com/influxdb/releases/influxdb-1.7.2.x86_64.rpmhttps://portal.influxdata.com/downloads 官方提供的下载是https改成http后下载sudo yum localinstall influxdb-1.7.2.x86_64.rpm2.启动运行influx... 阅读全文
posted @ 2018-12-31 21:29 泽林博客 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 1. 生成api key 参考: http://docs.grafana.org/http_api/auth/ 2.点击添加后,生成了个获取一个deshboards的api样例 3.放到linux上运行测试,结果成功返回。 4. 有些api并不支持使用api key 来连接,如下图中的搜索用户接口, 阅读全文
posted @ 2018-12-30 15:38 泽林博客 阅读(5068) 评论(0) 推荐(0) 编辑
摘要: vim grafana-5.4.2/conf/defaults.ini grafana默认使用sqlite3使用后台数据库,可选用mysql,postgres,sqlite3. 重新启动 注意: grafana不会自动创建数据库,需求手动在mysql server创建数据库,不然会提示如下错误: 阅读全文
posted @ 2018-12-30 13:11 泽林博客 阅读(2403) 评论(0) 推荐(0) 编辑
摘要: CREATE USER 'user_name'@'%' IDENTIFIED BY '12345'; -- % 代表所有ip可以访问GRANT all ON *.* TO 'user_name'@'%';flush privileges; -- 重启mysql 阅读全文
posted @ 2018-12-30 12:43 泽林博客 阅读(151) 评论(0) 推荐(0) 编辑
摘要: https://grafana.com/plugins/grafana-simple-json-datasource 1.安装方法很简单,下载后解压放到plugins目录就好。 我的是解决版的grafana所有放到../data/plugins目录下 2. 重启grafana后就可以在数据源中添加s 阅读全文
posted @ 2018-12-29 23:46 泽林博客 阅读(4015) 评论(0) 推荐(0) 编辑
摘要: 1.下载解压 2.make编译 3.提示没有安装安装gcc,安装gcc 4.make 提示error: jemalloc/jemalloc.h: No such file or directory 5. make test 提示 You need tcl 8.5 or newer in order 阅读全文
posted @ 2018-12-29 22:52 泽林博客 阅读(232) 评论(0) 推荐(0) 编辑