Toss it several times, experience is:
Installation of the package
In the installation package, the development of the installation package must be installed.
In addition, after the installation is complete, the packages that need to be installed include:
CD/MEDIA/CDROM/SERVERRPM-UVH BINUTILS-2.*RPM-UVH COMPAT-LIBSTDC++-33*RPM-UVH COMPAT-LIBSTDC++-33*.I386.RPMRPM-UVH ELFUTILS-LIBELF*RPM-UVH GCC-4.*RPM-UVH GCC-C++-4.*RPM-UVH GLIBC-2.*RPM-UVH GLIBC-COMMON-2.*RPM-UVH glibc-devel-2.* RPM-UVH GLIBC-HEADERS-2.*RPM-UVH ksh*rpm-uvh libaio-0.*rpm-uvh LIBAIO-DEVEL-0.*RPM-UVH LIBGOMP-4.*RPM-UVH libgcc-4.* RPM-UVH LIBSTDC++-4.*RPM-UVH libstdc++-devel-4.*rpm-uvh make-3.*rpm-uvh SYSSTAT-7.*RPM-UVH UNIXODBC-2.*RPM-UVH UnixO DBC-DEVEL-2.*RPM-UVH numactl-devel-* |
Build users
/usr/sbin/groupadd DBA
/usr/sbin/groupadd Oinstall
/USR/SBIN/USERADD-G oinstall-g dba Oracle
passwd Oracle
modifying system parameters
Modify the/etc/sysctl.conf file to add the following command
Kernel.sem = 250 32000 100 128
Net.ipv4.ip_local_port_range = 1024 65000
Net.core.rmem_default = 4194304
Net.core.rmem_max = 4194304
Net.core.wmem_default = 262144
Net.core.wmem_max = 262144
Fs.file-max = 6553600
Make the configuration file effective
/sbin/sysctl-p
Add the following command to/etc/security/limits.conf
Oracle Soft Nproc 2047
Oracle Hard Nproc 16384
Oracle Soft Nofile 1024
Oracle Hard Nofile 65536
Add the following command to/etc/pam.d/login
Session required/lib64/security/pam_limits.so
Session Required Pam_limits.so
For Bourne,bash or Korn shell add the following command to the file/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
Create sub-file directories, set owners, groups, and permissions
Mkdir-p/u01/app
Chown-r Oracle:oinstall/u01/app
Chmod-r 775/u01/app
Logging on to Oracle users
Modify Umask settings to ~/.bash_profile
Umask 022
Make the configuration file effective
. ./.bash_profile
Configure Oracle_base
Export Oracle_base=/u01/app/oracle
The rest is in the usual way.
Installing the Oracle 11GR2 database on Oracle Enterprise Linux R5U7