2015年10月3日
摘要: 关于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 技术江湖-小焕 阅读(937) 评论(0) 推荐(0) 编辑
摘要: 1.spring-data-redis与Jedis简单整合spring-data-redis与Jedis简单整合,Redis没有任何集群只是单节点工作,使用连接池1.创建spring-context-jedis.xml配置文件 --> ... 阅读全文
posted @ 2015-10-03 15:45 技术江湖-小焕 阅读(13194) 评论(1) 推荐(3) 编辑
  2015年10月2日
摘要: 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 技术江湖-小焕 阅读(2742) 评论(0) 推荐(5) 编辑
摘要: 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 技术江湖-小焕 阅读(411) 评论(0) 推荐(0) 编辑
  2015年10月1日
摘要: 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 技术江湖-小焕 阅读(11852) 评论(0) 推荐(2) 编辑
摘要: 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 技术江湖-小焕 阅读(29332) 评论(0) 推荐(2) 编辑
摘要: # 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 技术江湖-小焕 阅读(919) 评论(0) 推荐(0) 编辑
摘要: 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 技术江湖-小焕 阅读(873) 评论(0) 推荐(1) 编辑
  2015年9月9日
摘要: 1.创建数据库及表 使用\apache-ftpserver-1.0.6\res\ftp-db.sql建表,内容如下: CREATE TABLE FTP_USER ( userid VARCHAR(64) NOT NULL PRIMARY KEY, userpassword VARCHAR(64), 阅读全文
posted @ 2015-09-09 13:27 技术江湖-小焕 阅读(909) 评论(0) 推荐(0) 编辑
摘要: 1.解压Apache FTPServer将下载下来的压缩包(ftpserver-1.0.6.zip)解压到本地,其目录结构如下图:2.修改users.properties修改 \apache-ftpserver-1.0.6\res\conf\users.properties这个文件,管理FTP服务器用户# Password is "admin"ftpserver.user.admin.userpa... 阅读全文
posted @ 2015-09-09 13:26 技术江湖-小焕 阅读(7816) 评论(0) 推荐(0) 编辑