“help ” to get a list of possible help topicsġ27.0.0.1:6379> help to the prompt, you can enter the help space and then tap the tab key. Type: “help to get a list of commands in
Windows install redis code#
If you need help, you can enter help in the CLI window to view, for example: Copy codeThe code is as follows: It should be understood that port 6379 of this computer is connected. If no error is reported, connect to the local server, and then test, such as set command and get command You can then use the client tools that come with you to test.ĭouble click to open redis-cli.exe.
![windows install redis windows install redis](https://www.onlinetutorialspoint.com/wp-content/uploads/2018/10/Install-Redis-server-on-windows-10-Final-Output-min.png)
10 Aug 22:01:22.248 * The server is now ready to accept connections on port 6379 Open the configuration file, search for maxheap, and then specify the content directlyĭ:\Develop\redis-2.8.12>redis-server Please see the documentation included with the binary distributions for moreĪccording to the prompt, there is a problem with the maxheap identity. Sufficient space available for the Redis heap. The –maxheap flag, or by starting redis from a working directory with You may fix this problem by either reducing the size of the Redis heap with Insufficient disk space available for this file (Windows error 0x70). Will be created in the current working directory or the directory specified by The heap with the forked process used in persistence operations. The Windows version of Redis allocates a large memory mapped file for sharing However, an error is reported after executing this command in CMD:ĭ:\Develop\redis-2.8.12>redis-server.exe You can save it as the file startup.bat you can start it directly next time. I have consulted some materials on the Internet and found that they can be used, but I have not studied them deeply, and I have taken them directly: However, if you follow his instructions, you will die miserably, inexplicably, for no reason. Of course, there is also a redisservice.docx file, which seems to be some instructions for starting and installing services. There are the following files in the bin directory after unzip:
Windows install redis zip#
You can find the zip package download address on the right side of the project homepage: ĭownload and unzip.
![windows install redis windows install redis](https://imgs.developpaper.com/imgs/1220879-20190930094406464-138786839.jpg)
The project address is: Īfter opening, you can download it directly using the browser, or git clone. Redis does not support Windows officially, but Microsoft open Tech Group has developed a version of win64 on GitHub. However the Microsoft Open Tech group develops and maintains Win64 Unofficial The Redis project does not directly support Windows, You can see the following prompt from the redis download page: For details, please refer to: īut sometimes you want to toss about redis under windows. For general use, follow the official instructions and you can finish it in 5 minutes. There is nothing to say about the installation and use of redis.