windows 环境如何启动 redis ?

1、cd 到 redis 的安装目录

BASIC
C:\Users\dell>cd C:\redis

2、执行 redis 启动命令

BASIC
C:\redis>redis-server.exe  redis.windows.conf

【结果】

BASIC
C:\redis>redis-server.exe  redis.windows.conf
                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 3.2.100 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._ (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 9572
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           //redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'
 
[9572] 15 May 20:01:27.462 # Server started, Redis version 3.2.100[9572] 15 May 20:01:27.650 * DB loaded from disk: 0.186 seconds
[9572] 15 May 20:01:27.650 * The server is now ready to accept connections on port 6379

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注