express_install Command—Install Ingres
The express_install.sh command quickly installs Ingres RPM packages.
This command has the following format:
express_install.sh [-respfile filename] [instance_PATH] [instance_ID]
-respfile filename
Uses the settings in the response file filename during setup.
instance_PATH
Identifies the full path to the location where Ingres is to be installed (II_SYSTEM).
Default: /opt/Actian/IngresII
instance_ID
Defines a two-character string where the first character must be an uppercase letter and the second character must be an uppercase letter or a number from 0 to 9.
Default: II
Note:
• express_install.sh will not upgrade an RPM instance.
• The express_install.sh command must be run as the "root" system user.
• express_install.sh will fail if:
– An "ingres" system user does not exist (ingbuild only).
– The "ingres" system user does not have read and execute permissions on the II_SYSTEM directory.
– Another instance of Ingres exists with the same instance ID as the one we are installing (RPM only).
• If an alternate instance_ID (for example, A2) is specified:
– The instance_PATH must be specified (for example, "/opt/Actian/IngresA2").
– If instance_PATH is not specified express_install.sh tries to install into "/opt/Actian/IngresA2", which can corrupt an existing II installation.
• After express_install.sh completes, do the following:
a. Shut down the instance using the ingstop command.
b. Log off from the "root" system user.
c. Log on to the "ingres" system user and execute .ingXXsh or .ingXXcsh (where XX is the instance ID), which are found in the home directory ($HOME) of the "ingres" system user.
d. Start Ingres using the ingstart command.
Examples: express_install.sh Command
This command installs all RPM packages in the current working directory with the default configuration:
express_install.sh
This command installs all RPM packages with the default configuration into "/opt/Actian/IngresII", but with an instance ID of A1:
express_install.sh A1
This command installs all RPM packages with the default configuration into "/opt/Actian/IngresA2", with an instance ID of A2:
express_install.sh /opt/Actian/IngresA2 A2
This command installs all RPM packages with the configuration defined in a response file, resp.txt:
express_install.sh -respfile /path/to/resp.txt