Redis Win Edition installation

Source: Internet
Author: User
Tags redis server

Take a look directly at how Redis is installed on Windows systems and turn on his services.

You can download the https://github.com/dmajkic/redis/downloads here.

I used the 64-bit, decompressed structure is like this, there are two files are not, I added in the back, Install_service.bat and RedisService.exe, I will say later.

Enter CMD, go to the above installation path, execute redis-server.exe redis.conf.

This effect appears to indicate that the Redis server has been successfully installed.

Reopen a CMD window and use the CD command to switch to the installation directory. Executive Redis-cli.exe-h 127.0.0.1-p 6379

Store a string with key Test,value Helloword, and then get the key value.

If you have a relationship with Redis, the Redis service will be switched off and need to be reopened manually. Now we set him up to start the Redis service automatically, just like MySQL, MongoDB.

Added two files. 1, Install_service.bat content is the following configuration. You can copy the past.

@echo Offset CUR_PATH=%CD%SC Create redis-instance binpath= "\"%cur_path%\redisservice.exe\ "%cur_path%\redis.conf" start= "Auto" displayname= "Redis"

2, REDISSERVICE.EXEHTTP://PAN.BAIDU.COM/S/1SJRVMTF can come here to download. are placed in the above directory. Then double-click Install_service.bat. Look at the service again.

This will be a success. Even if we restart the computer Redis service is turned on.

Redis Win Edition 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.