标签:
1、第一步安装成windows服务的,开机自启动
redis-server --service-install redis.windows.conf
2、启动\关闭
redis-server --service-start
redis-server --service-stop
3、可安装多个实例
redis-server --service-install –service-name redisService1 –port 10001 redis-server --service-start –service-name redisService1 redis-server --service-install –service-name redisService2 –port 10002 redis-server --service-start –service-name redisService2 redis-server --service-install –service-name redisService3 –port 10003 redis-server --service-start –service-name redisService3
4、卸载命令
redis-server --service-uninstall
【先定一个小目标】Redis 安装成windows服务-开机自启
标签:
原文地址:http://www.cnblogs.com/CrazyAnts/p/5857053.html