Linux Silent Installation Examples

3 minute read

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 Flow Installation

This installation installs the CloudBees Flow server, including the web, repository, and database servers, one agent, and CloudBees Flow tools. Review Before You Install CloudBees Flow 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 Flow server, repository server, and web server processes.

  • <server_group> is the group who owns the CloudBees Flow server, repository server, and web server processes.

  • <agent_user> is the user who owns the CloudBees Flow agent process.

  • <agent_group> is the group that owns the CloudBees Flow agent process.

Repository Server Installation

This installation example installs a CloudBees Flow agent, a repository server, and CloudBees Flow tools. Review Before You Install CloudBees Flow 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 Flow server, repository server, and web server processes.

  • <server_group> is the group who owns the CloudBees Flow server, repository server, and web server processes.

  • <agent_user> is the user who owns the CloudBees Flow agent process.

  • <agent_user> is the group that owns the CloudBees Flow agent process.

CloudBees Flow Agent Installation (Full Installer)

The CloudBees Flow agent software must be installed on each agent machine you intend to use with CloudBees Flow. This installation also installs Tools. Review Before You Install CloudBees Flow 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 Flow agent process.

  • <agent_group> is the group that owns the CloudBees Flow agent process.

CloudBees Flow Agent Installation (Agent-Only Installers)

The CloudBees Flow agent software must be installed on each agent machine you intend to use with CloudBees Flow. Review Before You Install CloudBees Flow 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 Flow 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 Flow agent process.

  • < agent group > is the group that owns the CloudBees Flow agent process.

  • < server_resource_name > is the host name of the resource to create on the remote CloudBees Flow server.

Remote Web Server Installation

A remote web server configuration helps prevent network latency. If you have multiple sites, CloudBees Flow 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 Flow web server, an agent, and CloudBees Flow tools. Review Before You Install CloudBees Flow 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 Flow server> --unixServerUser <server user> --unixServerGroup <server group>

Where:

  • <server user> is the user who owns the CloudBees Flow server, repository server, and web server processes.

  • <server group> is the group who owns the CloudBees Flow server, repository server, and web server processes.

  • <agent user> is the user who owns the CloudBees Flow agent process.

  • <agent group> is the group that owns the CloudBees Flow agent process.

Repository Server Installation

This installation example installs a CloudBees Flow repository server, an agent, and CloudBees Flow tools. Review Before You Install CloudBees Flow 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 Flow server, repository server, and web server processes.

  • <server_group> is the group who owns the CloudBees Flow server, repository server, and web server processes.

  • <agent_user> is the user who owns the CloudBees Flow agent process.

  • <agent_user> is the group that owns the CloudBees Flow agent process.

Tools Only Installation

This installation example installs only the CloudBees Flow tools. Review Before You Install CloudBees Flow Agents before performing this procedure.

  • Enter:

chmod +x ./CloudBees Flow-<version>
./CloudBees Flow-<version> --mode silent