Installing Ingres

This section contains the following topics:

Installing Ingres for Linux

How You Access the Instance on Linux and UNIX

Start the Ingres Installation on Linux and UNIX

Next Topic

Installing Ingres for Linux

Ingres is installed on Linux using RPM Package Manager. You can install Ingres using an installation wizard or from the command line.

Note: Installation of Ingres requires root access. If you are logged in as another user, you will need the root password.

For details on installation considerations and more information on using RPM to install and upgrade Ingres, see the Installation Guide.

Next Topic

Install Ingres for Linux Using the Installation Wizard

The installation wizard easily installs Ingres without your having to know RPM commands.

To start the installation wizard

  1. Run the ingres_install script located in the root directory of the Ingres distribution.

    The first page of the Ingres Installation Wizard is displayed.

  2. Respond to the Installation Wizard dialogs.

    If you need more information about a specific item, click the item's information buttonbutton.

    After you provide the required information in the Installation Wizard dialogs, the installation program installs Ingres.

Next Topic

Installing Ingres for Linux at the Command Line

You can install the Ingres RPM packages at the command line by doing either of the following:

Next Topic

ingres_express_install Command—Install Ingres

The ingres_express_install command quickly installs Ingres RPM packages.

This command has the following format:

ingres_express_install [instance_ID] [instance_location]

Examples: ingres_express_install Command

This command installs all RPM packages in the current working directory with the default configuration:

ingres_express_install

This command installs all RPM packages with the default configuration, but with an instance ID of A1:

ingres_express_install A1

Next Topic

How You Access the Instance on Linux and UNIX

When the installation is complete, the instance is running.

To access your instance, you must source the environment file that was created during installation.

During installation, an environment file is written to the home directory of the operating-system user ID that was defined during installation (the default is "ingres"). The name of the environment file depends on the value of II_INSTALLATION.

To source the environment file created during installation, issue the following command.

Note: The following examples assume an operating-system user ID of ingres.

For bash:

. ~ingres/.ingXXbash

For tcsh:

source ~ingres/.ingXXtsch

where XX is the instance ID of the instance.

For other users to have access to the instance and the Ingres tools, they must have access to the .ingXXbash and .ingXXtsch scripts. The scripts can be copied to the home directory of any user.

Next Topic

Start the Ingres Installation on Linux and UNIX

Use the ingstart command to start Ingres.

Note: If you are using a raw device for your transaction log file, you must configure the log file before starting your instance.

Note: If your operating system has shadow passwords, you must install the password validation program before starting a networked DBMS Server instance.

To start the Ingres instance

  1. Log on to your system through the system administrator account for the instance.
  2. Enter the following command:

    % ingstart

    The ingstart command checks whether you have sufficient operating system resources to run the Ingres components, and whether the raw log file (if used) is configured. If these conditions are met, ingstart starts all servers that are part of your instance.

To stop the Ingres instance

Enter the following command:

% ingstop

The instance is stopped.


© 2007 Ingres Corporation. All rights reserved.