linux重啟redis的示例:
在終端輸入命令即可,命令如下:
重啟redis:systemctl restart redis.service
相關操作命令:
查看redis 狀態:systemctl status redis
啟動redis:systemctl start redis