Gå til hovedindhold

Via the CLI

i Creating an Instance
Forfatterliste
Offentliggjort: 30. jun. 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).

HjælpsomUnyttig information
næste sideImporting my older Deskpro version into the OPC via URL?
forrige sideVia the OPC

Log ind, eller opret dig for at skrive en kommentar.