001-window version of Redis installation

Source: Internet
Author: User

First, the reference address

Official address: https://redis. io/

Windows version "Learning to use": Https://github.com/MicrosoftArchive/redis

Second, the Windows version of Redis use

1. Unzip the Directory

2. Enter the folder under cmd:

Redis-server Redis. Windows. conf

  

If startup fails, a possible problem

Tip: QForkMasterInit: system error caught. error code=0x000005af, message=VirtualAllocEx failed.: unknown error . The cause is a memory allocation problem. There are two ways to resolve this

First: Use the command to --maxmemory limit Redis memory when booting:

REdis-server Redis. Windows. Conf --maxmemory 200m

The second method is to modify the configuration file redis.windows.conf :

    MaxMemory 209715200 "unit is byte" before running: Redis-server redis.windows.conf

Client: Redis-cli.exe, run to view

3.redis Service

Redis-server.exe--service-Install redis.windows.conf--loglevel verboseredis-server--service- Startredis-server--service-stop

4. Launch multiple instances

Redis-server--service-Install10001redis-server--service-start–service-Name Redisservice1redis-server--service-install10002redis-server--service-start– service-name Redisservice2redis-server--service-install10003redis-server- -service-start–service-name RedisService3

5. Uninstall

Redis-server--service-uninstall

6. Desktop side

: Https://redisdesktop.com/download

001-window version of Redis installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.