Dies ist eine unveröffentlichte Dokumentation für SUSE® Storage 1.12 (Dev).

Installieren Sie die Kommandozeilenschnittstelle

Verwenden Sie die vorgefertigte Binärdatei

  1. Laden Sie die Binärdatei herunter:

    # 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}"
  2. Überprüfen Sie die Binärdatei:

    # 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
  3. Installieren Sie die Binärdatei:

    sudo install longhornctl-linux-${ARCH} /usr/local/bin/longhornctl
  4. Installation überprüfen:

    longhornctl version

Bauen Sie aus dem Quellcode

Siehe dieses Dokument im GitHub-Repository.