Skip to main content

Via the CLI

in Creating an Instance
Authors list
Published: Jun 30, 2022

You can create an instance from your server console through the opc command. The minimum syntax to create an instance with this method is the following:

sudo opc create-instance {instance_ID} --admin-name "{name}" --admin-email "{email}" --admin-password "{password}" --license-key "{license_key}"
copy

For this command, you will need to replace the following:

  • {instance_ID} - A unique name for your instance, in lower-case alphanumeric.

  • {name} - The admin user's name

  • {email} - The admin user's email address

  • {password} - The admin user's password

  • {license_key} - The license key string from your license key file, available from the Deskpro members area, or request a demo license.

You can also add additional flags for more customization:

  • --domain "{domain}" - Specify any domain names the instance will use. Can be repeated for multiple domains

  • --http-port {port} - Specify a custom http port.

  • --https-port {port} - Specify a custom https port.

  • --enable-certbot - Will attempt to generate a free LetsEncrypt SSL certificate for all listed domains through certbot (assumes you accept LetsEncrypt's Terms and Conditions).

HelpfulUnhelpful
next pageImporting my older Deskpro version into the OPC via URL?
previous pageVia the OPC

Please log in or register to submit a comment.