Basic install
This topic describes how to install Release in a standard installation - either a simple setup with the default configuration, or a manual setup in which you can choose specific options. If you are installing Release in a production-ready environment that includes options like a separate database server, load balancing for your Release servers, an active/active cluster configuration for your Release servers, and other security, monitoring, and performance considerations, see Production environment install.
There are two methods to install Release:
- Install Release using a CLI or terminal. This method installs Release as a service.
- Install in a Docker container. This method runs Release in a Docker container.
Install Release using a CLI or terminal
This procedure installs Release as a service or daemon using the CLI.
Java considerations
Ensure that the JAVA_HOME
environment variable is set correctly for the user or service that will run the Release service.
- Unix-based systems: Set the location of the Java executable by updating the
XL_RELEASE_HOME/bin/.wrapper-env.sh
script.
- Microsoft Windows systems: Include the location of
Java/bin
in theWindows Path
environment variable and set the location of the Java executable by updating theXL_RELEASE_HOME/bin/.wrapper-env.cmd
script.
Start the installation
-
If you have an Enterprise Edition of Release, download your license file at the Deploy/Release Software Distribution site, this site requires an enterprise customer log-in.
-
Create an installation directory, such as:
/opt/xebialabs/xl-release
orC:\Program Files\Release
. This directory will be referred to asXL_RELEASE_SERVER_HOME
. -
Extract the downloaded Release server ZIP file to your newly created directory. Important: Install the Release server as a non-root user such as
xlrelease
. -
Go to and open
xl-release/conf/xl-release-license.lic
in a text editor. -
Copy and paste your license key into this file and save it.
-
Ensure that the server is configured so that it can start without input from the user. For example, if a repository keystore password is required, paste it into
XL_RELEASE_SERVER_HOME/conf/xl-release-server.conf
. -
Open a command line prompt or terminal.
-
Point to your installation directory
/xl-release-x.x.x-server/bin
-
Depending on your OS, execute a command from the table below to start the server setup wizard.
Operating system Command Microsoft Windows run.cmd -setup
Unix-based systems run.sh -setup
Note: To stop the setup wizard, enter exitsetup
. All changes to the configuration will be discarded.
Choose an installation type
The following message is displayed: Do you want to use the simple setup?
There are two types of installation using a terminal or CLI. Depending on your requirements, select one of the following:
- Install Release using a simple setup: A simple setup is for a quick installation and uses the default settings.
- Install Release using a manual setup: A manual setup gives you control of all Release installation settings.
Install Release using a simple setup
If you choose the simple setup, Release will install with the following settings:
- The server will run with security enabled.
- The server will not use secure communication between the Release GUI and the Release server.
- The server will listen on Release's standard HTTP port (5516).
- The server will use
/
as the context root. - The server will use a minimum of 30 and a maximum of 150 threads.
To install Release using the simple setup:
-
Provide a password for the admin user. To use the default password of admin, press Enter twice.
-
At the generate an encryption key prompt:
- Enter
yes
to generate a new key. - Enter
no
to use the encryption key that is built-in to Release.
- Enter
-
At the password encryption key prompt, enter a password to secure the key. If you do not want to provide a password, press Enter twice. You will be required to enter this password when Release starts.
-
At the configuration summary prompt, enter
yes
to complete orno
to exit the setup. -
A URL is displayed. To access Release, open this URL in a browser. Note: If you did not a enter license key into the license file before you installed Release, you will be prompted to enter it now.
-
Shut down Release:
Operating system Shortcut Microsoft Windows Ctrl + c Unix-based systems Ctrl + c
Install Release using a manual setup
A manual setup gives you control of all Release installation settings. To install Release using a manual setup:
-
Provide a password for the admin user. To use the default password of admin, press Enter twice.
-
At the generate an encryption key prompt, enter
yes
to generate a new key, orno
to use the built-in encryption key. -
At the enable SSL prompt:
- Enter
yes
to enable SSL between the Release GUI and the Release server. - Enter
no
to disable SSL.
- Enter
-
If SSL is enabled:
-
At the
generate a keystore with a self-signed certificate
prompt:- Enter
yes
to generate. You will be prompted to enter the truststore path and password. Note: Release uses a built-in Jetty server that requires a certificate with the namejetty
to be present in the keystore. - Enter
no
to skip.
- Enter
-
At the Enable mutual SSL prompt:
- Enter
yes
to enable. - Enter
no
to skip.
Note: Mutual SSL allows two parties to simultaneously authenticate each other. For an explanation of how mutual SSL works, see this article.
- Enter
-
-
Enter the HTTP bind address where you want the server to listen. This URL will be used in email notifications that are sent from the Release server. Ensure the HTTP bind address is not already in use. Example:
localhost:5516
. -
Enter the port address where you want the server to listen.
-
Enter the web content root where Release will run. For example,
/xl-release
or/your-context-root
. -
Enter the public URL to access Release.
-
Enter the minimum number of threads the HTTP server should use. The recommended minimum number of threads is 3 per client or 30 for 10 concurrent users. After setup is complete, you can see the thread configuration in the
threads.min
andthreads.max
settings in theXL_RELEASE_SERVER_HOME/conf/xl-release-server.conf
file. -
Enter the maximum number of threads the HTTP server should use. The recommended maximum number or threads is 3 per client or 150 for 50 concurrent users.
-
At the configuration summary, enter
yes
to complete orno
to exit the setup. -
A URL is displayed. To access Release, open this URL in a browser. If you did not a enter license key into the license file before you installed Release, you will be prompted to enter it now.
-
Log in using the username and password you set during the install process.
-
Shut down Release:
Operating system Shortcut Microsoft Windows Ctrl + c Unix-based systems Ctrl + c
Configure the service
You can configure your Release installation as a service or daemon.
Unix-based systems
- As root, execute
XL_RELEASE_SERVER_HOME/bin/install-service.sh
. This command will install the service with the namexl-release
and the titleRelease Server
. - Enter the username you defined, or
admin
, if you used the default username. - To start Release, execute
run.sh
. - Log in using the username and password you set during the install process.
Microsoft Windows
- Ensure that the JDK
java
process is available on the PATH or in theJAVA_HOME
environment property. See Java considerations for details. - As an administrator, execute
XL_RELEASE_SERVER_HOME\bin\install-service.cmd
. This command will install the service with the namexl-release
and the titleRelease Server
. - Enter the username you defined, or
admin
, if you used the default username. - To start Release, execute
run.cmd
. - Log in using the username and password you set during the install process.
For more information on Release start type and server options, see Start Release.
Release server directory structure
The following directory structure exists in the installation directory:
archive
: Embedded archive / reporting databasebin
: Server startup scriptsconf
: Configuration filesext
: Release extensions in exploded formathotfix
: Contains hotfixes that correct issues with the server softwarelib
: Binary librarieslog
: Server log filesplugins
: Release extensions that are packaged as pluginsrepository
: Embedded Release database
The installation directory is referred to as XL_RELEASE_SERVER_HOME
.