Installing All-in-One on Linux in silent mode
To install all components of License Metric Tool by using the All-in-One installer in silent mode, edit parameters in the install_response.txt file, and run the installation command.
Before you begin
- Ensure that the /home directory is a regular directory with write permissions to allow for the DB2 installation. The use of an automounted directory is not supported.
- The use of
sudo
is not supported.
Procedure
-
Authorize the All-in-One installation with a set of license files. If the computer on which you
are running the installation has the Internet access, the license files are created during the
installation. If the computer does not have the Internet access, or if for some other reason you
cannot create the license files during the installation, run a license generator and create
license files in offline mode.
Note: If you decide to create license files in offline mode on a computer that has the access to Internet, make sure that you continue the installation in the same command session.
-
Go to the directory with the installation package, and extract the installation files.
tar xvf installation_package
- Read the license agreement in the licenses/LA_language/license.txt file.
-
Edit the install_response.txt file and adjust it to your
installation.
Ensure that you uncomment and specify the values of the following parameters:
RSP_LICENSE_ACCEPTED
RSP_ADMIN_USER_NAMETip: Avoid using admin, administrator, root or a similar name for the administrative account. Such an account might be prone to hacker attacks and locked out if an attacker exceeds the specified number of failed login attempts. For more information, about the account lockout, see: Configuring user account lockout.
RSP_ADMIN_PASSWORD
RSP_INSTALL_DB2
RSP_DB2_INST_PASSWORD
RSP_DB2_ROOT
RSP_DB2_INST_HOME_DIRECTORY
RSP_INSTALL_IEM
RSP_IEM_BES_WWW_FOLDER
RSP_IEM_WR_WWW_FOLDER
RSP_IEM_TEM_USER_PASSWORD
RSP_IEM_WR_WWW_PORT
RSP_APP_DS_TEMS_PORT
RSP_IEM_LICENSE_FILES_DIR (this parameter is optional for online installation)
RSP_TLM_ROOT
RSP_TLM_HTTPS_PORTThe following parameters are required to create license files and are mandatory only when the computer on which you are installing License Metric Tool has Internet access:
RSP_IEM_KEY_SIZE
RSP_IEM_LICENSE_HOSTNAME -
Change to the directory with installation files. To start the installation, run the following
command.
setup-server-linux-x86_64.sh -f response_file_path -i silent
Where response_file_path is the absolute path to the response file that you are using. For example:setup-server-linux-x86_64.sh -f /tmp/images/install_response.txt -i silent
Tip: Use the-h
option to view help information about using the script, for example:setup-server-linux-x86_64.sh -h
. -
To access the License Metric Tool user
interface, open a browser and go to
https://host_name:port
, where host_name is the host name of the computer where the License Metric Tool server is installed, and port is the port that you specified during the installation. - To start the initial import, click Import Now.