Method of shutting down redis
This article is about how to close redis. Xiao Bian thinks it is quite practical, so share it for everyone to make a reference. Let's follow the editor and have a look.
Redis is an open source, web-enabled, memory-based and persistent log, Key-Value database written in ANSI C and available in multiple languages.
How to close redis?
redis closed
Go to the redis node directory and execute the following command
./ redis-cli -p port number shutdown
redis activated
./ redis-server parameter
Parameters: redis.conf file full path
You need to go to the directory where redis is located to restart redis. At this time, the data in redis can still be recovered.
Thank you for reading! The method of closing redis is shared here. I hope the above content can be of some help to everyone so that everyone can learn more knowledge. If you think the article is good, you can share it so that more people can see it!