Redis install multiple instances under Windows

1. Copy in the Redis directory redis.windows-service.conf files, recommend naming redis.windows-service-port.conf, our 6380 port, for example.

2. Open redis.windows-service-6380 configuration file.
  Modify the port port

  Modify the database name dbfilename

  Logfile name change log

  Password requirepass

 

3. Install

redis-server.exe --service-install redis.windows-service-6380.conf --service-name redis6380 --port 6380

 

After a successful installation using redis-server.exe --service-start --service-name redis6380 start or manually start the service inside.


4. connection test

 

Guess you like

Origin www.cnblogs.com/wangxingjian/p/12601592.html