Install Redis under Windows and set up the process for booting automatically.

Source: Internet
Author: User
Tags hmac install redis

1. Download the installation files for Redis under Windows

HTTPS://github.com/microsoftarchive/redis/releases
MSI file
Https://github-production-release-asset-2e65be.s3.amazonaws.com/3402186/bb1d10fc-3fac-11e6-8dc7-a51af1d6f36f? X-amz-algorithm=aws4-hmac-sha256&x-amz-credential=akiaiwnjyax4csveh53a%2f20180709%2fus-east-1%2fs3%2faws4_ Request&x-amz-date=20180709t051044z&x-amz-expires=300&x-amz-signature= 51df0f8bb31e0e9d191a54d714955766968205ce7d172bd27ce4fbe329a493a3&x-amz-signedheaders=host&actor_id= 24603306&response-content-disposition=attachment%3b%20filename%3dredis-x64-3.2.100.msi& Response-content-type=application%2foctet-stream

2. Direct installation

3. View services for Windows

Run input Services.msc

4. View information about Redis

5. Modify the contents of the configuration file in the previous picture

0.0. 0.0

6. Restart the service

net stop redisnet start Redis

7. Connect using the client.

Installation is not available in MSI mode

1. zip file

HTTPS://github-production-release-asset-2e65be.s3.amazonaws.com/3402186/ Bb47f4a2-3fac-11e6-9e71-9a4261699bd5? X-amz-algorithm=aws4-hmac-sha256&x-amz-credential=akiaiwnjyax4csveh53a%2f20180709%2fus-east-1%2fs3%2faws4_ Request&x-amz-date=20180709t051048z&x-amz-expires=300&x-amz-signature= Fe74be47cccb6b487f0d98c4227a27e615d91c26806ac6d662c250c36b33772f&x-amz-signedheaders=host&actor_id= 24603306&response-content-disposition=attachment%3b%20filename%3dredis-x64-3.2.100.zip& Response-content-type=application%2foctet-stream

2. Copy to a Windows machine and unzip

3. Modify the selected configuration file as well

You can verify that 12.220 is used as the primary server

0.0. 0.0  10.24. 12.220 6379 Masterauth Test6530

4. Use the configuration file for startup verification success

5. Write the bat file Start command

D:\Redis\redis-server.exe  D:\Redis\redis.windows-service.conf

6. Management Tools-Task Scheduler

Create a basic task

Trigger Select when computer starts

Action Selection as Startup program

Select the startup program as a bat file

Simple processing after creation completes modifying properties

Modify User Permissions

Restart the server for verification.

Install Redis under Windows and set up the process for booting automatically.

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.