If you've previously installed Confluence using the Windows or Linux installer, you can use a configuration file from your existing Confluence installation (
response.varfile) to re-install Confluence in unattended mode, no user input required.
This can be useful when you have installed Confluence on a test server and are ready to install on your production server with the same configuration.
Good to know
response.varfilefile contains the options specified during the installation wizard steps of your previous Confluence installation. Don't uninstall your previous Confluence installation until after you've copied this file to your new install location.
If you decide to modify the
response.varfilefile, make sure all directory paths specified are absolute, for example,
Unattended installations will fail the file contains relative directory paths.
Install Confluence in unattended mode
- Download the appropriate installer for your operating system.
<installation-directory>/.install4j/response.varfilefrom your existing Confluence installation to where you downloaded the installer.
In command prompt or terminal change directory (cd) to where you downloaded the installer.
Run the following command to install Confluence:Windows
> atlassian-confluence-X.X.X-x64.exe -q -varfile response.varfileLinux
$ atlassian-confluence-X.X.X-x64.bin -q -varfile response.varfile
X.X.Xis the Confluence version you downloaded.
-qinstructs the installer to run in unattended mode (quietly).
-varfilespecifies the location and name of the configuration file containing the options used by the installer.
- Confluence will start automatically once the silent installation finishes.
Once Confluence is installed, you will still need to head to
http://localhost:<port> to finish setting up Confluence.