1) rpm required for installation: [plain] # cd/media/RHEL_5.5x86_64DVD/Serverrpm-ivhcompat-libstdc ++-33-3.2.3-61.i386.rpmrpm-ivhcompat-lib
1) required rpm for installation:
[Plain]
- # Cd/media/RHEL_5.5 x86_64 DVD/Server
- Rpm-ivh compat-libstdc ++-33-3.2.3-61.i386.rpm
- Rpm-ivh compat-libstdc ++-33-3.2.3-61.x86_64.rpm
- Rpm-ivh gcc-c ++-4.1.2-48. el5.x86 _ 64.rpm
- Rpm-ivh libstdc ++ devel-4.1.2-48.el5.x86_64.rpm
- Rpm-ivh glibc-headers-2.5-49.x86_64.rpm
- Rpm-ivh glibc-devel-2.5-49.x86_64.rpm
- Rpm-ivh glibc-devel-2.5-49.i386.rpm
- Rpm-ivh libgomp-4.4.0-6.el5.x86_64.rpm
- Rpm-ivh gcc-4.1.2-48.el5.x86_64.rpm
- Rpm-ivh libXp-1.0.0-8.1.el5.i386.rpm
- Rpm-ivh sysstat-7.0.2-3.el5.x86_64.rpm
- Rpm-ivh util-linux-2.13-0.52.el5_4.1.x86_64.rpm
- Rpm-ivh kernel-headers-2.6.18-194.el5.x86_64.rpm
Install the verification package:
[Plain]
- # Rpm-qa -- queryformat "% {NAME}-% {VERSION}-% {RELEASE} (% {ARCH}) \ n" | grep glibc-devel
2) create an installation group and a user:
[Plain]
- # Groupadd-g 1000 oinstall
- # Groupadd-g 1001 dba
- # Groupadd-g 1002 running
- # Useradd-u 1000-g oinstall-G dba, role Oracle
- # Passwd oracle
3) Create the installation directory and set the corresponding permissions:
[Plain]
- # Mkdir-p/u01/app/oracle
[Plain]
- # Chown-R oracle: oinstall/u01
[Plain]
- # Chmod-R 775/u01
4) Adjust the kernel parameters:
[Plain]
- # Vim/etc/sysctl. conf
- Kernel. sem = 250 32000 100 128
- Kernel. shmmax = 2147483648
- Kernel. shmmni = 4096
- Kernel. shmall = 2097152
- Fs. file-max = 65536
- Net. ipv4.ip _ local_port_range = 1024 65000
- Net. core. rmem_default = 262144
- Net. core. rmem_max = 2097152
- Net. core. wmem_default = 262144
- Net. core. wmem_max = 262144
Make the adjustment take effect:
[Plain]
- Sysctl-p
5) Adjust shell running parameters:
[Plain]
- #/Etc/security/limits. conf
- Oracle soft nproc 2047
- Hard nproc 16384
- Oracle soft nofile 1024
- Oracle hard nofile 65536
Load verification module:
[Plain]
- # Vim/etc/pam. d/login
- Session required pam_limits.so
Tune oracle user max Number of opened processes (u) and number of files (n) for bash: http://www.linuxidc.com/Linux/2011-03/33121.htm
[Plain]
- # Vim/etc/profile
- If [$ USER = "oracle"]; then
- If [$ SHELL = "/bin/ksh"]; then
- Ulimit-p 16384
- Ulimit-n 65536
- Else
- Ulimit-u 16384-n 65536
- Fi
- Fi
6) set ORACLE_BASE Environment Variables
[Plain]
- $ ORACLE_BASE =/u01/app/oracle; export ORACLE_BASE
7) Start installation:
[Plain]
- $./RunInstaller