Redis installation and startup (doc and local client)

Installation is a long -term discussion , and here are two articles recommended. : Open a cmd window and use the cd command to switch the directory to C:\redis and run  redis-server.exe redis.conf (key instructions for installation)  .

To start Redis:

1: c:\> redis \redis-cli.exe -h 127.0.0.1 -p 6379  (make sure this is in the redis directory)

2: c:\>redis\  redis-cli (this is also possible to enter directly), the words 127.0.0.1:6379 will appear, which is the pull of Ok=

 

The local client does not do it first

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324629197&siteId=291194637