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

How to restart redis in Linux

WBOY
WBOYforward
2023-05-27 11:40:353806browse

How to restart redis in Linux

Redis startup command under linux

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

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

 find / -name redis-server

Check whether the startup is successful:

 netstat -nplt

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!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete