How to install passbolt in non-interactive mode ?
The non-interactive mode is useful for automating passbolt installation and for users with specific needs. It is available only on Debian and Ubuntu operating systems.
The commands of this page assume you want to install passbolt CE. Replace passbolt-ce-server
with passbolt-pro-server
if you plan to install the PRO version.
Simple mode
If you don’t want to install mysql locally or you don’t want to use nginx as http server you can run the non-interactive command with --no-install-recommends
parameter.
sudo DEBIAN_FRONTEND=noninteractive apt-get install \
--no-install-recommends passbolt-ce-server
Advanced mode
You can automate the installation by pre-fill answers with this command (run one command per parameter):
echo passbolt-ce-server <parameter> <type> <value> | \
sudo debconf-set-selections
Parameter and type reference table:
Parameter | Type | Description |
---|---|---|
passbolt/mysql-configuration | boolean | To enable MySQL, can be true (default) or false |
passbolt/mysql-passbolt-username | string | Passbolt database username |
passbolt/mysql-passbolt-password | password | Passbolt database password |
passbolt/mysql-passbolt-password-repeat | password | Passbolt database password confirm (must be the same as passbolt/mysql-passbolt-password) |
passbolt/mysql-passbolt-dbname | string | Passbolt database name |
passbolt/nginx-configuration | boolean | To enable Nginx, can be true (default) or false |
passbolt/nginx-configuration-three-choices | select | SSL configuration: When certbot package is installed, you can choose between auto, manual and none |
passbolt/nginx-configuration-two-choices | select | SSL configuration: When certbot package is not installed, you can choose only between manual and none |
passbolt/nginx-domain | string | Passbolt domain name (FQDN) |
passbolt/nginx-certificate-file | string | Absolute path to SSL certificate path (applies only if nginx-configuration-*-choices is manual) |
passbolt/nginx-certificate-key-file | string | Absolute path to SSL key path (applies only if nginx-configuration-*-choices is manual) |
Once done, run this non-interactive install command:
sudo DEBIAN_FRONTEND=noninteractive apt-get install passbolt-ce-server
Other frequently asked questions in the same category
- How to install passbolt server
- How to make passbolt backups
- How can I update my passbolt server?
- What are the minimum server requirements?
- Does passbolt provide hosting?
- Where can I get help for installation issues?
- Why do I see an unsafe mode banner in the footer?
- Why are my emails not being sent?
- Why should I install haveged on virtual environments?
- How to update my subscription key
- Why am I getting ldap synchronization issues?
- How to increase auto logout time?
- Firewall rules
- How to generate JWT key pair manually
- Troubleshoot Docker
- How to migrate from HTTP to HTTPS
- How to use docker rootless images
- How to import SSL certificate on mobile application
- Troubleshoot SSL
- How to rotate server GPG keys
- iOS / Android Mobile FAQ
- How to install passbolt in non-interactive mode ?