Detailed tutorial on installing Redis in Windows 64-bit mode and 64-bit redis_PHP

Source: Internet
Author: User
Tags install redis
Install Redis in Windows 64-bit mode. Windows 64-bit Redis installation detailed tutorial, 64-bit redisRedis is an open-source database written in ANSIC language, supporting the network, log type and Key-Value based on memory persistence, detailed tutorial on installing Redis in Windows 64-bit mode, 64-bit redis

Redis is an open-source log-type and Key-Value database written in ansi c language that supports network, memory-based persistence, and provides APIs in multiple languages.

Tools/raw materials
  • Windows 64-bit OS
  • Redis installation package (current tutorial version 2.8.12)
Method/step

Create a folder named redis on drive D, right-click and unzip the Redis ZIP package, and extract all the files to the redis folder. (Other drive letters can also be dropped)

File introduction:

Redis-benchmark.exe # benchmarking

Redis-check-aof.exe # aof

Redischeck-dump.exe # dump

Redis-cli.exe # client

Redis-server.exe # Server

Redis. windows. conf # configuration file

Run windows (shortcut: windows key + R Key) and enter the cmd command to enter the DOC operating system window.
Run the command "restart redis-server.exe redis. windows. conf" to start the redis service. if the following error is not displayed, skip this step ]. If you see the following errors like me, don't worry, there is always a solution!
Solution:
As prompted, the maxheap identity is incorrect. open the configuration file redis. windows. conf, search for maxheap, and specify the content directly.
......
#
# Maxheap
# Maxheap 1024000000
.......
Start again, OK, succeeded.

Start the doc window of the redis service. you do not need to close it because the service needs to be executed all the time. close the service and close the window directly.
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/write operation. set key-> age, value-> 21, and get age to get the key value. Pai_^

Http://www.bkjia.com/PHPjc/1048726.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/1048726.htmlTechArticleWindows 64-bit installation Redis detailed tutorial, 64-bit redis is an open-source log-type, Key-Value database written in ANSIC language that supports network, memory-based persistence, and ,...

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.