此内容没有您所选择的语言版本。

32.3. Setting Oracle Environment Variables


Make sure to set the following Oracle environment variables before you execute runInstaller.
As the oracle user, execute the following commands. Make sure to set the LD_ASSUME_KERNEL environment variable for Red Hat Enterprise Linux 3 and 4. Use the "Linuxthreads with floating stacks" implementation instead of NPTL.
export LD_ASSUME_KERNEL=2.4.1    # for Red Hat Enterprise Linux 3
export LD_ASSUME_KERNEL=2.4.19   # for Red Hat Enterprise Linux 4
For the Oracle Environment:
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/9.2.0
export ORACLE_SID=test
export ORACLE_TERM=xterm
You will need to export TNS_ADMIN= Set if sqlnet.ora, tnsnames.ora and other variables are not present in $ORACLE_HOME/network/admin.
export NLS_LANG=AMERICAN;
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export LD_LIBRARY_PATH
Set the shell search paths:
export PATH=$PATH:$ORACLE_HOME/bin
You can add these environment settings to the end of the ~oracle/.bash_profile file if you use bash. This will ensure that the environment variables are set permanently when you log in as "oracle", or when you switch to the user "oracle" by executing "su - oracle".
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.