Este conteúdo não está disponível no idioma selecionado.

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
Copy to Clipboard Toggle word wrap
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
Copy to Clipboard Toggle word wrap
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
Copy to Clipboard Toggle word wrap
Set the shell search paths:
export PATH=$PATH:$ORACLE_HOME/bin
Copy to Clipboard Toggle word wrap
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".
Voltar ao topo
Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2025 Red Hat