The YouTrack JAR distribution is available for download on the JetBrains website.
YouTrack JAR is a cross-platform distribution. You can use this distribution to install and run YouTrack on Linux, OS X, and Windows.
The procedure for installing YouTrack with this distribution is similar for all operating systems.
To install YouTrack Standalone with a JAR distribution:
A YouTrack JAR distribution can be set up in a variety of server environments. The following topics provide specific instructions for installing and running the JAR distribution different operating systems:
Run YouTrack JAR
Run YouTrack Standalone with the following command:
java -Xmx1g -XX:MaxMetaspaceSize=250m -Djava.awt.headless=true [JVM options] -jar youtrack-<version>.jar [host:]<port>[/contextPath] [config file path]
The command includes all of the options and variables that you want to pass to the application on startup. The following JVM options are mandatory and precede the command to run the JAR file:
|Sets the maximum Java heap size to 1GB.|
|Sets the maximum Metaspace memory to 250MB.|
|Runs Java in Headless Mode. |
You can also set the
Set values for the following variables in the command:
|The JVM options that are set when when the YouTrack instance is started.||Optional|
|The listen address of your YouTrack server. The default value is ||Optional|
|The HTTP port number of your YouTrack server.||Mandatory|
|The context path of your YouTrack instance. The default context is ||Optional|
|The path to a Jetty configuration file for fine-tuning the deployment. Most installations do not need it.||Optional|
When you set the
contextPath, you can run YouTrack with the context other than the default root path. Here are a few command examples with various URI configurations for different YouTrack servers:
java -Xmx1g -XX:MaxMetaspaceSize=250M -Djava.awt.headless=true -jar youtrack-2018.1.12345.jar 8080 java -Xmx1g -XX:MaxMetaspaceSize=250M -Djava.awt.headless=true -jar youtrack-2018.1.12345.jar 8080/youtrack java -Xmx1g -XX:MaxMetaspaceSize=250M -Djava.awt.headless=true -jar youtrack-2018.1.12345.jar 127.0.0.1:8080 java -Xmx1g -XX:MaxMetaspaceSize=250M -Djava.awt.headless=true -jar youtrack-2018.1.12345.jar 127.0.0.1:8080/youtrack
When you start YouTrack, the application opens in a browser. If you do not have a web browser installed on the host machine or don't want the browser to pop up, use the following JVM option:
For a complete list of YouTrack-specific JVM options, see Configuration Parameters.
Once your YouTrack service is up and running, you may want to set up projects and access rights, import issues from another tracker, or fine-tune the server environment. For more information, check the topics in the See Also section below.