Skip to content

Install with install.sh

The install.sh script is the standard method for installing a DRP endpoint on Linux. It downloads the dr-provision binary, sets up the systemd service unit, creates the working directory structure under /var/lib/dr-provision, and optionally installs a license and initial content packs. The script detects the system architecture and OS automatically.

Getting the Script

The install.sh script is always fetched from get.rebar.digital/stable:

Bash
curl -fsSL get.rebar.digital/stable | bash -s -- install --bootstrap --universal

To install a specific DRP version, use the --drp-version flag:

Bash
curl -fsSL get.rebar.digital/stable | bash -s -- install --bootstrap --universal --drp-version=v4.10.0

You can also download and inspect the script before running it:

Bash
curl -fsSL get.rebar.digital/stable -o install.sh
bash install.sh install --bootstrap --universal

Key Flags

Flag Description
--drp-version=<ver> Install a specific DRP version (e.g., v4.10.0, stable, tip)
--drp-id=<id> Set the DRP endpoint ID (defaults to system hostname)
--ha-id=<id> Set the HA cluster ID for HA deployments
--systemd Install and enable the systemd service unit
--no-content Skip installing the default content pack
--universal Install the universal content pack (pipeline-based provisioning)
--bootstrap Install the bootstrap content pack (required for universal pipeline)
--startup Start the service after install (requires --systemd)
--keep-install Do not remove the installer after completion
--drp-user=<user> Set the initial DRP admin user (default: rocketskates)
--drp-password=<pass> Set the initial DRP admin password
--license-file=<path> Install a license file during setup
--initial-workflow=<name> Set the default workflow for new machines
--remove Uninstall DRP (stop service, remove binary, leave data)
--upgrade Upgrade DRP to the specified version in place

Production Install Example

For a production deployment with systemd, a custom ID, and a license:

Bash
curl -fsSL get.rebar.digital/stable | bash -s -- install \
    --drp-id=drp-prod-01 \
    --systemd \
    --startup \
    --bootstrap \
    --universal \
    --license-file=/tmp/rackn-license.json \
    --drp-password=my-secure-password

Development Install Example

For a local development or lab environment:

Warning

The tip version represents items under active product development and is not suitable for production use. Use stable or a specific version tag for production deployments.

Bash
curl -fsSL get.rebar.digital/stable | bash -s -- install \
    --bootstrap \
    --universal \
    --startup

Post-Install Steps

After running install.sh, perform these steps:

  1. Change the default password if not set with --drp-password: drpcli users password rocketskates new-password
  2. Install your license: drpcli system license install /path/to/license.json
  3. Install the community content pack: drpcli catalog item install drp-community-content
  4. Set the default boot environment: drpcli prefs set defaultBootEnv sledgehammer

The DRP endpoint API is available at https://<host>:8092 once the service is running. The default self-signed certificate will generate a browser warning — replace it with a CA-signed certificate for production use.