2. Installing Ingres : Installing Ingres for Linux : Installing Ingres for Linux at the Command Line : ingres_express_install Command--Install Ingres
 
Share this page                  
ingres_express_install Command--Install Ingres
The ingres_express_install.sh command quickly installs Ingres RPM packages.
This command has the following format:
ingres_express_install.sh [-respfile filename] [instance_PATH] [instance_ID]
-respfile filename
Uses the settings in the response file (see Response File--Define Configuration for the Installation) 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:   
ingres_express_install.sh will not upgrade an RPM instance.
The ingres_express_install.sh command must be run as the "root" system user.
ingres_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 ingres_express_install.sh tries to install into "/opt/Actian/IngresA2", which can corrupt an existing II installation.
After ingres_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: ingres_express_install.sh Command
This command installs all RPM packages in the current working directory with the default configuration:
ingres_express_install.sh
This command installs all RPM packages with the default configuration into "/opt/Actian/IngresII", but with an instance ID of A1:
ingres_express_install.sh A1
This command installs all RPM packages with the default configuration into "/opt/Actian/IngresA2", with an instance ID of A2:
ingres_express_install.sh /opt/Actian/IngresA2 A2
This command installs all RPM packages with the configuration defined in a response file, resp.txt:
ingres_express_install.sh -respfile /path/to/resp.txt
Note:  If you set II_RESPONSE_FILE to point to a valid response file (see Response File--Define Configuration for the Installation), then you can install Ingres with the configuration defined in that response file.