10 2018 档案

摘要:## Rsync搭建 ### 1.1 环境准备 ``` Rsync-Server 192.168.1.174 Client-Rsync 192.168.1.173 服务启动用户都是root,客户端的用户也是root [root@Rsync-Server file]# systemctl stop firewalld [root@Rsync-Server file]# getenforce ... 阅读全文
posted @ 2018-10-19 17:33 阿进,fighting 阅读(340) 评论(0) 推荐(0)
摘要:公司需求统计Mos代码行数 方法一:用git 方法二:用python工具(gitstats)统计 阅读全文
posted @ 2018-10-17 14:14 阿进,fighting 阅读(239) 评论(0) 推荐(0)
摘要:ELK+Filebeat收集多台机器不同日志 采坑:在使用了6.0版本的ELK以后,使用如上配置,if [type]匹配不到在filebeat里面使用document_type定义的字符串。在多次调试和询问后,发现在6.0版本以上已经取消了document_type的定义。如果要实现以上的配置只能使 阅读全文
posted @ 2018-10-09 18:15 阿进,fighting 阅读(432) 评论(0) 推荐(0)