Download the Oracle installation package:
:
Note Download Oracle is required to register Oracle's
http://download.oracle.com/otn/nt/oracle11g
Download Two packages:
Linux.x64_11gR2_database_1of2.zip
Linux.x64_11gR2_database_2of2.zip
1, Upload: to the server:
Mkdir-p/usr/local/oracle
Cd/usr/local/oracle
Place two packages in an environment:
Unzip Linux.x64_11gR2_database_1of2.zip
Unzip Linux.x64_11gR2_database_2of2.zip
2. Prepare the Oracle installation target directory
Mkdir–p/opt/oracle
3. Create Oracle-related users and user groups
Groupadd dba
Groupadd Oinstall
USERADD-G oinstall-g dba Oracle
passwd Oracle
Enter Password:
To modify the installation directory permissions:
Chown–r oracle:oinstall/opt/oracle
4, mount the installation load:
Upload the installation disk to the server:
Installation disk Name: Rhel_5.6x86_64.iso
Mount Directory:/home/os
Mkdir-p/home/os
Mount-o loop-t iso9660 rhel_5.6x86_64.iso os
CD Os/server
5, the basic compilation tools required for installation:
[[Email protected] Oracle] #rpm-IVH kernel-headers-
[[Email protected] Oracle] #rpm-IVH glibc-headers-
[[Email protected] Oracle] #rpm-IVH glibc-devel-
[[Email protected] Oracle] #rpm-IVH libgomp-
[[Email protected] Oracle] #rpm-IVH sysstat-
[[Email protected] Oracle] #rpm-IVH libaio-devel-
[[Email protected] Oracle] #rpm-IVH libstdc++-devel-
[[Email protected] Oracle] #rpm-IVH unixodbc-
[[Email protected] Oracle] #rpm-IVH unixodbc-devel
[[Email protected] Oracle] #rpm-IVH gcc-
[[Email protected] Oracle] #rpm-IVH gcc-c++-
[[Email protected] Oracle] #rpm-IVH elfutils-libelf-devel-elfutils-libelf-devel-static-
6. Set the kernel parameters to modify:
Open/etc/sysctl.conf and add the following at the end
Kernel.shmmni = 4096
Kernel.sem = 250 32000 100 128
Net.core.rmem_default = 4194304
Net.core.rmem_max = 4194304
Net.core.wmem_default = 262144
Fs.file-max = 6815744
Net.ipv4.ip_local_port_range = 9000 65500
Net.core.wmem_max = 1048576
FS.AIO-MAX-NR = 1048576
To make it effective:
Sysctl-p
7, modify the/etc/security/limits.conf,oracle user login limit parameters: In the end to add the following content
Oracle Soft Nproc 2047
Oracle Hard Nproc 16384
Oracle Soft Nofile 1024
Oracle Hard Nofile 65536
8, modify the system environment variable/etc/profile
To modify the environment variable/etc/profile, add the following:
if [$USER = "Oracle"]; Then
if [$SHELL = "/bin/ksh"]; Then
Ulimit-p 16384
Ulimit-n 65536
Else
Ulimit-u 16384-n 65536
Fi
Fi
9: Set Oracle Environment variables
Export ORACLE_SID=ORCL
Export Oracle_base=/opt/oracle/app
Export Oracle_home= $ORACLE _base/product/11.2.0/dbhome_1
Export path= $PATH: $HOME/bin: $ORACLE _home/bin
Export Ld_library_path= $ORACLE _home/lib:/usr/lib
10: Modify user Login environment variable. BASHRC
Export ORACLE_SID=ORCL
Export Oracle_base=/opt/oracle/app
Export Oracle_home= $ORACLE _base/product/11.2.0/dbhome_1
Export path= $PATH: $HOME/bin: $ORACLE _home/bin
Export Ld_library_path= $ORACLE _home/lib:/usr/lib
11: Perform the installation
Install the first step:
Su-oracle
Cd/usr/local/oracle/database
Please download DB.RSP home directory/home/oracle, then perform
./runinstaller-silent-noconfig-ignoreprereq-responsefile/home/oracle/db.rsp
Perform
Viewing the installation process
You can view the installation progress in the/home/oracle/orainventory/logs directory.
TAIL-100F Installactions2014-09-03_10-36-42am.log
3) Installation Success prompt execution script
To the last hint:
/opt/app/oracle/orainventory/orainstroot.sh
/opt/app/oracle/product/11.2.0/db_1/root.sh
To execute the configuration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the Scripts
4. Return to this window and hit "Enter" key to continue
Successfully Setup software.
Oracle Silent Installation