Pre-installation Tasks
This chapter describes how to perform pre-installation tasks such as verifying hard disk space and setting environment variables.
1. Overview
Before installing ProSort, perform the following tasks.
-
Verify available disk space
-
Set environment variables
2. Verifying Available Disk Space
Required disk space varies according to the platform, but at least 250 MB of free space is needed.
Use the df command in Unix systems to check the amount of available disk space.
|
For more information about hardware requirements, refer to System Requirements. |
3. Setting Environment Variables
Set the following environment variables properly to install and use ProSort.
| Environment Variable | Description |
|---|---|
$PROSORT_HOME |
ProSort home directory path. |
$PROSORT_SID |
User-configured ProSort service identifier used during the installation. ProSort is executed according to parameters set in the $PROSORT_SID.tip file under the $PROSORT_HOME/config directory. |
$LD_LIBRARY_PATH |
Shared library directory path. |
$PATH |
Directory path used to access a specific file. |
This document follows the GNU Bash syntax (refer to http://www.gnu.org/software/bash/) for Unix shell commands. The syntax can vary according to the shell type. For detailed information, see the following.
3.1. C Shell
Set the environment variables in C shell as follows:
-
PROSORT_HOME
setenv PROSORT_HOME [ProSort_installation_directory_path]
-
PROSORT_SID
setenv PROSORT_SID [ProSort_SID]
-
LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:{$PROSORT_HOME}/lib -
PATH
setenv PATH .:{$PROSORT_HOME}/bin:{$PATH}
3.2. Bourne, Korn, and Bash Shells
Set the environment variables in Bourne, Korn, and Bash shells as follows:
-
PROSORT_HOME
PROSORT_HOME=[ProSort_installation_directory_path] export PROSORT_HOME
-
PROSORT_SID
PROSORT_SID=[ProSort_SID] export PROSORT_SID
-
LD_LIBRARY_PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PROSORT_HOME/lib export LD_LIBRARY_PATH
-
PATH
PATH=$PROSORT_HOME/bin:$PATH export PATH
3.3. Settings for Each Platform
Set additional environment variables for each platform as follows:
-
HP-UX
Add the SHLIB_PATH environment variable and set it to $PROSORT_HOME/lib.
SHLIB_PATH=$SHLIB_PATH:$PROSORT_HOME/lib export SHLIB_PATH
-
AIX
Add the LIBPATH environment variable and set it to $PROSORT_HOME/lib.
LIBPATH=$LIBPATH:$PROSORT_HOME/lib export LIBPATH
If shared memory or a thread program is used, add and set the following environment variables.
EXTSHM=ON AIXTHREAD_SCOPE=S export EXTSHM AIXTHREAD_SCOPE
Environment Variable Description EXTSHM
Option to automatically extend shared memory.
-
ON: automatically extend shared memory.
-
OFF: do not automatically extend shared memory.
AIXTHREAD_SCOPE
Thread program usage scope.
-