Windows deployment and installation redis installation tutorial

1. Download redis https://github.com/tporadowski/redis/releases

 

 2. After downloading and double-clicking to install, it is relatively simple to skip

3. Test whether the installation is successful

Prompt bug Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
[3396] 24 Jul 17:55:11.052 # Could not create server TCP listening socket *:6379: bind: An operation was attempted on a non-socket.

It means that the default conf file is not used

 Solution : Execute redis-server.exe redis.windows.conf on the command line

Prompt: Could not create server TCP listening socket 127.0.0.1:6379: bind: The operation completed successfully.

 

​Solution​:

  Run the following commands in sequence after the command line prompt C:\Program Files\Redis>:

  redis-cli.exe

  shutdown

  exit

  Then re-run redis-server.exe redis.windows.conf, start successfully

 

Guess you like

Origin blog.csdn.net/xiangfengl/article/details/131902281