失效链接处理 |
Oracle 11g RAC+DG 静默部署文档 PDF 下载
本站整理下载:
相关截图:
主要内容:
grid 用户:
以 grid 用户分别登录到每个节点,配置环境变量,确保为每个节点指定唯一的 ORACLE_SID
注意:$GRID_HOME 一定不要在$ORACLE_BASE 内,但是$ORACLE_HOME 一定要在$ORACLE_BASE 内。
export ORACLE_SID=+ASM1
export JAVA_HOME=/usr/local/java
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/grid #$GRID_HOME
export ORACLE_TERM=xterm
export TNS_ADMIN=$ORACLE_HOME/network/admin
export ORA_NLHYBRISDB11=$ORACLE_HOME/nls/data
export PATH=.:${PATH}:$HOME/bin:$ORACLE_HOME/bin
export PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
export PATH=${PATH}:$ORACLE_BASE/common/oracle/bin
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
export CLASSPATH
export THREADS_FLAG=native
export TEMP=/tmp
export TMPDIR=/tmp
# ---------------------------------------------------------------------------------------------------------------------------
# Set the default file mode creation mask (umask) to 022 to ensure that the user performing
# the Oracle software installation creates files with 644 permissions.
# ---------------------------------------------------------------------------------------------------------------------------
umask 022
|