Create the New Development Installation
To install Ingres on the development machine, follow these steps.
Note: The following procedure assumes that the development computer will support both the original and new installations.
UNIX:
1. Create a new Ingres directory on a disk with sufficient space to hold the Ingres Home Directory. In this example, the directory is called /ing11/ingres.
Execute the following commands:
mkdir /ing11/ingres
chmod 755 /ing11/ingres
2. Create two scripts to set the environment to the original and new development installations. In this example, the scripts are named “setold” and “setnew.”
Note: These example C shell scripts may need to be adjusted for your specific installation. For example, the PATH settings may be different, and LD_LIBRARY_PATH may be named LIBPATH or SHLIB_PATH, depending on the platform.
Note: In this example, the “old” installation is an Ingres 10.0 installation.
setold:
setenv II_SYSTEM /ing10
set path=(. /usr/local/bin /bin /usr/ucb /usr/sbin /usr/openwin/bin $II_SYSTEM/ingres/bin $II_SYSTEM/Ingres/utility /usr/ccs/bin)
set inst=`ingprenv1 II_INSTALLATION`
setenv LD_LIBRARY_PATH /usr/lib:/usr/openwin/lib
set prompt=`whoami`.`uname -n`"[$inst]% "
echo "Switching to original Ingres 10.0 [$inst] installation"
setnew:
setenv II_SYSTEM /ing11
set path=(. /usr/local/bin /bin /usr/ucb /usr/sbin /usr/openwin/bin $II_SYSTEM/ingres/bin $II_SYSTEM/ingres/utility /usr/ccs/bin)
set inst=`ingprenv II_INSTALLATION`
setenv LD_LIBRARY_PATH /usr/lib:/usr/openwin/lib:$II_SYSTEM/ingres/lib
set prompt=`whoami`.`uname -n`"[$inst]% "
echo "Switching to new 11 [$inst] installation"
3. If required, define aliases in the C shell or shell functions in the Bourne or Korn shell to invoke the setold and setnew scripts.
For example:
alias setold source ~ingres/setold
alias setnew source ~ingres/setnew
4. Use the “setnew” alias to switch to the new Ingres environment, and then change directory to $II_SYSTEM/ingres.
5. Install a new Ingres installation by following the instructions in these Ingres guides:
• Installation Guide
• Release Summary
• Readme
• System-specific readme
Note: The home directories can be on the same disks, but do not use the same data, checkpoint, journal, dump, or log directories for the old and new installations.
Last modified date: 01/30/2023