3.2. Using the installer in CLI mode
You can run the Red Hat Decision Manager installer through the command-line interface (CLI).
For security reasons, you should run the installer as a non-root user.
Prerequisites
- A supported JDK is installed. For a list of supported JDKs, see Red Hat Process Automation Manager 7 Supported Configurations.
- A backed-up Red Hat JBoss Web Server 5.1.0 server installation is available.
Sufficient user permissions to complete the installation are granted.
注記Ensure that you are logged in with a user that has write permission for Tomcat.
The JAR binary is included in the
$PATHenvironment variable. On Red Hat Enterprise Linux, it is included in thejava-$JAVA_VERSION-openjdk-develpackage.注記Red Hat Decision Manager is designed to work with UTF-8 encoding. If a different encoding system is used by the underlying JVM, unexpected errors might occur. To ensure UTF-8 is used by the JVM, use the
"-Dfile.encoding=UTF-8"system property.
Procedure
In a terminal window, navigate to the directory where you downloaded the installer file and enter the following command:
java -jar rhdm-installer-7.5.1.jar -console
The command-line interactive process will start and display the End-User License Agreement.
press 1 to continue, 2 to quit, 3 to redisplay.
Read the license agreement, enter
1, and press Enter to continue:Specify the home directory of one of the following servers: Red Hat JBoss EAP 7.2 or Red Hat JBoss Web Server 5.1.0
Enter the parent directory of an existing Red Hat JBoss Web Server 5.1.0 installation.
The installer will verify the location of the installation at the location provided. Enter
1to confirm and continue.Follow the instructions in the installer to complete the installation.
注記When you create the user name and password, make sure that the specified user name does not conflict with any known title of a role or a group. For example, if there is a role called
admin, you should not create a user with the user nameadmin.The password must have at least eight characters and must contain at least one number and one non-alphanumeric character (not including the character
&).Make a note of the user name and password. You will need them to access Business Central and Decision Server.
When the installation has completed, you will see this message:
Would you like to generate an automatic installation script and properties file?
-
Enter
yto create XML files that contain the installation data, ornto complete the installation. If you entery, you are prompted to specify a path for the XML files. Enter a path or press the Enter key to accept the suggested path.
The installer generates two files. The
auto.xmlfile automates future installations and theauto.xml.variablesfile stores user passwords and other sensitive variables. Use theauto.xmlfile on multiple systems to easily repeat a Red Hat Decision Manager installation on the same type of server with the same configuration as the original installation. If necessary, update theinstallpathparameter in theauto.xmlfile. Enter the following command to perform an installation with the XML file:java -jar rhdm-installer-7.5.1.jar <path-to-auto.xml-file>
- If you installed only Decision Server, repeat these steps to install the headless Decision Manager controller on a separate server.