linux
文章平均质量分 66
jaysuper
这个作者很懒,什么都没留下…
展开
-
Unable to determine name from existing gemspec. Use :name => 'gemname' in #install_tasks to manually
rake aborted!Unable to determine name from existing gemspec. Use :name => 'gemname' in #install_tasks to manually set it./usr/local/lib/fluent/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.2.1/lib/bundl原创 2012-09-27 17:58:24 · 1889 阅读 · 0 评论 -
Redhat linux 下 fluentd+fluentd 实现桥接
实验环境为2台测试机分别为Server201(192.168.10.201)和Server202(192.168.19.202),分别安装好fluentd,具体安装步骤不再累述。重点描述2台机器上的配置,目的是将Server202上的日志,通过fluentd桥接的方式,放置到Server201下的某个目录。1、Server202上fluentd.conf: type tail原创 2012-09-28 10:24:29 · 3346 阅读 · 1 评论 -
fluentd+mongodb 单机和复制集配置
1、mongodb单机配置 type mongo database apache collection fmongo host Server202 port 10001 flush_interval 1s2、mongodb复制集配置 type mongo_replset database apache collection fmong原创 2012-09-28 14:28:52 · 1204 阅读 · 0 评论 -
fluentd http发送日志测试
测试环境,1台linux服务器(192.168.19.201),已经安装好fluentd默认http方式接收日志是打开的,如下配置# http://localhost:8888/?json= type http port 8888参数说明表示为日志标签,为了在Match部分进行匹配json为固定字符,表示后面要输入json格式的数据为具体输入的jso原创 2012-09-28 12:03:25 · 2243 阅读 · 0 评论 -
利用log4mongo-java+mongodb复制集搭建java日志系统
可以将log4j的日志文件写入到mongodb中,原文方法如下Download and install MongoDB from http://www.mongodb.org/downloads Start mongod running on localhost on the default portDownload the Mongo Java driver jarfileDownlo原创 2012-10-11 16:34:51 · 10414 阅读 · 2 评论 -
ActiveMQ 3个broker配置
第一个borker配置摘录: 第二个broker配置摘录: 第三个broker配置摘录: 分别启原创 2013-05-28 16:46:38 · 8310 阅读 · 1 评论 -
ActiveMQ 桥接
使用目的:将本地产生的消息转发到远程,通过远程服务器来处理消息,处理完成后,再启动消费者处理本地服务器消息(验证消息是否被转走,本地无消息可处理为正常)消息在下面的地址被消费,无需任何特别配置,采用默认的配置即可。114.113.145.63:61616生产消息地址为localhost:7001,需要做如下配置。 tcp://localhost:700原创 2013-05-29 16:28:13 · 2582 阅读 · 0 评论 -
ActiveMQ桥接以及负载分担
ActiveMQ可以实现多个mq之间进行路由,假设有两个mq,分别为brokerA和brokerB,当有一条消息发送到brokerA的队列test中,有一个客户端连接到brokerB上,并且要求获取test队列的消息时,brokerA中队列test的消息就会路由到brokerB上,反之brokerB的消息也会路由到brokerA。如果只通过brokerB来消费消息,可以实现桥接。如果通过broke原创 2013-05-28 16:13:40 · 5822 阅读 · 0 评论 -
ActiveMQ 本地转本地再转远程的完整配置
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding原创 2013-05-29 16:44:38 · 4279 阅读 · 0 评论