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
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!