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.
| You must enter the installation command and all options on a single line. |
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 Before You Install CloudBees CD/RO Agents 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 Before You Install CloudBees CD/RO Agents 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 Before You Install CloudBees CD/RO Agents before performing this procedure.
Enter:
chmod +x ./CloudBeesFlow-<version>
./CloudBeesFlow-<version> --mode silent --installAgent --unixAgentUser <agent user> --unixAgentGroup <agent group>
Where:
-
<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 Before You Install CloudBees CD/RO Agents 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> --mode silent --unixAgentUser <agent user> --unixAgentGroup <agent group> --remoteServerCreateResource --remoteServerResourceHostName <server_resource_name>
Where:
-
< 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, see Remote Web Server Configuration .
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, see 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 Before You Install CloudBees CD/RO Agents 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 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 Before You Install CloudBees CD/RO Agents 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 Before You Install CloudBees CD/RO Agents before performing this procedure.
-
Enter:
chmod +x ./CloudBeesFlow-<version>
./CloudBeesFlow-<version> --mode silent