Configuring the system and installing the required packages
Temporary shutdown (no restart)
[[Email protected] ~] #
Modify configuration file (requires restart): Change selinux=enforcing to Selinux=disabled
[[Email protected] ~] # Vi/etc/selinux/config
- Upgrade Package (optional)
[[Email protected] ~] # Yum update-y
- Modify hosts to add a host record
[[Email protected] ~] # vi/etc/hosts
- Install the required packages for Oracle
Yum install gcc gcc-c++ glibc glibc-devel glibc-headers ksh libaio libaio-devel libgcc libstdc++ libstdc++-devel make Syss Tat UnixODBC unixodbc-devel zlib-devel unzip Compat-libcap1 compat-libstdc++-33
[[email protected] ~]#Groupadd oinstall[[email protected] ~]#Groupadd dba[[email protected] ~] #Groupadd oper[[email protected] ~]#-G oinstall-g dba,oper Oracle
- modifying system Parameters/etc/sysctl.conf
[[Email protected] ~] # Vim /etc/sysctl.conf
Add the following content:
Fs.file-max = 6815744= 32000= 4096= 1073741824= 4398046511104 = 262144= 4194304= 262144= 1048576fs.aio-max-nr = 1048576= 9000 65500
Make the app effective
[[Email protected] ~] #sysctl -P
- Modify/etc/security/limits.conf
[[Email protected] ~] # vim/etc/security/limits.conf
Add the following parameters:
Oracle Soft nofile 1024x768 Oracle hard nofile 65536Oracle Soft Nproc 2047Oracle hard nproc 16384oracle soft Stack 10240Oracle hard stack 32768
- Create an installation folder
[[Email protected] ~] # mkdir-p/usr/local/oracle/product/12.1.2/db_1 [[Email protected] ~] # chown oracle:oinstall/usr/local/oracle-r
CentOS Silent Installation oracle12c