|
これは未公開の文書です SUSE® Storage 1.12 (Dev). |
CLIをインストールします
プリビルドバイナリを使用します
-
バイナリをダウンロードします:
# Choose your architecture (amd64 or arm64). ARCH="amd64" # Download the release binary. curl -LO "https://github.com/longhorn/cli/releases/download/v1.12.0/longhornctl-linux-${ARCH}" -
バイナリを検証します:
# Download the checksum for your architecture. curl -LO "https://github.com/longhorn/cli/releases/download/v1.12.0/longhornctl-linux-${ARCH}.sha256" # Verify the downloaded binary matches the checksum. echo "$(cat longhornctl-linux-${ARCH}.sha256 | awk '{print $1}') longhornctl-linux-${ARCH}" | sha256sum --check -
バイナリをインストールします:
sudo install longhornctl-linux-${ARCH} /usr/local/bin/longhornctl -
インストールを確認してください:
longhornctl version
ソースからビルドします
GitHubリポジトリ内の このドキュメントを参照してください。