If you encounter any problems during the installation process, you can discuss them and learn together. If there are any errors, please let us know. Thank you. 1. first Modify/etc/sysctl. add the parameter [root @ redz-server ~] To the conf file. # Cat & gt;/etc/sysctl. conf & lt; EOF & gt; # define leneedparameters & gt; fs. aio-max-nr = 1048576 & gt;
If you encounter any problems during the installation process, you can discuss them and learn together. If there are any errors, please let us know. Thank you.
1. First modify the/etc/sysctl. conf file to add parameters.
[Root @ redz-server ~] # Cat>/etc/sysctl. conf <EOF
> # Oracle need parameters
> Fs. aio-max-nr = 1048576
> Fs. file-max = 6815744
> Kernel. shmall = 2097152
> Kernel. shmmax = 1024000000 (adjusted based on the system memory)
> Kernel. shmmni = 4096
> Kernel. sem = 250 32000 100 65500
> Net. ipv4.ip _ local_port_range = 9000 65500
> Net. core. rmen_default = 262144
> Net. core. rmem_max = 4194304
> Net. core. wmem_default = 262144
> Net. core. wmem_max = 1048586
> EOF
Run/sbin/sysctl-p to make the parameter take effect.
2. Modify/etc/security/limits. conf
[Root @ redz-server ~] # Cat>/etc/sysctl. conf <EOF
[Root @ redz-server ~] # Cat>/etc/security/limits. conf <EOF
> # Oracle need parameters
> Orcle soft nproc 2047
> Hard nproc 16384
> Oracle soft nofile 1024
> Oracle hard nofile 65536
> EOF
3. Modify/etc/pam. d/limits. conf.
[Root @ redz-server ~] # Cat>/etc/pam. d/login <EOF
> Session required pam_limits.so
> EOF
4. Modify/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
4. Modify/etc/csh. login
Vi/etc/csh. login
# Oracle need setting
If ($ USER = "oralce") then
Limit maxproc 16384
Limit descriptors 65536
Umask 022
Endif
5. create user groups and users
[Root @ redz-server ~] #/Usr/sbin/groupadd oinstall
[Root @ redz-server ~] #/Usr/sbin/groupadd dba
[Root @ redz-server ~] #/Usr/sbin/useradd-m-g oinstall-G dba oracle
[Root @ redz-server ~] # Echo "oracle" | passwd -- stdin oracle
Change the password of your oracle database.
Passwd: All authentication tokens have been successfully updated.