Unattended installation
Good to know
- The
response.varfile
file contains the options specified during the installation wizard steps of your previous Jira installation. Don't uninstall your previous Jira installation until after you've copied this file to your new install location. If you decide to modify the
response.varfile
file, make sure all directory paths specified are absolute, for example,sys.installationDir=C\:\\Program Files\\Atlassian\\jira
(Windows) orsys.installationDir=/opt/atlassian/jira
(Linux).Unattended installations will fail the file contains relative directory paths.
Install a Jira application in unattended mode
Download the installer for your operating system:
- Jira Core at https://www.atlassian.com/software/jira/core/download
- Jira Software at https://www.atlassian.com/software/jira/download
- Jira Service Management at https://www.atlassian.com/software/jira/service-desk/download
- Copy
<installation-directory>/.install4j/response.varfile
from your existing Jira 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 Jira:
WindowsJira Core> atlassian-jira-core-X.X.X-x64.exe -q -varfile response.varfile
Jira Software> atlassian-jira-software-X.X.X-x64.exe -q -varfile response.varfile
Jira Service Desk> atlassian-servicedesk-X.X.X-x64.exe -q -varfile response.varfile
Linux
Jira Core$ atlassian-jira-core-X.X.X-x64.bin -q -varfile response.varfile
Jira Software$ atlassian-jira-software-X.X.X-x64.bin -q -varfile response.varfile
Jira Service Desk$ atlassian-servicedesk-X.X.X-x64.bin -q -varfile response.varfile
Where-X.X.X
is the Jira version you downloaded.
-q
instructs the installer to run in unattended mode (quietly).-varfile
specifies the location and name of the configuration file containing the options used by the installer.- Jira will start automatically once the silent installation finishes.
Finally, head to http://localhost:<port>
to finish setting up Jira.
See the Set up a Jira application section on Installing Jira applications on Windows or Installing Jira applications on Linux for more info.