Introduction to 1.Redis and Windows installation

Source: Internet
Author: User

Redis stores data in a dictionary structure and currently supports key-value types including: String type, hash type, list type, collection type, ordered collection type

All data in the Redis database is stored in memory and also provides support for persistence

Redis is not only doing database development, but also being used as a cache system, queue system and so on.

Redis officially does not provide a version of Windows, and Microsoft has opened another branch to support the Windows version of Redis.

The Redis open source address on Windows is: Https://github.com/MicrosoftArchive/redis

1. Download

Download the zip file in https://github.com/MicrosoftArchive/redis/releases and unzip it to the hard drive.

Some of these documents describe:

2. Modify the configuration file redis.windows.conf

To add a memory size configuration:

3.0 later versions can also not be modified, Redis will automatically set

To set the password for Redis:

3. Installation

CMD into the decompression directory, run the command:

Redis-server.exe redis.windows.conf--maxmemory 200M

Where--maxmemory 200M is optional, if you configure the file redis.windows.conf in the configuration, you can save, if not configured, add no Line

4. Testing

Open the Redis-cli.exe under the unpacked directory

If you set a redis password, you need to execute the auth password command, otherwise you will be prompted (error) Noauth authentication required.

5. Place Redis in Windows services

Also enter the unzip directory, execute the command

This is then attached to the Windows service.

This service is not enabled by default, you can use the command to set it to boot from, and turn on the service

Note: In the decompression directory, there is a use of the document, the specific use can refer to this text block

Introduction to 1.Redis and Windows 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.