Installation of Redis

Source: Internet
Author: User

Installation of Redis under Windows system

Redis is a widely used Key/value memory database that is used as a cache in large applications such as Sina Weibo, Github, StackOverflow, and Redis's official website is http://redis.io/.

Recently want to the company's website cache with Redis to replace the test, also tall on a back ~, record the whole process, in order to follow up the work!

1.Redis Downloads

Redis itself does not provide a version of Windows, and is also less stable on windows, generally deployed to the Linux environment, Redis can be downloaded on its official website, Msopentech in the version of Windows, where LZ installed the latest version.

Click Jump to GitHub and click on the download Zip download in the lower right corner. After download, compile with the RedisServer.sln solution with VS Open MSVs folder and choose Win32 or X64 platform based on the version of your computer. As shown in the description:

2.Redis Installation

I put the compiled EXE file into the E:\Redis2.8\Redis64-2.8 folder, while the source folder redis.conf also copied to the directory, as shown in the red box:

To enable Redis under Windows, you need to start with a command line, navigate to the directory, and run the following command:

E:\redis2.8\redis64-2.8>redis-server.exe redis.windows.conf

appear on the installation succeeded, in fact, Redis installation is very simple!

3.Redis Simple to use

Also open a DOS window to run the Redis client, such as the following command:

To prove the successful connection of the client, now you can use it!

Description: The IP address of this machine is followed by-H

After-P is a given port in Redis

Resources
    1. Redis Author blog, this is one of the articles about how to implement AutoComplete based on Redis: http://oldblog.antirez.com/post/autocomplete-with-redis.html
    2. Redis third-party management tools for windows:http://redisdesktop.com/
    3. Redis. NET Link tool for Top20:http://nugetmusthaves.com/tag/redis
    4. Redis Command Chinese document: http://redis.readthedocs.org/en/redirect-to-RedisDoc.com/

Installation of Redis

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.