search

How to uninstall Redis in Linux?

Jun 06, 2019 pm 04:01 PM
linuxredis

How to uninstall Redis in Linux?

Steps to uninstall Redis on Linux:

1. Check whether reids is running. If it is running, close it first

Use the following command to view:

ps aux | grep redis

How to uninstall Redis in Linux?

As can be seen from the picture, redis-server is currently running on port 6379 and the process needs to be closed.

Use the following command to shut down the process

kill -9 PID

How to uninstall Redis in Linux?

2. Stop the redis-server service

Stop the redis-server service normally , use the reids client command:

redis-cli shutdown

How to uninstall Redis in Linux?

3. Delete the redis-related files in the /usr/local/lib directory:

View File:

ls /usr/local/bin/redis-*

Delete file:

rm -rf /usr/local/bin/redis-*

How to uninstall Redis in Linux?

4. Delete the decompressed file directory and all files

rm -rf redis-3.2.1

Uninstallation completed

Recommended related Linux video tutorials: "Linux Tutorial"

The above is the detailed content of How to uninstall Redis in Linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment