Redis Server built under Windows

Source: Internet
Author: User
Tags download redis redis server

Redis servers are now a popular cache server, and Redis is usually compared to memcached. In my opinion, should be the advantages of it, although the application scenario is basically similar, but always according to the different projects to make a choice.

Today we mainly talk about the installation and deployment of Redis under the Windows platform. Go to the Chase

One, single-machine deployment using Redis

1, download Redis, I choose the latest version of the current 3.2.0 address here https://github.com/MSOpenTech/redis/releases

After the download, directly extracted to any location, I stored in the D:\Program files\redis-x64-3.2.100

2. Run the cmd command to start the Redis service.

Redis-server.exe redis.windows.conf

Note here is to be sure to take the following startup parameters, if the configuration file is modified without the start parameter and will not take effect, so be sure to remember with parameters.

If the service is started successfully, the window is a service terminal, and if the window is closed, the corresponding service will be stopped.

3. Continue the cmd command to start the client.

The Client connection service was successful.

4, set up and get data operation.

Use the SET command to deposit a single data.

Get the data with the GET command.

At this point, our simple Redis installation deployment and data-saving command operations have been outlined.

Ii. distributed deployment of Redis

Under Windows we need to configure the redis.windows.conf under the Redis folder if we want users of other IP addresses to be able to access our Redis service.

View Code

Set the binding to bind 0.0.0.0 and then shut down protected mode and restart the server.

Remote client attempts to log in to a Redis client are normally accessible. Of course, there is a large security hole in the Redis configuration that we are configuring as a follow-up study of Redis.

At this point, the Redis installation deployment and the distributed configuration under our Windows platform have been completed.

Redis Server built under 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.