CentOS 6.5 system installation Oracle11.2.0.4 basic steps
CentOS 6.5 system installation Oracle11.2.0.4 basic steps
1. Modify the hosts file (simple, not described in detail)
Vim/etc/hosts
2. Modify the sysctl. conf file.
Vim/etc/sysctl. conf
Kernel. shmall = 1048576
Kernel. shmmni = 4096
Kernel. shmmax = 536870912
Kernel. sem = 250 32000 100 128
Fs. file-max = 65536
Net. ipv4.ip _ local_port_range = 1024 65000
Net. core. rmem_default = 1048576
Net. core. rmem_max = 1048576
Net. core. wmem_default = 262144
Net. core. wmem_max = 262144
Fs. aio-max-nr = 1048576
3. Modify the limits. conf file
Vim/etc/security/limits. conf
Oracle soft nproc 2047
Hard nproc 16384
Oracle soft nofile 1024
Oracle hard nofile 65536
4. Modify the login file
Vim/etc/pam. d/login
Session required/lib/security/pam_limits.so
Session required pam_limits.so
5. Create users and groups
Groupadd oinstall
Groupadd dba
Useradd-g oinstall-G dba oracle
Passwd oracle
6. Create an oracle directory
Mkdir-p/u01/app/oracle/product/11.2.0/db1
Chown-R oracle. dba/u01
7. Modify the variables of oracle users
Export ORACLE_BASE =/u01/app/oracle
Export ORACLE_HOME =/u01/app/oracle/product/11.2.0/db1
Export ORACLE_SID = mytest
Export PATH = $ ORACLE_HOME/bin: $ PATH
8. Install the oracle dependency package
Need to download is: pdksh-5.2.14-30.x86_64.rpm
All other packages have
9. Optimize the Operating System
- Disable Firewall
- Disable selinux
- Disable unnecessary services
- Restart the system