摘要: 1.1 编写shell脚本 这里使用的是编写shell脚本的方式来处理 vi /etc/init.d/nginx (输入下面的代码) :wq 保存并退出 1.2 设置文件的访问权限 chmod a+x /etc/init.d/nginx (a+x ==> all user can execute 所 阅读全文
posted @ 2017-05-26 14:30 SummerChill 阅读(492) 评论(0) 推荐(0) 编辑
摘要: Flume组件 1. Source NetCat Source:绑定的端口(tcp、udp),将流经端口的每一个文本行数据作为Event输入; type:source的类型,必须是netcat。 bind:要监听的(本机的)主机名或者ip。此监听不是过滤发送方。一台电脑不是说只有一个IP。有多网卡的 阅读全文
posted @ 2017-05-26 12:54 SummerChill 阅读(1467) 评论(0) 推荐(0) 编辑