Oracle Database 11g Release 2 installation on CentOS 6.6 (x64 platform)
(note:the Current user is "tdtc100")
1. Down Install files
(1) Linux.x64_11gR2_database_1of2.zip
(2) Linux.x64_11gR2_database_2of2.zip
2. Unzip files
(1) $> unzip Linux.x64_11gR2_database_1of2.zip
(2) $> unzip Linux.x64_11gR2_database_2of2.zip
3. Install Dependencies (manually)
Optionally, Oracle automatically, see the following "Using Oracle Repository"
(1) root$> yum install libaio-*
a). Libaio-devel (V0.3.107-10.EL6)
(2) root$> yum install compat-libstdc++-*
Installing:
a). compat-libstdc++-296 (V2.96-144.EL6)
b). compat-libstdc++-33 (V3.2.3-69.EL6)
Installing for dependencies:
a). GLIBC (V2.12-1.132.EL6)
b). LIBGCC (V4.4.7-4.EL6)
c). NSS-SOFTOKN-FREEBL (V3.14.3-9.EL6)
(3) root$> yum install elfutils-libelf-devel-*
Installing:
a). Elfutils-libelf-devel (V0.152-1.EL6)
b). Elfutils-libelf-devel-static (V0.152-1.EL6)
(4) root$> yum install gcc-c++-*
Installing:
a). Gcc-c++ (V4.4.7-4.EL6)
Install the following dependencies
a). Libstdc++-devel (V4.4.7-4.EL6)
(5) root$> yum install compat-libcap*
Installing:
a). COMPAT-LIBCAP1 (V1.10-1)
(6) root$> yum install libtir*
Installing:
A) Libtirpc (V0.2.1-6.el6_4)
b) Libtirpc-devel (V0.2.1-6.el6_4)
Installing for dependencies:
a). Libgssglue (V0.1-11.EL6)
(7) root$> Yum install libevent*
Installing:
a). Libevent (V1.4.13-4.EL6)
Libevent-devel (V1.4.13-4.EL6)
A) Libevent-doc (V1.4.13-4.EL6)
b) Libevent-header (V1.4.13-4.EL6)
(8) root$> yum Install Ksh
Installing:
a). Ksh (V20120801-10.EL6)
(9) root$> Yum install nfs-*
Installing:
A) nfs-utils (V1:1.2.3-39.EL6)
b) Nfs-utils-lib (V1.1.5-6.EL6)
c) Nfs-utils-lib-devel (V1.1.5-6.EL6)
d) Installing for dependencies:
e) keyutils (V1.4-4.EL6)
f) libgssglue-devel (V0.1-11.EL6)
g) Rpcbind (V0.2.0-11.EL6)
(Ten) root$> yum install unixodbc-*
Installing:
A) UnixODBC (V2.2.14-12.el6_3)
b) Unixodbc-devel (V2.2.14-12.el6_3)
c) Unixodbc-kde (V2.2.14-12.el6_3)
Installing for dependencies:
A) libmng (V1.0.10-4.1.EL6)
b) Phonon-backend-gstreamer (V1:4.6.2-26.el6_4)
c) QT (V1:4.6.2-26.el6_4)
d) qt-sqlite (V1:4.6.2-26.el6_4)
e) qt-x11 (V1:4.6.2-26.el6_4)
4. Setup ora11g
$> Cd/database
$>./runinstaller
Packages (Ignore list)
a). libaio-0.3.105
b). compat-libstdc++-33-3.2.3
c). libaio-devel-0.3.105
d). libgcc-3.4.6
e). libstdc++-3.4.6
f). unixODBC-2.2.11
g). unixodbc-devel-2.2.11
h). pdksh-5.2.14
5. Set the environment variable
(1) $>./app/orainventory/orainstroot.sh
(2) $>./app/tdtc100/product/11.2.0/dbhome_1/root.sh
--------------------------setup--oracle------------
6. Modify the file ". Bash_profile"
(File location:/home/tdtc100/.bash_profile)
After the "#User specific environment and startup programs",
Add the following content:
# $ORACLE _sid
Oracle_sid=orcl
Export Oracle_sid
# $ORACLE _home
Oracle_home= $HOME/app/tdtc100/product/11.2.0/dbhome_1
Export Oracle_home
Path= $ORACLE _home/bin: $PATH: $HOME/bin
7. Modify the file "Oratab"
(File location:/etc/oratab)
Orcl:app/tdtc100/product/11.2.0/dbhome_1:n
=
Orcl:app/tdtc100/product/11.2.0/dbhome_1:y
>>>>>>>>>>>>>>>>>>>>>>>>>> restart==machine=========
--------------------------start--oracle------------
1. Modify the "Dbstart" and "Dbshut" files
(File location: $ORACLE _home/bin)
(Line:80 & 50)
Oracle_home_listner=$1
=
Export oracle_home_listner= $ORACLE _home
2. ADD Firewall rules
(File location:/etc/sysconfig/iptalbes)
root$> iptables-a input-p TCP--dport 1521-j ACCEPT
Root$> Service Iptables Save
3. $> $ORACLE _home/bin/dbstart
Oracle Database 11g Release 2 installation on CentOS 6.6 (x64 platform)