一安装
redis安装到window中去
1:下载widow的安装包
2:解压切换到对应的目录下shift + 鼠标右键
3: 安装到window的服务中去
redis-server --service-install redis.windows.conf
可以安装多个实例
1、redis-server --service-install –service-name redisService1 –port 10001
2、redis-server --service-start –service-name redisService1
3、redis-server --service-install –service-name redisService2 –port 10002
4、redis-server --service-start –service-name redisService2
5、redis-server --service-install –service-name redisService3 –port 10003
6、redis-server --service-start –service-name redisService3
4:操作命令
redis-server --service-start 启动
redis-cli.exe -h 127.0.0.1 -p 6379 客户端命令行链接
链接