Install Ingres Using RPM Commands
As an alternative to using the express install script, you can install Ingres by invoking RPM directly.
To install a single package
Invoke RPM with the appropriate installation flags, including the path to the package you want to install, as follows:
rpm ‑ivh path_to_directory/Ingres_package.rpm
To install more than one package at a time
Pass multiple file names, specifying the path to each package, as follows:
rpm ‑ivh path_to_directory/Ingres_package.rpm path_to_directory/Ingres_package2.rpm path_to_directory/Ingres_package3.rpm
To install all packages in the same directory
Specify the following:
rpm ‑ivh path_to_directory/*.rpm
To install a package into a non-default location (that is, with an II_SYSTEM value other than the default)
Use the ‑prefix flag when invoking RPM. The following command installs the specified package with II_SYSTEM=/home/ingres/IngresII:
rpm ‑ivh ‑‑prefix=/home/ingres/IngresII path_to_directory/Ingres_package.rpm
Note: All packages installed in a single instance must have the same value of II_SYSTEM. If you use the prefix flag to install the base package, you must install all subsequent packages with the same –prefix value.
Note: After you have installed Ingres using the RPM command, you must run the service script (see
Configure and Start the Instance), which configures the instance.
Configure and Start the Instance
When installing Ingres using the RPM command, the setup portion of the installation process must be completed by running the service script. The service script configures and starts the instance.
To run the setup programs and start the instance
After the installation has completed, run the service script as follows:
/sbin/service ingresXX start
where XX is the instance ID.
The instance is configured and started.
To run the setup without starting the instance
After the installation has completed, run the service script as follows:
/sbin/service ingresXX configure
The instance is configured but not started.