1. Linux Installation
Mainly do not set the home partition of the special large
2. Install some of the necessary packages.
Yum Install-y binutils.x86_64 elfutils-libelf-devel.x86_64 Compat-libstdc++- -. x86_64 Compat-libcap1.x86_64 gcc.x86_64 gcc-c++. x86_64 glibc.i686 glibc.x86_64 glibc-devel.i686 glibc-devel.x86_64 libaio.i686 libaio.x86_64 Libaio-devel.i686 Libaio-devel.x86_64 libgcc.i686 libgcc.x86_64 libstdc++. i686 LIBSTDC++. x86_64 LIBSTDC++-devel.i686 LIBSTDC++-devel.x86_64 libxi.i686 libxi.x86_64 libxtst.i686 libxtst.x86_64 make.x86_64 sysstat.x86_64 cpp.x86_64 glibc-headers.x86_64 mpfr.x86_64 xorg-x11-utils.x86_64 Compat-Libcap1ksh*.x86_64
3. Sometimes ksh packages are often not installed on CD-to-Linux installation paths generally
/run/media/root/ol-7.3 server.x86_64/packages
4. Adding users and Groups
Groupadd Dbauseradd -g dbapasswd Oracle
5 New/u01 Directory
Mkdir/u01
6. Upload the Oracle installation media to the directory
7. Modify the owner and permissions of the directory
Chown-r Oracle/u01 777 /u01
8. Modify the parameters of the sysctl.conf
Edit file: Vim/etc/Sysctl.conf added accordingly: Fs.aio-MAX-NR =1048576Fs.file-max =6815744Kernel.shmall=2097152MoD777/u01kernel.shmmax =6536870912Kernel.shmmni=4096Kernel.sem= - 32000 - -Net.ipv4.ip_local_port_range=9000 65500Net.core.rmem_default=262144Net.core.rmem_max=4194304Net.core.wmem_default=262144Net.core.wmem_max=1048586
9 Additional Security parameter restrictions
vim/etc/security/limits.conf Add content Oracle soft nproc 16384Oracle Hard Nproc 65536oracle soft nofile 16384Oracle Hard nofile 65536oracle soft stack 65536 Oracle hard stack 65536
10. Switch to the Oracle user and modify the environment variables.
-~/ for oracle 18coracle_base=/u01/app/oracleoracle_home= $ORACLE _ base/product/18.1. 0/dbhome_1oracle_sid=Orclpath= $ORACLE _home/bin: $PATH: $HOME/bin:/u01/database/ Binld_library_path= $ORACLE _home/lib: $LD _library_pathexport PATH ld_library_path DISPLAY oracle_base Oracle_home Oracle_sid
11 Uploading Tigervnc and installing VNC using the command line for installation
CD to database directory
Perform
./runinstaller
For installation.
Procedures for installing Oracle under Linux