Installation and deployment of Redis (Windows)

Source: Internet
Author: User
Tags install redis

Redis is an open source trial of the ANSI C language, adheres to the BSD protocol, supports the network, can be based on the memory of the persistent log-type, Key-value database. This is often referred to as a data structure server.

The data types of Redis are data types such as strings (string), hash (MAP), List, collection (sets), and ordered collection (sorted sets).

There are three features of Redis and other Key-value cache products:

1. Redis supports persistence and can keep the data inside the memory on disk. It can be loaded again when it is restarted.

2, Redis not only support the simple key-value type of data, but also support the list, set, Zset, hash and other data structure storage.

3, Redis support data backup, that is, Master-slave mode of data backup.

Installation under the Redis window

Download the installation package: Https://github.com/MSOpenTech/redis/releases.

Redis supports 32-bit and 64-bit. This needs to be based on the actual situation of your system to choose your own version.

Download the Redis-x64-xxx.zip package to C drive, and after unpacking, rename the folder to Redis.

Pro-Test download to other drive letter can not be used, it is recommended to unpack the package on the C drive.

Open a CMD window and use the CD command to switch directories to C:\redis run Redis-server.exe redis.windows.conf

Open the Second CMD window, do not close the original window. Otherwise you will not be able to access the server.

Switch to Redis directory run redis-cli.exe-h 127.0.0.1-p 6379

Setting the key-value pair set LGT 123

Remove key value pair get LGT

So the installation is complete. Thank you for watching. I'll explain in a chapter how to install Redis under Linux, so please watch ...

Installation and deployment of Redis (Windows)

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.