|
This section contains the following topics: |
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.
The installation wizard easily installs Ingres without your having to know RPM commands.
To start the installation wizard
The first page of the Ingres Installation Wizard is displayed.
If you need more information about a specific item, click the item's information button
.
After you provide the required information in the Installation Wizard dialogs, the installation program installs Ingres.
You can install the Ingres RPM packages at the command line by doing either of the following:
The ingres_express_install command quickly installs Ingres RPM packages.
This command has the following format:
ingres_express_install [instance_ID] [instance_location]
Specifies the Ingres instance ID to use for the instance.
Identifies the directory into which you want to install Ingres.
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
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.
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
% 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.