随笔 - 53  文章 - 0  评论 - 36  阅读 - 26万 
10 2015 档案
03.Curator深入使用
摘要:1.Apache Curator简介 Curator提供了一套Java类库,可以更容易的使用ZooKeeper。ZooKeeper本身提供了Java Client的访问类,但是API太底层,不宜使用,易出错。Curator提供了三个组件。Curator client用来替代ZOoKeeper提供的类,它封装了底层的管理并提供了一些有用的工具。Curator framework提供了高级的AP... 阅读全文
posted @ 2015-10-31 22:27 技术江湖-小焕 阅读(10718) 评论(1) 推荐(3) 编辑
02.ZooKeeper的Java客户端使用
摘要:1.ZooKeeper常用客户端比较1.ZooKeeper常用客户端 zookeeper的常用客户端有3种,分别是:zookeeper原生的、Apache Curator、开源的zkclient,下面分别对介绍它们:zookeeper自带的客户端是官方提供的,比较底层、使用起来写代码麻烦、不够直接。Apache Curator是Apache的开源项目,封装了zookeeper自带的客户端,使... 阅读全文
posted @ 2015-10-30 16:42 技术江湖-小焕 阅读(16974) 评论(0) 推荐(8) 编辑
01.ZooKeeper安装和介绍
摘要:1.ZooKeeper安装和启动1.下载解压ZooKeeperZooKeeper官方地址:http://zookeeper.apache.org/ 下载当前稳定版本:zookeeper-3.4.6.tar.gz 解压如下:[lizhiwei@localhost ZooKeeper]$ tar -zxvf zookeeper-3.4.6......[lizhiwei@localhost ZooKee... 阅读全文
posted @ 2015-10-19 23:00 技术江湖-小焕 阅读(999) 评论(0) 推荐(1) 编辑
02.Elasticsearch入门
摘要:Elasticsearch支持Http类型的Restful风格API请求,需要打开9200端口。Elasticsearch服务会监听两个端口9200和9300,9200提供Http Restful访问,9300端口用于集群内节点内部通信。 关于Elasticsearch Http Restful API可参考:https://www.elastic.co/guide/en/elast... 阅读全文
posted @ 2015-10-10 17:33 技术江湖-小焕 阅读(817) 评论(0) 推荐(0) 编辑
01.Elasticsearch安装
摘要:1.下载运行Elasticsearch1.下载解压elasticsearchElasticsearch官网地址:https://www.elastic.co/ Elasticsearch最新版下载地址:https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html 下载文件elasticsearch-1.7.2.... 阅读全文
posted @ 2015-10-09 21:22 技术江湖-小焕 阅读(773) 评论(0) 推荐(0) 编辑
01.ActiveMQ安装部署
摘要:1.下载安装ActiveMQ 下载地址:http://activemq.apache.org/download-archives.html选择相应的版本,笔者选择的是:apache-activemq-5.9.0-bin.tar.gz 解压文件: [wch@localhost ActiveMQ]$ t 阅读全文
posted @ 2015-10-08 22:56 技术江湖-小焕 阅读(1070) 评论(0) 推荐(0) 编辑
02.XMemcached的使用
摘要:关于XMemcached的介绍或文档请参考:https://code.google.com/p/xmemcached/wiki/User_Guide_zh 关于Memcached的命令及使用请参考:http://www.runoob.com/memcached/memcached-stats.html1.XMemcached基本使用1.使用XMemcached的简单例子public ... 阅读全文
posted @ 2015-10-03 21:44 技术江湖-小焕 阅读(951) 评论(0) 推荐(0) 编辑
04.spring-data-redis与Jedis整合使用
摘要:1.spring-data-redis与Jedis简单整合spring-data-redis与Jedis简单整合,Redis没有任何集群只是单节点工作,使用连接池1.创建spring-context-jedis.xml配置文件 --> ... 阅读全文
posted @ 2015-10-03 15:45 技术江湖-小焕 阅读(13260) 评论(1) 推荐(3) 编辑
03.RedisJava客户端Jedis的使用
摘要:1.Jedis基本使用 使用Jedis客户端使用Redis服务与在服务器上通过redis-cli使用命令基本一样,关于Redis命令请参考:http://www.redis.cn/commands.html、http://www.runoob.com/redis/redis-commands.htm 阅读全文
posted @ 2015-10-02 23:52 技术江湖-小焕 阅读(2762) 评论(0) 推荐(5) 编辑
01.安装Memcached
摘要:1.安装Memcached1.下载Memcached及其依赖下载memcached-1.4.24.tar.gz和libevent-2.0.22-stable.tar.gz文件并解压如下:[lizhiwei@localhost libevent]$ tar -zxvf libevent-2.0.22-stable.tar.gz [lizhiwei@localhost Memcached]$ tar ... 阅读全文
posted @ 2015-10-02 12:26 技术江湖-小焕 阅读(416) 评论(0) 推荐(0) 编辑
sentinel.conf配置
摘要:1.常用的配置port 26379# sentinel announce-ip # sentinel announce-port dir /tmp################################# master001 #################################sentinel monitor master001 192.168.110.101 6379 2#... 阅读全文
posted @ 2015-10-01 22:11 技术江湖-小焕 阅读(11881) 评论(0) 推荐(2) 编辑
02.Redis主从集群的Sentinel配置
摘要:1.集群环境 1.Linux服务器列表 使用4台CentOS Linux服务器搭建环境,其IP地址如下: 192.168.110.100 192.168.110.101 192.168.110.102 192.168.110.103 2.Redis服务部署环境 192.168.110.100 192 阅读全文
posted @ 2015-10-01 22:05 技术江湖-小焕 阅读(29390) 评论(0) 推荐(2) 编辑
redis.conf配置
摘要:# Redis configuration file example# Redis示例配置文件# Note on units: when memory size is needed, it is possible to specify# it in the usual form of 1k 5GB 4M and so forth:# 注意单位问题:当需要设置内存大小的时候,可以使用类似1k、5GB... 阅读全文
posted @ 2015-10-01 20:28 技术江湖-小焕 阅读(931) 评论(0) 推荐(0) 编辑
01.Redis安装
摘要:1.安装Redis 1.下载、解压Redis [wch@localhost Redis]$ ll total 1248 -rwxrwxr-x.1 wch wch 1276198Sep2023:31 redis-2.8.22.tar.gz [wch@localhost Redis]$ tar -zxv 阅读全文
posted @ 2015-10-01 19:58 技术江湖-小焕 阅读(875) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示