The following examples are command strings to use for unattended (silent) installations. In many instances, the command text with the associated options wraps to the following lines.
Complete CloudBees CD/RO installation
This installation installs the CloudBees CD/RO server, including the web, repository, and database servers, one agent, and CloudBees CD/RO tools. Review Pre-installation checklist for traditional platforms before performing this procedure.
Enter:
chmod +x ./CloudBeesFlow-<version>
./CloudBeesFlow-<version> \ --mode silent \ --installServer \ --installAgent \ --installDatabase \ --installWeb \ --installRepository \ --unixServerUser <server_user> \ --unixServerGroup <server_group> \ --unixAgentUser <agent_user> \ --unixAgentGroup <agent_group>
Where:
-
<server_user>is the user who owns the CloudBees CD/RO server, repository server, and web server processes. -
<server_group>is the group who owns the CloudBees CD/RO server, repository server, and web server processes. -
<agent_user>is the user who owns the CloudBees CD/RO agent process. -
<agent_group>is the group that owns the CloudBees CD/RO agent process.
Repository server installation
This installation example installs a CloudBees CD/RO agent, a repository server, and CloudBees CD/RO tools. Review Pre-installation checklist for traditional platforms before performing this procedure.
Enter:
chmod +x ./CloudBeesFlow-<version>
./CloudBeesFlow-<version> \ --mode silent \ --installRepository \ --installAgent \ --unixAgentUser <agent_user> \ --unixAgentGroup <agent_group> \ --unixServerUser <server_user> \ --unixServerGroup <server_group> \ --remoteServer <existing_cloudbees-flow-server>
Where:
-
<server_user>is the user who owns the CloudBees CD/RO server, repository server, and web server processes. -
<server_group>is the group who owns the CloudBees CD/RO server, repository server, and web server processes. -
<agent_user>is the user who owns the CloudBees CD/RO agent process. -
<agent_user>is the group that owns the CloudBees CD/RO agent process.
CloudBees CD/RO agent installation (full installer)
The CloudBees CD/RO agent software must be installed on each agent machine you intend to use with CloudBees CD/RO. This installation also installs Tools. Review Pre-installation checklist for traditional platforms before performing this procedure.
Enter:
chmod +x ./CloudBeesFlow-<version>
./CloudBeesFlow-<version> \ --mode silent \ --installAgent \ --unixAgentUser <agent user> \ --unixAgentGroup <agent group>
Where:
-
--installAgentis required by the agent installer. -
<agent_user>is the user who owns the CloudBees CD/RO agent process. -
<agent_group>is the group that owns the CloudBees CD/RO agent process.
CloudBees CD/RO agent installation (agent-only installers)
The CloudBees CD/RO agent software must be installed on each agent machine you intend to use with CloudBees CD/RO. Review Pre-installation checklist for traditional platforms before performing this procedure. This example uses the Pseudo 64-bit agent-only installer file.
Note that this example creates a resource for the installed agent on the remote CloudBees CD/RO server. The --remoteServerResourceHostName option requires that you also specify the --remoteServerCreateResource option.
Enter:
./CloudBeesFlowAgent-x64-<version> \ --installAgent \ --mode silent \ --unixAgentUser <agent user> \ --unixAgentGroup <agent group> \ --remoteServerCreateResource \ --remoteServerResourceHostName <server_resource_name>
Where:
-
--installAgentis required by the agent installer. -
<agent user>is the user who owns the CloudBees CD/RO agent process. -
<agent group>is the group that owns the CloudBees CD/RO agent process. -
<server_resource_name>is the host name of the resource to create on the remote CloudBees CD/RO server.
Remote web server installation
A remote web server configuration helps prevent network latency. If you have multiple sites, CloudBees CD/RO can be configured in numerous ways to help you work more efficiently. For details about the architecture for this configuration as well as a discussion of the benefits of using a central web server and web servers at each remote site, refer to Architecture.
An agent is required on the machine when you install a web server. For details about why local agents are required on web server machines, refer to Local agent installation requirement for web server machines.
| You should not use these local agents to run jobs. |
This installation example installs a CloudBees CD/RO web server, an agent, and CloudBees CD/RO tools. Review Pre-installation checklist for traditional platforms before performing this procedure.
Enter:
chmod +x ./CloudBeesFlow-<version>
./CloudBeesFlow-<version> \ --mode silent \ --installWeb \ --installAgent \ --unixAgentUser <agent user> \ --unixAgentGroup <agent group> \ --remoteServer <your existing CloudBees CD/RO server> \ --unixServerUser <server user> \ --unixServerGroup <server group>
Where:
-
<server user>is the user who owns the CloudBees CD/RO server, repository server, and web server processes. -
<server group>is the group who owns the CloudBees CD/RO server, repository server, and web server processes. -
<agent user>is the user who owns the CloudBees CD/RO agent process. -
<agent group>is the group that owns the CloudBees CD/RO agent process.
Repository server installation
This installation example installs a CloudBees CD/RO repository server, an agent, and CloudBees CD/RO tools. Review Pre-installation checklist for traditional platforms before performing this procedure.
Enter:
chmod +x ./CloudBeesFlow-<version>
./CloudBeesFlow-<version> \ --mode silent \ --installRepository \ --installAgent \ --unixAgentUser <agent_user> \ --unixAgentGroup <agent_group> \ --unixServerUser <server_user> \ --unixServerGroup <server_group> \ --remoteServer <existing_cloudbees-flow-server>
Where:
-
<server_user>is the user who owns the CloudBees CD/RO server, repository server, and web server processes. -
<server_group>is the group who owns the CloudBees CD/RO server, repository server, and web server processes. -
<agent_user>is the user who owns the CloudBees CD/RO agent process. -
<agent_user>is the group that owns the CloudBees CD/RO agent process.
Tools only installation
This installation example installs only the CloudBees CD/RO tools. Review Pre-installation checklist for traditional platforms before performing this procedure.
Enter:
chmod +x ./CloudBeesFlow-<version>
./CloudBeesFlow-<version> --mode silent