redis种种配置
来源:互联网 发布:seo教程 百度云 编辑:程序博客网 时间:2024/06/12 21:39
string map list set sortedset redis相对于memecached支持了更多的数据类型。
redis发展。意大利人开发、小岛名。
redis应用场景:
缓存(session跨域)队列 数据库查询
正如和map里取数据一样
引爆热点
短连接
应用排行榜
cd /opt
wget http://download.redis.io/releases/redis-3.2.5
cd /usr/share/locale/
ll
cd zh_CN
cd LC_MESSAGES/
mv wget.mo wget.mo.bak
yum -y install gettext
mkdir aa
cd aa
wget
tar zx
cd redis-3.2.5
make
logfile "/usr/local"
redis-server ./redis.conf
cp ./redis.conf ../slave/
cd..
cd slave/
ll
vim redis.conf
port 6389
pidfile /usr/local/redis/slave/pid/redis_6380.pid
logfile "/usr/local/redis"
mkdir pid
redis -server./reids.conf
ps aux|grep redis
一主一从
redis -cli -h 192.168.101.5 -p 6380
slaveof 192.168.101.5 6379
info
slaveof 192.168.101.5 6379
ps aus|grep redis
redis -server ./redis.co
当我们服务已启动,从机就连接上了
redis -server ./redis.conf
info
cd /opt/
cd redis-3.2.5
ll
sentinel monitor 192.168.101.5 6379 1
ps aux|grep redis
redis -server /usr/local/redis/master
ps aux|grep redis
cd /usr/local/redis/
cd master/
redis -srver ./redis.concd redis-3.2.5
redis -sentinel ./sentinel.conf
vim ./sen
ps aux|grep redis
kill -9 4853
redis -cli -h 192.168.101.5 -h 6380
c语言开发的键值对的数据库
- redis种种配置
- VC 一些配置问题, include, lib 种种
- ubuntu14.04 配置opencv249种种问题记录
- struts2中Convention中的basePackage与locators配置种种
- win7+vs2010配置驱动开发环境(问题种种版...)
- <转>struts2中Convention中的basePackage与locators配置种种
- struts2中Convention中的basePackage与locators配置种种
- struts2中Convention中的basePackage与locators配置种种
- win7+vs2010配置驱动开发环境(问题种种版...)
- struts2中Convention中的basePackage与locators配置种种
- 20170116百转千回:配置Python和Spyder的种种问题
- Redis - 02. 配置Redis
- Redis configuration Redis 配置
- Redis配置
- redis配置
- redis配置
- redis配置
- redis配置
- OpenCV3.0中的离散傅里叶变换
- RCNN到YOLO
- hdu1015Safecracker
- 十四周项目5
- 字母缩写
- redis种种配置
- poj 1321 棋盘问题
- Depth Estimation From Stereo Video
- SpringMVC自定义参数绑定
- 1006. Team Rankings
- poj3253-贪心选择
- 12.16
- POJ 3713 Transferring Sylla 已翻译
- Hibernate关系映射之多对多映射的两种方式