Unattended install and all installer options

For server administrators · Updated 2026-10-29

On this page
  1. Steps
  2. All installer options
  3. Good to know
  4. Common questions

Add --non-interactive --accept-license and give the answers as options to install without any questions, for example from a cloud-init script. The installer also runs unattended on its own when there is no terminal.

Steps

  1. Read the license agreement first (installer/LICENSE.txt in the download).
  2. Run, as root:
    curl -fsSL https://get.sahaab.io/install -o install && sudo bash install \
      --non-interactive --accept-license \
      [email protected] --hostname=server1.example.com \
      --company="My Hosting" --license=YOUR-KEY
  3. Wait for Installation complete. and read the summary at the end of the output.

All installer options

OptionWhat it doesDefault
--hostname=Server hostname, for example server1.example.comthe server's current name
--email=Administrator email (required for unattended installs)—
--company=Company or brand name shown in the panelMy Hosting
--admin-user=Administrator usernameroot
--admin-pass=Administrator password (empty: a strong one is generated)generated
--ns1=, --ns2=Your nameserversns1. and ns2. + the hostname's domain
--webserver=openlitespeed or nginxopenlitespeed
--migrate-from=HOSTPrepare a transfer from another server after installing—
--migrate-port=SSH port of that server22
--license=KEYActivate the full versiontrial
--accept-licenseAccept the license agreementrequired
--non-interactiveDo not ask questions—

Good to know

  • Without --accept-license the unattended install stops: "Unattended install: add --accept-license after reading installer/LICENSE.txt."
  • --email= must be a valid address, and --hostname= a full name with at least three parts.
  • --admin-pass= must have at least 10 characters with 3 of: lowercase, uppercase, digits, symbols, or the installer stops with "--admin-pass is too weak."
  • If the license cannot be activated, the install still completes and the trial runs. The summary then says to enter the key under License in the admin panel.
  • With --migrate-from=, the summary shows the address of the Transfer Tool and, when key authentication is used, the SSH public key to add to /root/.ssh/authorized_keys on the old server.
  • A generated password is printed at the end and saved in /root/panel-install-summary.txt.

Common questions

Is the password I pass with --admin-pass saved anywhere?

The installer does not print it or write it to a file. Only a generated password is printed and saved in /root/panel-install-summary.txt; the install log /var/log/sahaab-install.log is readable by root only. A password on the command line can stay in your shell history or cloud-init data, so change it after the first login.

Can I change the answers later?

The hostname, nameservers, contact email and brand name can be changed in Server Settings. The license can be entered later on the License page. See activate your license.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.