In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you "how to install oracle11.2.0g on redhat5.9 32-bit system", which is easy to understand and clear. I hope it can help you solve your doubts. Let me lead you to study and learn how to install oracle11.2.0g on redhat5.9 32-bit system.
Groupadd dba
Groupadd oinstall
Useradd-g oinstall-G dba oracle
Passwd oracle
Mkdir / opt/oracle-pv
Chown-R oracle.oinstall / opt/oracle
Check the dependency package:
Binutils
Compat-libstdc
Gcc
Gcc-c++
Glibc
Glibc-common
Glibc-devel
Glibc-headers
Kernel-headers
Ksh
Libaio
Libaio-devel
Libgcc
Libgomp
Libstdc++
Libstdc++44-devel
Make
Numactl-devel
Sysstat
UnixODBC
UnixODBC-devel
Install java
Jdk-1_5_0_06-linux-i586.bin
Sh jdk-1_5_0_06-linux-i586.bin
Cp-rv jdk-1_5_0_06 / usr/local
Ln-s / usr/local/jdk-1_5_0_06/ / usr/local/jdk
Ln-s / usr/local/jdk-1_5_0_06/jre / usr/local/jre
Ln-s / usr/local/jdk-1_5_0_06/bin/java / usr/bin/java
Ln-s / usr/local/jdk-1_5_0_06/bin/javac / usr/bin/javac
Configure Java environment variables
Cd / etc/profile.d
Vi java.sh
Export JAVA_HOME=/usr/local/jak
Export PATH=$PATH:$JAVA_HOME/bin
Export CLASSPATH=$JAVA_HOME/lib/tools.tar:.:$JAVA_HOME/lib/dt.jar
System configuration
Chkconfig iptables off
Selinux=disabled
Kernel configuration
Oracle soft nproc 2047
Oracle soft nofile 1024
Oracle hard nproc 16384
Oracle hard nofile 65536
Kernel optimization parameters
Vi / etc/sysctl.conf
Net.ipv4.ip_forward= 0
Net.ipv4.conf.default.rp_filter = 1
Net.ipv4.conf.default.accept_source_route = 0
Kernel.sysrq = 0
Kernel.core_uses_pid = 1
Net.ipv4.tcp_syncookies = 1
Net.ipv4.ip_local_port_range = 1024 65500
Kernel.msgmnb = 65536
Kernel.msgmax = 65536
Kernel.shmmax = 4294967295
Kernel.shmall = 268435456
Kernel.shmmni = 4096
Kernel.sem = 250 32000 100 128
Fs.file-max = 65536
Net.core.rmem_default = 262144
Net.core.rmem_max = 262144
Net.core.wmem_deault = 262144
Net.core.wmem_max = 262144
Configure oracle environment variables
Export TMP=/tmp
Export TMPDIR=$TMP
Export ORACLE_BASE=/opt/oracle
Export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
Export ORACLE_SID=orcl
Export ORACLE_TERM=xterm
Export PATH=/usr/sbin:$PATH
Export PATH=$ORACLE_HOME/bin:$PATH
Export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
Export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib
Export DISPLAY=:0.0
Export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
#
# set jdk environment
JAVA_HOME=/usr/local/jdk;export JAVA_HOME
# PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/lib/i386:$HOME/bin:/home/oracle/bin:/opt/oracle/product/11.2.0/bin;export PATH
PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/lib/i386:/home/oracle/bin:$ORACLE_HOME/bin; export PATH
NLS_LANG= "SIMPLIFIED CHINESE_CHINA". ZHS16GBK; export NLS_LANG
# export NLS_LANG= "AMERICAN_CHINA.ZHS16GBK"
#
LC_CTYPE=zh_CN.GB2312
LC_ALL=zh_CN
LANG=zh_CN.GB2312
Umask 022
#
If [$USER = "oracle"]; then
If [$SHELL = "/ bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
Start installation
Xhost local:oracle non-network localconnections being added to access control list
11. Su-oracle
Cd / opt/oracle/database
Export LANG=c
. / runinstaller
The above is all the contents of the article "how to install oracle11.2.0g on redhat5.9 32-bit system". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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: 215
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.