摘要: 可能有多个网卡包括虚拟网卡,需要进行排除 阅读全文
posted @ 2018-04-18 19:12 jugglee 阅读(4278) 评论(0) 推荐(0)
摘要: 将配置文件中的auth.anonymous的enabled设置为true就可以匿名登录,不用输入用户名和密码 org_role设置为Viewer时只能进行查看。 阅读全文
posted @ 2018-04-16 19:22 jugglee 阅读(9564) 评论(0) 推荐(0)
摘要: 配置文件位置 /usr/local/opt/grafana/share/grafana/default.ini /usr/local/etc/grafana/grafana.ini 配置文件调用顺序 1、grafana启动时,首先会调用/usr/local/opt/grafana/share/gra 阅读全文
posted @ 2018-04-16 19:16 jugglee 阅读(813) 评论(0) 推荐(0)
摘要: -l <SUBSET>, --limit <SUBSET> further limit selected hosts to an additional pattern 限制脚本只在指定的ip对应的机器上执行。 阅读全文
posted @ 2018-04-08 20:05 jugglee 阅读(1364) 评论(0) 推荐(0)
摘要: 在MySQL命令行输入如下命令: 然后重启MySQL服务。 阅读全文
posted @ 2018-04-08 19:55 jugglee 阅读(1438) 评论(0) 推荐(0)
摘要: 配置文件格式 如下的配置参数格式都支持: Key = ValueKey = Key:ValueKey :Value 用法 getProperty方法的返回值是String类型。 阅读全文
posted @ 2018-04-08 17:34 jugglee 阅读(1567) 评论(0) 推荐(0)
摘要: 发送SIGHUP信号给应用程序的主进程: ‘’-1‘’是指“终端断线” 发送post请求给指定端点: 阅读全文
posted @ 2018-04-02 19:41 jugglee 阅读(5715) 评论(0) 推荐(0)
摘要: SLAVEOF host port SLAVEOF 命令用于在 Redis 运行时动态地修改复制(replication)功能的行为。 通过执行 SLAVEOF host port 命令,可以将当前服务器转变为指定服务器的从属服务器(slave server)。 如果当前服务器已经是某个主服务器(m 阅读全文
posted @ 2018-04-02 10:14 jugglee 阅读(1407) 评论(0) 推荐(0)
摘要: 哨兵机制 识别挂掉的主节点 quorum(法定人数) 是判定主节点不能访问所需要的最少哨兵数量 执行失效备援perform a failover 其中一个哨兵需要被选为救援的领导,并被授权执行救援,而这需要过半数的哨兵同意 So for example if you have 5 Sentinel 阅读全文
posted @ 2018-03-29 18:58 jugglee 阅读(4702) 评论(1) 推荐(1)
摘要: 查看状态 iptables -L -n 编辑/etc/sysconfig/iptables -A INPUT -p tcp -m tcp --dport 4000 -j ACCEPT 重启 service iptables restart 阅读全文
posted @ 2018-03-29 17:57 jugglee 阅读(9164) 评论(0) 推荐(0)