Đang gỡ cài đặt Edge

Edge for Private Cloud v4.18.01

Để gỡ cài đặt một thành phần, hãy sử dụng tiện ích dịch vụ apigee có dạng:

> /opt/apigee/apigee-service/bin/apigee-service compName uninstall

trong đó compName là một trong những tính năng sau: edge-management-server, edge-ui, edge-router, edge-message-processor, edge-qpid-server, edge-postgres-server, apigee-zookeeper, apigee-cassandra, apigee-openldap, apigee-qpig, apigel-post

Ví dụ: để gỡ cài đặt giao diện người dùng Edge:

> /opt/apigee/apigee-service/bin/apigee-service edge-ui uninstall

Để gỡ cài đặt tất cả các thành phần Apigee trên nút, hãy gỡ cài đặt tiện ích dịch vụ apigee:

> /opt/apigee/apigee-service/bin/apigee-service apigee-service uninstall

Lệnh này không xóa bất kỳ dữ liệu hoặc tệp nhật ký nào. Nó chỉ xóa các thành phần.

Nếu bạn muốn xóa hoàn toàn Edge khỏi hệ thống:

  1. Dừng tất cả các dịch vụ Edge chạy trên máy:
    > /opt/apigee/apigee-service/bin/apigee-all stop
  2. Xóa bộ nhớ đệm yum:
    > sudo yumclean all
  3. Xoá tất cả RPM của Apigee:
    > sudo rpm -e $(rpm -qa | egrep "(apigee-|edge-|baas)")
  4. Xoá thư mục gốc cài đặt:
    > sudo rm -rf /opt/apigee
  5. Xoá thư mục Nginx:
    > sudo rm -rf /opt/nginx