1. 程式人生 > >RabbitMQ的使用(二)如何把RabbitMQ解除安裝乾淨

RabbitMQ的使用(二)如何把RabbitMQ解除安裝乾淨

To uninstall RabbitMQ and Erlang from the machine completely, do the following:

  1. Open the Windows Control Panel.
  2. Double-click Programs and Features.
  3. In the list of currently installed programs, right-click RabbitMQ Server, and then click Uninstall.
  4. In the list of currently installed programs, right-click Erlang OTP, and then click Uninstall.
  5. Open the Windows Task Manager.
  6. In the Task Manager, look for the process epmd.exe. If this process is still running, right-click it and then click End Process.
  7. Delete all the installation directories for both RabbitMQ and Erlang.
  8. Delete the file C:\Windows\.erlang.cookie (if present).
  9. Go to the User folder: C:\Users\[username], and then delete the file .erlang.cookie.   刪除
  10. Also in the User folder, go to AppData\Roaming\RabbitMQ.     輸入%appdata%\Rabbitmq 找到配置檔案刪除
  11. Backup the Log folder to a secure location, and then delete the folder.

翻譯:

要從計算機中完全解除安裝RabbitMQ和Erlang,請執行以下操作:
     1、開啟Windows控制面板。
     2、雙擊“程式和功能”。
     3、在當前安裝的程式列表中,右鍵單擊RabbitMQ Server,然後單擊“解除安裝”。
     4、在當前安裝的程式列表中,右鍵單擊“Erlang OTP”,然後單擊“解除安裝”。
     5、開啟Windows工作管理員。
     6、在工作管理員中,查詢程序epmd.exe。 如果此程序仍在執行,請右鍵單擊該程序,然後單擊“結束程序”。
     7、刪除RabbitMQ和Erlang的所有安裝目錄。
     8、刪除檔案C:\ Windows \ .erlang.cookie(如果存在)。
     9、轉到使用者資料夾:C:\ Users \ [username],然後刪除檔案.erlang.cookie。刪除
     10、同樣在User資料夾中,轉到AppData \ Roaming \ RabbitMQ。 輸入%appdata%\ Rabbitmq找到配置檔案刪除
     11、將Log資料夾備份到安全位置,然後刪除該資料夾。