在 Debian Server 和 Ubuntu Server 上安裝 Session Manager 外掛程式 - AWS Systems Manager

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

在 Debian Server 和 Ubuntu Server 上安裝 Session Manager 外掛程式

  1. 下載 Session Manager 外掛程式 deb 套件。

    x86_64
    curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb"
    x86
    curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_32bit/session-manager-plugin.deb" -o "session-manager-plugin.deb"
    ARM64
    curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_arm64/session-manager-plugin.deb" -o "session-manager-plugin.deb"
  2. 執行安裝命令。

    sudo dpkg -i session-manager-plugin.deb
  3. 確認已安裝成功。如需相關資訊,請參閱驗證 Session Manager 外掛程式安裝

注意

如果您想要解除安裝外掛程式,請執行 sudo dpkg -r session-manager-plugin