This page covers how to install CloudBees CD/RO agents using the GUI-based Express Agent option of Windows and Linux agent installers.
To perform a GUI-based installation for Linux, you must have a graphical environment installed. If your Linux environment does not have a graphical environment installed, refer to the corresponding interactive Linux command-line option to continue installation. |
The Express Agent option installs the following CloudBees CD/RO components on the host machine:
-
Agent
-
CloudBees CD/RO tools
Before you start
The following are important knowledge prerequisites to review before starting this procedure:
-
CloudBees recommends reviewing the following resources before installation:
-
The Express Agent option is meant for installing an agent that will be used as a remote agent for a server running on a separate machine.
For production environments, CloudBees recommends installing each CloudBees CD/RO component on separate machines using the Advanced installation option.
Additionally, there are specific agent security recommendations available at Agent security recommendations.
Perform an Express Agent installation
-
If you have not already done so, download the agent-only installer file. To download this version, select your required installer:
-
Windows agent installer: 2024.12.0.177508
-
Linux agent installer: 2024.12.0.177508
-
A Linux graphical environment is required to run the GUI installer.
-
-
For more details on installers, refer to Install CloudBees CD/RO on traditional platforms.
-
For legacy installer downloads, navigate to CloudBees CD/RO downloads.
-
-
Start the installer:
-
Windows:
Windows installers
On Windows, an Administrator user is required to install CloudBees CD/RO. For more information about required user privileges, refer to Windows services user permissions. -
Navigate to the directory where you downloaded CloudBees CD/RO.
-
Double-click the installer. This starts the installer in the GUI-based installation mode.
-
-
Linux:
Linux installers
-
Enter the following command to make the installer file executable:
CommandCurrent versionchmod +x CloudBeesFlowAgent-x64-<version>
chmod +x CloudBeesFlowAgent-x64-2024.12.0.177508
-
Start the installation:
For more information about required user privileges, refer to Linux services user permissions. -
For root or
sudo
installations:Root or
sudo
procedures-
Navigate to the directory where you downloaded CloudBees CD/RO.
-
Double-click the installer. This starts the installer in the GUI-based installation mode.
-
-
For non-root/non-
sudo
installations, from the terminal, run:Non-root/non-
sudo
proceduresCommandCurrent version./CloudBeesFlowAgent-x64-<version> --nonRoot
./CloudBeesFlowAgent-x64-2024.12.0.177508 --nonRoot
+ A warning about automatic server start-up with non-root/non-
sudo
installations appears. Enter Yes to dismiss the warning.
-
-
-
-
Select the Express Agent installation option, and then select Next to continue. The Remote CloudBees CD/RO server screen appears.
-
On the Remote CloudBees CD/RO server screen, configure the following:
Configure the remote CloudBees CD/RO server:
-
Server host name: Enter the name of the remote CloudBees CD/RO server that will communicate with this web server.
If the remote server is using a non-default HTTPS port, you must specify the Server Host Name as
<host>:<port>
. If you do not specify a port, HTTPS port 8443 is assumed (the same as the CloudBees CD/RO server default port). -
CloudBees CD/RO Username: Enter the name of a CloudBees CD/RO server user with sufficient privileges to create a resource. This field defaults to the CloudBees CD/RO-supplied
admin
user. -
Password: Enter the password for the user entered in CloudBees CD/RO Username.
-
Discover the plugins directory: Select this checkbox to allow the web server to have access to the shared plugins directory. For web server agents to access the plugins directory, which includes collections of features, third-party integrations, and third-party tools, you must select this option.
The plugins directory on the CloudBees CD/RO server must be shared before the web server machine can discover it. For more information, refer to Configure universal access to the plugins directory. -
Create a resource: Select this checkbox if you want to create a resource on the remote CloudBees CD/RO server for the web server you are installing.
-
Trusted: Select this checkbox to restrict this web server to one CloudBees CD/RO server.
If Trusted is selected, the web server will not respond to incoming communication from any other CloudBees CD/RO server. This is useful when you want to create a secure production environment, but generally not needed for test or development systems. -
Resource name: Enter the name of the resource to use.
-
Workspace Name: Enter the name of the workspace you would like to use for the web server.
-
Create a repository: Select to create an artifact repository on this machine.
-
Repository name: Enter the name of the artifact repository to create.
-
Create in default zone: Select this checkbox to create the agent in the default zone.
-
Agent Gateway URL: Enter the URL of the gateway used to communicate with the CloudBees CD/RO server.
This field is only available for use when the Create in default zone checkbox is cleared. -
Zone Name: Enter the name of the zone used during remote agent and/or remote repository creation.
This field is only available for use when the Create in default zone checkbox is cleared.
-
Select Next to continue. The Agent service account screen appears.
-
-
On the Agent service account screen, follow the platform-specific instructions below:
-
Windows:
Configure Windows agent service account:
-
Username: Enter the username of a host user to run the CloudBees CD/RO server, web server, and repository server services.
The user the agent runs as must have permission to write to the $INSTALL_DIRECTORY\log
directory. -
Password: Enter the password of the user entered in Username.
-
Domain: Enter the user’s domain name, such as
electric-cloud.com
. Leave this field blank if this is a local user. -
Use the local system account: Select this checkbox if you want the CloudBees CD/RO agent service to run as the local Windows system account.
The Windows local system account cannot access network resources, such as shared file systems used for plugins or workspaces. Therefore, do not use this option for a clustered server deployment, which requires a shared file system for plugins.
This option is typically used only for installing agents on numerous machines, which normally requires creating a new account on each machine.
Select Next to continue. The Ready to install screen appears.
-
-
Linux:
Configure Linux agent service account:
-
Username: Enter the username of a host user to run CloudBees CD/RO agent processes.
The user/group the agent runs as must have permission to write to the $INSTALL_DIRECTORY/log
directory.-
If you specify
root
, select Yes when the confirmation appears.
-
-
Group name: Enter the system group name for the user entered in Username.
Select Next to continue. The Ready to install screen appears.
-
-
-
On the Ready to install screen, review the settings and your service account configurations.
-
If any information is incorrect, use the Back button to navigate back through the configurations.
-
-
Select Next to install the CloudBees CD/RO agent.
The installer displays a status bar to show the progress of the installation. When the installation completes, the Installation complete screen appears.
-
Select Finish to complete the installation.
Configure autostart for non-root environments
For installations performed as a Windows Administrator or with Linux root or sudo privileges, CloudBees CD/RO components start automatically upon completing the installation and during system boot. However, for non-root/non-sudo
Linux installations CloudBees CD/RO components do not have the permissions to start automatically.
To configure autostart for non-root or non-sudo
Linux installations of CloudBees CD/RO components, refer to Configure autostart for non-root/non-sudo Linux installations.