Installation environment
Linux Server: SUSE10 sp2 64-bit
Oracle Server: Oracle11gR2 64-bit
System Requirements
- Requirements for installing Oracle in Linux
System Requirements |
Description |
Memory |
Physical memory must be higher than 1 GB |
Swap space |
Generally, it is twice the memory size. For example, you can set the swap partition size to 3 GB for 1 GB memory. |
Hard Disk |
5G or above |
2. Modify core operating system parameters
Perform the following steps under the Root user:
1) modify the user's SHELL restrictions and modify the/etc/security/limits. conf file
Enter the command vi/etc/security/limits. conf, press the I key to enter the editing mode, and add the following content to the file.
Oracle soft nproc 2047 Hard nproc 16384 Oracle soft nofile 1024 Oracle hard nofile 65536 |
After editing, Press Esc and enter ": wq" to save the disk and exit.
2) modify the/etc/pam. d/login file, enter the command vi/etc/pam. d/login, press the I key to enter the editing mode, and add the following content to the file.
Session required/lib/security/pam_limits.so Session required pam_limits.so |
After editing, Press Esc and enter ": wq" to save the disk and exit.
3) modify the Linux kernel, modify the/etc/sysctl. conf file, enter the command vi/etc/sysctl. conf, press the I key to enter the editing mode, and add the following content to the file.
Fs. file-max = 6815744 Fs. aio-max-nr = 1048576 Kernel. shmall = 2097152 Kernel. shmmax = 2147483648 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 |
After editing, Press Esc and enter ": wq" to save the disk and exit.
4) to make the/etc/sysctl. conf change take effect immediately, run the following command. Input: sysctl-p:
Linux :~ # Sysctl-p Net. ipv4.icmp _ echo_ignore_broadcasts = 1 Net. ipv4.conf. all. rp_filter = 1 Fs. file-max = 6815744 Fs. aio-max-nr = 1048576 Kernel. shmall = 2097152 Kernel. shmmax = 2147483648 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 |