Install a default configuration

5 minute readReference

This page covers how to install CloudBees CD/RO using the CLI-based Express Server option of Linux full installers.

The Express Server option installs the following CloudBees CD/RO components on the host machine using their default configurations:

  • Server

  • Web server

  • Repository server

  • Built-in database

  • Agent

  • CloudBees CD/RO tools

The built-in database does not support production or clustered environments.

Before you start

The following are important knowledge prerequisites to review before starting this procedure:

Perform an Express Server installation

To perform an Express Server installation:

  1. If you have not already done so, download the full installer file. To download this version, select:

  2. Start the installer:

    1. Enter the following command to make the installer file executable:

      Command
      Current version
      chmod +x CloudBeesFlow-x64-<version>
      chmod +x CloudBeesFlow-x64-2024.12.0.177508
    2. Start the installation:

      For more information about required user privileges, refer to Linux services user permissions.
      • For root or sudo installations, run:

        Root or sudo procedures
        Command
        Current version
        ./CloudBeesFlow-x64-<version>
        ./CloudBeesFlow-x64-2024.12.0.177508
        • For root or sudo installations on Linux systems with a graphical interface systems, run:

          Command
          Current version
          ./CloudBeesFlow-x64-<version> --mode console
          ./CloudBeesFlow-x64-2024.12.0.177508 --mode console
      • For non-root/non-sudo installations, run:

        Non-root/non-sudo procedure
        Command
        Current version
        ./CloudBeesFlow-x64-<version> --nonRoot
        ./CloudBeesFlow-x64-2024.12.0.177508 --nonRoot
        • For non-root/non-sudo installations on Linux systems with a graphical interface systems, run:

          Command
          Current version
          ./CloudBeesFlow-x64-<version> \ --nonRoot \ --mode console
          ./CloudBeesFlow-x64-2024.12.0.177508 \ --nonRoot \ --mode console

        A warning about automatic server start-up with non-root/non- sudo installations appears. Enter Yes to dismiss the warning.

  3. The installer launch prompt appears. Enter Y to continue.

  4. A prompt appears that describes the available installation types.

    1. Enter expressServer.

  5. A prompt appears for sending telemetry data. Review the information and either:

    • Enter Y to to participate.

    • Enter n if you do not wish to participate.

    If you select to send usage data, you can disable sending data at anytime by setting Administration  Server settings  System setttings  Send Usage Data to Disabled. This can be updated without reinstalling or upgrading CloudBees CD/RO.
  6. The following prompt appears:

    Specify the system user the CloudBees CD/RO server, web, and/or repository will run as. []
    1. Enter a system user to run the CloudBees CD/RO server, web server, and repository server services.

  7. The following prompt appears:

    Specify the system group the CloudBees CD/RO server, web, and/or repository will run as. []
    1. Enter the system group name for the user you provided to run the server services.

  8. The following prompt appears:

    For security reasons, CloudBees strongly recommends NOT using the same user for the CloudBees CD/RO server and agents in production environments. For more information, refer to: https://docs.cloudbees.com/docs/cloudbees-cd/latest/install-trad/agent-config-recommendations Do you want to use the same system account for CloudBees CD/RO server and the agent? [y/N]

    For security, CloudBees recommends not installing agents on the server host or giving any agents access to the server file system. Doing so may give an agent access to sensitive files such as the server passkey, database configuration, and other system resources allotted to CloudBees CD/RO.

    If the agent is installed on the server host or given access to the server file system (such as for short-lived development and testing), CloudBees strongly recommends using separate users for server and agent services. This helps prevent the agent from accessing sensitive files. Using the same user for both services gives an agent the same access permissions as the server user.

    Additionally, CloudBees strongly recommends not running agents as sudo or ROOT users in production, or long-lived development and testing environments. Running agents with these privileges poses significant security risks, as they have unlimited ability to execute operations which can be used to access any file on the agent host, or modify the configuration of that host.

    Assign CloudBees CD/RO agent users only the necessary privileges to perform their functions, following the Principle of Least Privilege (PoLP). This helps to prevent permission escalation and data exposure should an agent become compromised.

    For more information on how to mitigate agent security risks, refer to Agent security recommendations.

    • If you enter Y, the installation begins.

    • If you enter N, you are prompted to configure the agent service account:

      Configure agent service account
      1. The following prompt appears:

        Specify the system user the agent will run as []
        1. Provide a system user to run the agent services.

          If you specify root as the agent service user, the following prompt appears:

          For security reasons, CloudBees strongly recommends NOT using the 'root' user to run agent processes in production environments. For more information, refer to: https://docs.cloudbees.com/docs/cloudbees-cd/latest/install-trad/agent-config-recommendations Do you still want to continue using the 'root' user to run agent processes? [y/N]

          CloudBees strongly recommends not running the agent services as a root user. This can pose significant security concerns if the agent becomes compromised.

          To accept these security risks and run the agent as root, enter Y.

      2. The following prompt appears:

        Specify the system group the agent will run as []
        1. Provide the system group of the user being used to run the agent services.

      Once you have provided this information, the installation begins.

The installer displays a status bar to show the progress of the installation, which may take fifteen minutes or longer. Once the following message appears:

Copied log file(s) to "/opt/cloudbees/sda/logs" CloudBees CD/RO <VERSION> was successfully installed! Installer log file: /opt/cloudbees/sda/logs/installer.log.

You can navigate to the URL of the web server, and the status of the server start up is displayed. Once it is complete, the log in window appears.

The default sign in credentials are:

  • Username: admin

  • Password: changeme

On your first sign in, CloudBees strongly suggests to immediately change the default password. To do so:

  1. Log into CloudBees CD/RO using the default credentials.

  2. Navigate to Administration  Users.

  3. From the Users list, select admin. The Edit User window opens.

  4. In the Current Password field, enter the default password.

  5. In the New Password field, enter a new password.

  6. Confirm your new password by entering it again in the Retype Password field.

  7. Select OK.

  8. Log out of CloudBees CD/RO, and then log back in using your new password.

For more information on sign in options, refer to Sign in to CloudBees CD/RO.

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.