Oracle 12c installation process based on Redhat Linux6.5 on a virtual machine

1. Prepare the operating system environment

Close selinx (the configuration file of selinux is /etc/selinux/config), and the configuration will take effect after restarting the machine

turn off firewall

2. Create the required users (oinstall) and groups (oinstall, dba)

3. Create the required directory (/u01) and modify the permissions

4. Configure the local yum source and install the package

12c需要安装的包有binutils compat-libstdc++-33 elfutils-libelf elfutils-libelf-devel gcc gcc-c++ glibc glibc-common glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make sysstat compat-libcap* numactl-devel unix0DBC unix0DBC-devel openmotif22 openmotif compat-db libXp

5. Configure the kernel parameters (the configuration file is /etc/sysctl.conf)
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmall = 2097152 //This should already exist in the file, and in general the value is greater than the recommended value, so it can be deleted
kernel.shmmax = 536870912 //same as above
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586

6. Configure soft and hard limits (configuration file is /etc/security/limits.conf)

oracle              soft    nproc   2047
oracle              hard    nproc   16384
oracle              soft    nofile  1024
oracle              hard    nofile  65536
oracle              soft    stack   10240

7. Configure access restrictions (the configuration file is /etc/oam.d/login)

 
 
session required /lib64/security/pam_limits.so
[root@OCP3 ~]# xhost +
8. Start the installation

Configure local parsing before installation

[root@OCP3 ~]# vim /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
172.16.40.13 OCP3

I use the zip package for the installation here, just copy the package to /home/oracle, decompress it, it should be a directory named database after decompression, modify the group of this directory to oinstall, and the owner to oracle, The permission is 775, then log in with the oracle user, enter the database/ directory, execute the script, and install

[oracle@OCP3 database]# ./runInstaller

Then select the installation option you need and follow it step by step.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325870005&siteId=291194637