打赏

星辰大海ゞ

That which does not kill us makes us stronger!

导航

2015年11月13日 #

定制sudo的密码保持时间以及如何不需要密码

摘要: Sudo密码保持时间设置:先输入命令vim /etc/sudoers找到下面行Defaults env_reset 改变此行为下面这样: Defaults env_reset , timestamp_timeout=30 30就是代表时间,你可以设置为 10 或 30 ,表示10分钟或半小时。为了方 阅读全文

posted @ 2015-11-13 09:47 星辰大海ゞ 阅读(403) 评论(0) 推荐(0) 编辑

Graylog安装配置

摘要: ES集群健康检测:curl -sXGET http://localhost:9200/_cluster/health?pretty=true | grep "status" | awk -F '[ "]+' '{print $4}' | grep -c "green" ES节点健康检测:curl - 阅读全文

posted @ 2015-11-13 09:44 星辰大海ゞ 阅读(6545) 评论(0) 推荐(0) 编辑