การตั้งค่าหมายเลขพอร์ตของ New Edge UI

โดยค่าเริ่มต้น UI ของ New Edge (edge-management-ui) จะรับฟังพอร์ต 3001 ของโหนด Edge ที่ติดตั้ง ใช้ขั้นตอนต่อไปนี้เพื่อเปลี่ยนหมายเลขพอร์ต

  1. ตรวจสอบว่าหมายเลขพอร์ตที่ต้องการเปิดอยู่ในโหนด UI ของ New Edge
  2. เปิด /opt/apigee/customer/application/management-ui.properties ในเครื่องมือแก้ไข หากไม่มีไฟล์ ให้สร้างไฟล์โดยทำดังนี้
    vi /opt/apigee/customer/application/management-ui.properties
  3. ตั้งค่าพร็อพเพอร์ตี้ conf_uebe_port ใน management-ui.properties
    conf_uebe_port=PORT

    โดยที่ PORT คือหมายเลขพอร์ตใหม่ (ค่าเริ่มต้นคือ 3001)

  4. บันทึกไฟล์และตรวจสอบว่าผู้ใช้ apigee เป็นเจ้าของ
    chown apigee:apigee /opt/apigee/customer/application/management-ui.properties
  5. รีสตาร์ท UI ของ New Edge
    /opt/apigee/apigee-service/bin/apigee-service edge-management-ui restart

ตอนนี้คุณเข้าถึง UI ของ New Edge ได้แล้วในหมายเลขพอร์ตใหม่