ZIP Installation
The Hub ZIP distribution is available for download on the JetBrains website.
The Hub ZIP is a cross-platform distribution. You can use this distribution to install and run Hub on Linux, macOS, and Windows.
Installation requires the following steps:
Download the installation package and extract the contents of the ZIP archive to your server.
Launch the application from the command line.
Once the application is up and running, you can fine-tune the configuration to ensure that Hub is set up to work properly in your server environment.
These steps are described in more detail below.
Prepare Your Environment
Before you start, make sure that the target environment for the installation meets or exceeds the minimum requirements for installing Hub. For details, see Supported Environments.
Then, decide where you want to host the files that are used to run the application on the server.
To set up the environment for running Hub:
Download the ZIP distribution from the JetBrains website.
Create a directory on your server to store the home directory for Hub.
Extract the files from the ZIP archive and select this directory as the destination folder.
Launch the Application
The next step is to issue a command that launches Hub and starts the web-based Configuration Wizard.
The commands used to launch the application vary slightly by operating system. To make sure you see information that is relevant to your installation, select the tab that corresponds with the operating system used in your host environment.
To launch Hub in a Linux or macOS environment:
Open a command-line tool on the server.
Change the working directory to
<Hub home directory>/bin
.Enter a command to start the application:
If you enter
./hub.sh run
, the console is blocked until the service is stopped.If you enter
./hub.sh start
, the console is only blocked during the startup process.
If you do not have a web browser installed on the host machine, follow the command with the
--no-browser
option. For example,./hub.sh start --no-browser
.
To launch Hub in Windows:
Open Command Prompt as an administrator.
Change the working directory to
<Hub home directory>/bin
.Enter a command to start the application:
If you enter
.\hub.bat run
, the console is blocked until the service is stopped.If you enter
.\hub.bat start
, the console is only blocked during the startup process.
If you do not have a web browser installed on the host machine, follow the command with the
--no-browser
option. For example,.\hub.bat start --no-browser
.
Configure Hub
At this point, the application is installed with the default configuration. To ensure that Hub is set up properly to work in your server environment, you need to confirm and fine-tune its configuration.
On the first run, the Hub service starts with a web-based Configuration Wizard. The wizard is accessible from the web address where the service is hosted.
If you have a browser installed on the host machine, the Configuration Wizard opens automatically.
If you do not have a web browser installed on the host machine, open the URL of the wizard in a web browser on another workstation. The wizard URL is printed in the console output.
The Configuration Wizard is secured with a one-time access token, which you need to copy from the console. For example:
JetBrains Hub <version> will be available on [<Hub Base URL>/?wizard_token=FOT8QIzHuktzvxtiT1Ax] after start
To finalize the installation, open the URL for the Configuration Wizard in your web browser and continue with the instructions below.
To configure the new Hub installation:
In the Configuration Wizard, click Set up.
On the Confirm Settings page, confirm or change the basic system settings.
Here you can also enable the built-in TLS to secure the network connection for the server. For detailed procedure, read the Enable HTTPS during Installation page.
Setting
Description
HTTP | HTTPS
Lets you enable or disable the built-in TLS and configure the secure the network connection to your server. If you enable HTTPS, the TLS specific settings are displayed.
See the TLS Settings page for details.
Base URL
The URL where end users access Hub.
Application Listen Port
The port your Hub server listens to after installation.
The listen port must be accessible to end users or to the reverse proxy server, if one is in use. This may require explicitly opening access to this port through the firewall.
Language
The default language that is shown in the user interface.
Expand the Advanced Settings section to confirm or change the locations where Hub stores product data.
Setting
Description
Data Directory Location
The directory where Hub stores content data.
Backup Location
The directory where Hub stores backups of the database.
Logs Location
The directory where Hub stores log files.
Temp Location
The directory where Hub stores product-specific temporary files.
To change the location for any of these file types, click the Change button and select a new location.
To share usage statistics with JetBrains, keep the Send usage statistics anonymously option enabled. This feature helps JetBrains track usage statistics to make Hub better. We never share collected data with any third party.
When done, click Next.
On the Configure Hub Service page, enter and confirm the password for the system administrator account. The default username is
admin
.To assign a different username to the administrator account, edit the Create Admin Login setting.
Optionally, deselect the Enable login as guest option to ban the guest user account.
When done, click Next.
On the Confirm License page, verify the license name and key.
When done, click Finish.
The configuration is applied to your Hub server.
Do not close the page in the browser until the setup is complete. When the application is relaunched with the new configuration, it is automatically loaded in the browser window.
If you switched off the option to log in as a guest, you are redirected to the login page.
If you left the Enable login as guest option enabled, you are redirected to the Dashboard.
That's it. Your Hub service is installed and ready for use.