Detailed tutorial on installing Redis under Windows 64-bit

WBOY
Release: 2016-07-30 13:30:23
Original
913 people have browsed it

Redis is an open source log-type Key-Value database written in ANSI C language, supports network, can be memory-based and persistent, and provides APIs in multiple languages.

Tools/Materials

  • Windows 64-bit operating system

  • Redis installation package (current tutorial version 2.8.12)

Methods/Steps

Create a new folder [redis] on the D drive, right-click Unzip the Redis ZIP package and extract all files into the redis folder. (Other drive letters can also be dropped ^_^)

File introduction:

redis-benchmark.exe                                                                                                             using   using   use with                   ‐ off off ’s ’ s ‐ ‐ ‐ ‐ aof

redischeck-dump.exe ​                                                                          cli.exe                                                                                                                                                                                                                                                              d] command, enter DOC operating system window.

Use the command [redis-server.exe redis.windows.conf] to start the redis service [If you do not encounter the following errors, skip directly]. If you have the following error like me, don’t worry, there is always a solution!

Solution:

According to the prompt, there is a problem with the maxheap logo. Open the configuration file redis.windows.conf, search for maxheap, and then specify the content directly.

...

#

# maxheap

maxheap 1024000000

......

Then start again, OK, success.





Start the doc window of the redis service. There is no need to close it, because the service needs to be executed all the time. Close the service and close the window directly. That’s it.
Open a new doc window and use the built-in client tool to test the command [redis-cli.exe]. The detailed operations are as follows. . The example shows a basic read and write operation, set set key->age, value->21, and get age to get the value of key. ^_^


The above introduces the detailed tutorial for installing Redis under Windows 64-bit, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!