In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to install oracle 11.2 on RHEL5_x64", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to install oracle 11.2 on RHEL5_x64" this article.
One: install the operating system and patch pack
Install only the GNOME desktop when you install the operating system
Yum install gcc gcc-c++ libXp libaio make binutils openmotif setarch compat-db compat-gcc compat-gcc-c++ compat-libstdc++ compat-libstdc++-devel rsh compat-libstdc++-33 elfutils-libelf-devel libaio-devel sysstat unixODBC unixODBC-devel pdksh
Second: environment configuration
1. Create the oracle installation directory
Mkdir-p / u01/oracle/
2. Create a user account
Note: non-root users must be used when installing Oracle database. Root users are prohibited from installing.
Groupadd oinstall
Groupadd dba
Groupadd oper
Groupadd asmadmin
Useradd-u 500-g oinstall-G dba,oper,asmadmin-d / u01/oracle oracle
Passwd oracle # set the oracle user password
Chown-R oracle:oinstall / U01
Chmod-R 775 / U01
3. Configure the user environment
Edit the / etc/profile .bash _ profile file
Export PS1= "`/ bin/hostname-s`->"
Export ORACLE_SID=wishdb
Export ORACLE_BASE=/u01/oracle
Export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1
Export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib
Export PATH=$ORACLE_HOME/bin:$HOME/bin:/sbin:$PATH
Export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
Export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib
Edit / etc/profile file
If [$USER = "oracle"]; then
If [$SHELL = "/ bin/ksh"]; then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
4. Configure kernel parameters
Edit the / etc/sysctl.conf file and add the following.
Kernel.shmmni = 4096
Kernel.sem = 250 32000 100 128
Net.ipv4.ip_local_port_range = 9000 65500
Net.core.rmem_default = 4194304
Net.core.rmem_max = 4194304
Net.core.wmem_default = 262144
Net.core.wmem_max = 1048576
Net.ipv4.ipfrag_high_thresh = 524288
Net.ipv4.ipfrag_low_thresh = 393216
Net.ipv4.tcp_rmem = 4096 524288 16777216
Net.ipv4.tcp_wmem = 4096 524288 16777216
Net.ipv4.tcp_timestamps = 0
Net.ipv4.tcp_sack = 0
Net.ipv4.tcp_window_scaling = 1
Net.core.optmem_max = 524287
Net.core.netdev_max_backlog = 2500
Net.ipv4.tcp_mem = 16384 16384 16384
Fs.file-max = 6815744
Fs.aio-max-nr = 1048576
After adding the above, you must refresh the kernel parameter: sysctl-p
5. Configure login authentication
Edit the / etc/pam.d/login file and add the following, vi / etc/pam.d/login
Session required / lib/security/pam_limits.so
Session required pam_limits.so
6. Configure the limits.conf file
Edit the / etc/security/limits.conf file and add the following, vi / etc/security/limits.conf
Oracle soft nproc 2047
Oracle hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
7. Start the installation
These are all the contents of the article "how to install oracle 11.2 on RHEL5_x64". 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: 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.
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.