Silent load generator installation on Linux

This section describes how to perform a silent installation of the load generator on a Linux machine.

Note: It is recommended that you use a source command to perform a silent installation. If you perform the installation without using the source command, you will need to set up the environmental variables after installing the load generator. For details, see Configure the Linux environment.

If the source command is not supported by the current shell, use the "dot" command. For example: . ./installer.sh - i silent.

If you encounter an error during the installation, see Troubleshoot the load generator Linux installation.

To perform a silent installation of the load generator:

  1. Switch to super user.

  2. If a load generator is installed on the machine, you must first uninstall it, otherwise the silent installation will fail. To uninstall the load generator, see Uninstall the load generator from a Linux machine.

  3. Change directory to /<path_to_installer_dvd>/load_generator_linux_x64/.

  4. Run the following command to silently install the load generator.

    source ./installer.sh -i silent

    You can add installation options as shown in the table below.

    Installation option Possible values Details
    –DSTART_PRODUCT_AFTER_INSTALL Yes, No Launch the load generator at the end of the installation. Default value: Yes
    -DINSTALL_GATLING Yes, No Install Gatling on the load generator. Default value: No
    -DINSTALL_JMETER Yes, No Install JMeter on the load generator. Default value: No

    Example: The following command runs a silent installation of a load generator with JMeter. The load generator is not launched at the end of the installation.

    source ./installer.sh -i silent -DINSTALL_JMETER=Yes -DSTART_PRODUCT_AFTER_INSTALL=No

Back to top

See also: