Create a Gateway System Directory
Before you run the install program, you must create and specify a directory for your Ingres installation's system files (executables) called the ingres directory. The location you choose for your ingres directory must also contain adequate disk space for the error logs and configuration files that are created after you complete the install process. The location of this directory is stored in the II_SYSTEM environment variable.
To prepare the directory for your installation's system files
1. As root, create the directory on the disk where you want to install the Ingres system files (for example, install).
2. As ingres, specify where to install the installation's system files by setting the II_SYSTEM environment variable to point to the directory (dirname) that you created in the previous step.
For C shell:
% setenv II_SYSTEM /install
For Bourne shell:
$ II_SYSTEM=/install; export II_SYSTEM
3. In $II_SYSTEM, create the ingres directory:
• Make sure you have logged in through the Ingres system administrator's account.
• Change the active directory to $II_SYSTEM:
% cd $II_SYSTEM
• Within this directory, create a subdirectory named ingres:
% mkdir ingres
4. Enter the following command to grant the appropriate permissions for access to the files in the $II_SYSTEM/ingres directory:
% chmod 755 ingres
Note: Make sure that the Ingres system administrator's account owns the $II_SYSTEM/ingres directory. This is usually the home directory of the Ingres system administrator's account.
When you run the install program, it creates the appropriate subdirectories in the $II_SYSTEM/ingres directory.