Redis installation Configuration (Windows edition)

Source: Internet
Author: User
Tags download redis redis server

Redis is introduced in recent projects, so it is documented for future viewing. Don't talk nonsense, straight to the subject.

First, the preparation before installation:

Download Redis:

Official: Http://redis.io/download (not described here)

GitHub: There are a lot of Daniel here to share the experience, more than the original three more than the DLL, the function is very useful

eg

(including source code) Https://github.com/ServiceStack/ServiceStack.Redis

(packaged) Https://github.com/ServiceStack/redis-windows

To download the Redis client:

Http://redisdesktop.com/download (not described here, we recommend using the command line to connect Redis-cli.exe)

Second, Redis configuration:

1. Locate the Redis storage location and start the Redis server. (command, as below)

Redis-server.exe redis.windows.conf

So far, the Redis service has started.

2. Connect Operation Redis:

Also open a command-line window (cmd), find Redis storage location, connect Redis Service (note to modify your own IP, port number default is 6379)

Redis-cli.exe-h 192.168.10.61-p 6379

Redis 127.0.0.1:6379> SET name Tongsir

Ok

Redis 127.0.0.1:6379>keys *

1) "Name"

Redis 127.0.0.1:6379> GET Name

"Tongsir"

Redis installation Configuration (Windows edition)

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.