Este contenido no está disponible en el idioma seleccionado.

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.
Copy to Clipboard Toggle word wrap
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:
Copy to Clipboard Toggle word wrap
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.
Copy to Clipboard Toggle word wrap
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:
Copy to Clipboard Toggle word wrap
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".
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat, Inc.