Home > Database > Redis > How to restart redis in Linux

How to restart redis in Linux

WBOY
Release: 2023-05-27 11:40:35
forward
3881 people have browsed it

How to restart redis in Linux

Redis startup command under linux

 /usr/local/bin/redis-server  /home/data/redis-3.2.1/redis.conf
Copy after login

If you don’t know the location of the redis-server file, enter the following command to query the location

 find / -name redis-server
Copy after login

Check whether the startup is successful:

 netstat -nplt
Copy after login

How to restart redis in Linux

The above is the detailed content of How to restart redis in Linux. For more information, please follow other related articles on the PHP Chinese website!

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