手动安装后卸载Redis


Answers:


14

进入运行sudo make install并运行的文件夹,该文件夹sudo make uninstall将被删除,但是首先您必须停止它,请参阅下面的步骤。

脚步:

  1. 停止Redis:

    sudo systemctl stop redis
    sudo systemctl disable redis
    
  2. 根据教程链接更改为安装位置:

    cd redis-stable
    sudo make uninstall
    
  3. 摆脱创建的文件夹:

    sudo rm /etc/redis/redis.conf
    sudo rm -rf /var/lib/redis
    
  4. 移除redis user

    sudo deluser redis
    
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.