{"id":12122,"date":"2022-03-21T15:00:05","date_gmt":"2022-03-21T19:00:05","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=snippets&p=12122"},"modified":"2022-03-21T15:00:08","modified_gmt":"2022-03-21T19:00:08","slug":"how-can-i-stop-redis-server-in-ubuntu","status":"publish","type":"snippets","link":"http:\/\/local.brightwhiz\/snippets\/how-can-i-stop-redis-server-in-ubuntu\/","title":{"rendered":"How can I Stop Redis-server in Ubuntu?"},"content":{"rendered":"\n
Stop Redis-server if Redis is installed via snap:<\/p>\n\n\n\n
$ sudo snap stop redis.server<\/code><\/pre>\n\n\n\nOther option.<\/p>\n\n\n\n
Step 1: Stop the redis-server<\/code><\/p>\n\n\n\n$ sudo service redis-server stop<\/code><\/pre>\n\n\n\nStep 2: Disable the redis-server<\/code><\/p>\n\n\n\n$ sudo systemctl disable redis-server<\/code><\/pre>\n\n\n\nIf you need Redis again, you can start it as:<\/p>\n\n\n\n
$ sudo service redis-server start<\/code><\/pre>\n\n\n\nCheck the status of Redis using:<\/p>\n\n\n\n
$ sudo service redis-server status<\/code><\/pre>\n","protected":false},"comment_status":"open","ping_status":"closed","template":"","meta":[],"categories":[953,15,28,16,18],"tags":[350,433,449,591,635,638],"yoast_head":"\nHow can I Stop Redis-server in Ubuntu? [Snippet]<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n