---
title: "Ubuntu 底下如何启动、停止Redis"
author: "susam"
date: "2017-03-08T21:23:10Z"
tags: []
categories: ["开源软件"]
slug: "ubuntu-redis"
draft: false
lastmod: "2017-03-08T21:23:10Z"
id: 2361029
url: "https://susam.iteye.com/blog/2361029"
---

Either connect to node instance and use shutdown command or if you are on ubuntu you can try to restart redis server through init.d:

/etc/init.d/redis-server restart

 

or stop/start it:

/etc/init.d/redis-server stop

/etc/init.d/redis-server start

 

On Mac

redis-cli shutdown