上个礼拜的试验成果
在AIX上安装LEI的过程中,需要设置notes用户的. profile文档.需要设置并导出好几个变量(LANG,LOTUS,Notes_ExecDirectory,LIBPATH,PATH),样历如下:LANG=zh_CN
export LANG
LOTUS=/opt/lotus;export LOTUS
Notes_ExecDirectory=/opt/lotus/notes/latest/ibmpow
export Notes_ExecDirectory
LIBPATH=$Notes_ExecDirectory:/usr/opt/db2_08_01/lib
export LIBPATH
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/opt/lotus/bin:/sbin:$LOTUS/notes/latest/ibmpow/res/$LANG:$Notes_ExecDirectory:/lotus/data
export PATH
if [ -s "$MAIL" ] # This is at Shell startup. In normal
then echo "$MAILMSG" # operation, the Shell checks
fi # periodically.
帮助如下AIX Environment Variables
Set and export the following environment variables in your appropriate configuration file (such as .login or .profile) so that they will be accessed each time you log on and invoke LEI.
1. Ensure that the LANG environment variable is correctly set to your proper locale and is exported. If this is not set, the default "C" is used.
LANG=C
2. Ensure that the environment variable LOTUS is set as shown below:
If you use the C shell, your .login file should contain the line:
setenv LOTUS /opt/lotus
For sh or ksh, your initialization file should contain the following:
LOTUS=/opt/lotus; export LOTUS
3. Ensure that the environment variable Notes_ExecDirectory is set to specify the Notes executable directory and that the environment variable is exported.
Notes_ExecDirectory=/opt/lotus/notes/latest/ibmpow
4. Ensure that the environment variable PATH is set to include the following directories and that the environment variable is exported.
Notes Resource directory: $LOTUS/notes/latest/ibmpow/res/$LANG
Lotus executable directory: $Notes_ExecDirectory
Notes data directory (locates notes.ini file; for example /home/notes/notesdata)
For example:
PATH=$PATH:/opt/lotus/notes/latest/ibmpow/res/$LANG:/$Notes_ExecDirectory:/home/notes/notesdata
5. Ensure that the environment variable LIBPATH, which is used to locate shared libraries, is set to include the following directories and that the environment variable is exported.
Notes executable directory: $Notes_ExecDirectory
Any other product library directories you may require (such as $ORACLE/lib, $SYBASE/lib, $ODBC_HOME/dlls)
For example:
LIBPATH=$Notes_ExecDirectory:$ORACLE/lib
由于在帮助中没有仔细看,只是做了export LOTUS的动作,没有做其他变量的export 的动作,所以在安装过程中,总是会报错误,希望大家看过我的文章的兄弟姐妹不要在犯同样的错误。