[Other doc versions]
[Doc downloads (PDF, HTML, XML)]
This page provides information about aspects of running the Stash installer. For high-level information about installing and using Stash see Getting started.
The installer will:
On Linux and Windows systems, the installer can install Stash as a service.
A service account named 'atlstash' will be created.
On Linux:
The init.d
script will be linked to run levels 2, 3, 4 and 5. If you wish to change this, you will need to configure it manually.
Windows:
The installer generates a password for the service account. As a Windows administrator, you can update the account password if you wish to own the account. You'll also need to update the log on credentials for the service:
The 'atlstash' account will be configured with SeServiceLogonRight so that it can be used by the service. It will also be configured with SeDenyBatchLogonRight
, SeDenyInteractiveLogonRight
, SeDenyNetworkLogonRight
, and SeDenyRemoteInteractiveLogonRight
so that it cannot be used to log into the machine.
For Windows services created using the Stash installer, the Stash home directory location (defined by the STASH_HOME
variable) is configured as a Tomcat Service JVM option. To change it see Change STASH_HOME when installed as a Windows service.
The Stash installer has three modes:
-c
argument, the interaction with the user is performed in the terminal from which the installer was invoked.-q
argument, there is no interaction with the user and the installation is performed automatically with the default values.Unattended mode also allows you to supply a response file with a -varfile
option, to supply answers for all questions that are used instead of the defaults. An example response file is:
// Should Stash be installed as a Service? Must be ADMIN (default: true if the process is running with administrator rights, false otherwise). If false, the home and installation directories must be specified to point to directories owned by the user app.install.service$Boolean=true // The ports Stash should bind to (defaults: portChoice=default, httpPort=7990, serverPort=8006) portChoice=custom httpPort=7990 serverPort=8006 // Path to the Stash HOME directory (default: /var/atlassian/application-data/stash if the process is running with administrator rights, ~/atlassian/application-data/stash otherwise) app.stashHome=/var/atlassian/application-data/stash // The target installation directory (default: /opt/atlassian/stash/<VERSION> if the process is running with administrator rights, ~/atlassian/stash/<VERSION> otherwise) sys.installationDir=/opt/atlassian/stash/<VERSION>
For more information see this install4j help page.