Running Cruise as a jar
Run Cruise server
You can launch the Cruise server jar directly to start Cruise server. All folders and files will be created automatically in the current working directory. To launch the server:
- create a directory for the server to run from
- copy cruise.jar into that directory
- From that directory, run the command:
java -jar cruise.jar
Run Cruise agent
You can launch the Cruise agent bootstrapper jar directly to start Cruise agent. It will create all folders and files in current working directory, just like the folder structure with the installed version. For example, create a directory for Cruise agent and start it:
- create a directory for the agent to run from
- copy agent-bootstrapper.jar into that directory
- From that directory, run the command:
java -jar agent-bootstrapper.jar <cruise-server-hostname> [port]
The agent-bootstrapper.jar accepts two arguments: the hostname of Cruise server (required) and the port of Cruise server (default of 8153).