Install Concourse#
System Requirements
- JRE or JDK 1.8+
- At least 256MB of available system memory
- Linux or macOS
Conman (Concourse Version Manager)#
Conman is the recommended way to install and manage Concourse.
It lets you install multiple versions side by side, run them
simultaneously on different ports, and switch between versions
instantly — similar to how nvm works for Node.js.
Install Conman#
1 | |
After installation, restart your terminal or source your shell profile.
Install Concourse via Conman#
1 2 3 4 5 6 7 8 | |
Managing Versions#
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | |
Running Multiple Versions#
Conman automatically assigns unique ports to each installed version, so you can run multiple versions simultaneously:
| Install | Client Port | JMX Port | HTTP Port |
|---|---|---|---|
| 1st | 1717 | 9010 | 18080 |
| 2nd | 1718 | 9011 | 18081 |
| 3rd | 1719 | 9012 | 18082 |
Override port assignment at install time:
1 | |
Server Control#
All standard Concourse commands work through conman:
1 2 3 4 5 | |
Run Commands Against a Specific Version#
1 2 | |
Uninstall a Version#
1 | |
Warning
You cannot uninstall a version that is currently running.
Stop it first with conman stop.
Building from Source#
If you have Git SSH access to the Concourse repository, you can build and install the latest development snapshot:
1 | |
Data Isolation#
Each version gets its own isolated data directories:
1 2 3 4 5 6 7 | |
Shell Completion#
Conman includes tab completion for both Bash and Zsh. If you installed via the one-liner, completion is set up automatically. For manual installations, source the appropriate completion file:
1 2 3 4 5 | |
Binary Install#
For a standalone installation without version management:
-
Download the installer. From the terminal, navigate to the location where you want to install Concourse and download the installer for the latest version:
1curl -o concourse-server.bin -L http://concoursedb.com/download/latest -
Run the installer. Execute the downloaded
.binfile. You’ll be prompted to enter an administrator password so the installer can add the Concourse scripts and log files to your $PATH. This is recommended but not required. If you don’t want this level of system integration, simply press CTRL+C at the prompt.1sh concourse-server.bin -
Start Concourse. Concourse ships with reasonable default configuration so you can use it right out of the box. If necessary, you can configure how Concourse runs by editing the concourse.yaml configuration file located in Concourse’s
conf/directory.1concourse start -
Set the admin password. The default administrator credentials are
admin/admin. Change the password immediately after installation. You can set the initial password inconcourse.yaml:yaml init: root: password: your-secure-password
Docker#
You can also quickly get started with Concourse using one of the provided Docker images.
Starting Concourse with Persistent Data#
1 2 3 4 | |
NOTE: Add a -d flag after docker run to run in the
background.
Setting Initial Password#
Set the initial root password via environment variable:
1 2 3 4 5 | |
Modifying the Configuration#
You can add or modify any configuration that would normally go in the concourse.yaml file using environment variables.
Simply UPPERCASE the preference key and prepend it with
CONCOURSE_. For example, modify the heap_size preference:
1 2 3 4 5 | |
Using CaSH#
Spin up an ad-hoc container running CaSH to connect to the dockerized instance:
1 2 3 4 | |
Running Client-Side CLIs#
Any client-side CLI can be dockerized using an ad-hoc container linked to the Concourse instance.
For example, perform an interactive import:
1 2 3 4 | |
Import a file from the host machine:
1 2 3 4 5 6 | |
Running Server-Side CLIs#
Run server-side CLIs using
docker exec
on the container running Concourse:
1 | |
For example, check server status:
1 | |