Home >Database >Redis >How to correctly install redis under windows

How to correctly install redis under windows

王林
王林forward
2020-12-15 09:36:122674browse

How to correctly install redis under windows

The correct method to install redis is as follows:

1. Redis official download address: https://redis.io/download, redis 64-bit download address: https: //github.com/ServiceStack/redis-windows, I used the redis-64.3.0.503 version for testing.

(Learning video sharing: redis video tutorial)

2. Unzip redis-64.3.0.503.zip. The unzipped file structure is as follows:

How to correctly install redis under windows

3. Modify the redis.windows.conf file and set the maxmemory size

How to correctly install redis under windows

4. Set the redis password

How to correctly install redis under windows

5. Start redis:

redis-server.exe redis.windows.conf

How to correctly install redis under windows

##6. Test, successful installation :

How to correctly install redis under windows

7. Add redis to the windows service (service and loglevel are both preceded by two -)

redis-server –service-install redis.windows.conf –loglevel verbose

Related recommendations:

redis database tutorial

The above is the detailed content of How to correctly install redis under windows. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete