Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Redhat 6.4Oracle10G installation environment configuration

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Oracle installation environment content

1. Edit / etc/sysctl.conf

Kernel.shmmni = 4096

Kernel.sem = 250 32000 100 128

Kernel.shmmax = 536870912

Fs.file-max = 65536

Net.ipv4.ip_local_port_range = 1024 65000

Net.core.rmem_default = 4194304

Net.core.rmem_max = 4194304

Net.core.wmem_default = 262144

Net.core.wmem_max = 262144

two。 From the oracle user, issue the command: vi~/.bash_profile

Export TMP=/tmp

Export TMPDIR=$TMP

Export ORACLE_BASE=/opt/oracle

Export ORACLE_HOME=$ORACLE_BASE/product/10.2.1/db_1

Export EDITOR=/usr/bin/vim

Export ORACLE_SID=orcl

Export PATH=$ORACLE_HOME/bin:$PATH

Export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK

Finally, use the command soure .bash _ profile to make the configuration effective

3. Modify the configuration file vi / etc/security/limits.conf

Oracle soft nproc 2047

Oracle hard nproc 16384

Oracle soft nofile 4096

Oracle hard nofile 65536

4. Create a file directory

Mkdir-p / opt/oracle

Chown-R oracle:inostall / opt/oracle

Chmod-R 775 / opt/oracle

5. Edit login vi/etc/pam.d/login

Session required pam_limits.so

Session required / lib/security/pam_limits.so

6. Give oracle users permission to use the graphical interface

# xhost loacl:oracl

(more wonderful articles are welcome to my website: 87 technology website http://www.qu87.com)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report