redis windows

本文介绍了如何在Windows环境下安装Redis,并提供了启动Redis服务的具体步骤。通过CMD命令启动Redis服务后,确认服务运行状态及端口。同时,还介绍了如何使用redis-cli.exe连接本地Redis服务器进行基本验证。

下载 redis windows版本

redis-server  redis.windows.conf  //cmd 命令

启动成功

E:\redis\Redis-x64-3.0.500>redis-server  redis.windows.conf
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 3.0.500 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 7472
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'

[7472] 20 May 11:48:33.364 # Server started, Redis version 3.0.500
[7472] 20 May 11:48:33.365 * The server is now ready to accept connections on port 6379

 

双击打开 redis-cli.exe , 如果不报错,则连接上了本地服务器

 

恭喜你成功了

 

转载于:https://www.cnblogs.com/difme/p/5511586.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值