Home > Database > Redis > What is the command to shut down redis in Linux system?

What is the command to shut down redis in Linux system?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2023-05-26 17:58:06
forward
3229 people have browsed it

How to shut down redis correctly in Linux system? If redis is forcibly closed or the shutdown method is improper, may it cause some unexpected things?

 service network restar #重启网络
 ip addr #查找ip
 [root@localhost ~]# cd /usr/local/redis
 [root@localhost redis]# ./bin/redis-server ./redis.conf
 [root@localhost redis]# ./bin/redis-cli
 127.0.0.1:6379> exit
 [root@localhost redis]# ./bin/redis-cli shutdown
 [root@localhost redis]# ps -ef | grep -i redis
Copy after login

What is a Linux system

Linux is a UNIX-like operating system that is free to use and spread freely. It is a multi-user, multi-task, multi-threading and multi-CPU based on POSIX Operating system, Linux can run major Unix tool software, applications and network protocols.

The above is the detailed content of What is the command to shut down redis in Linux system?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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
Latest Issues
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template