Oracle Database 11g Release 2 installation On CentOS 6.6 (x64 platform), centosx64

Source: Internet
Author: User

Oracle Database 11g Release 2 installation On CentOS 6.6 (x64 platform), centosx64
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_database204 f2.zip


2. unzip files
(1) $> unzip linux.x64_11gR2_database_1of2.zip
(2) $> unzip linux.x64_11gr2_databasesilicate f2.zip


3. Install dependencies (Manually)
Optionally, Oracle automatically, please 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 libtio *
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)


(10) 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) root $>/home/tdtc100/app/oraInventory/orainstRoot. sh
(2) root $>/home/tdtc100/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


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.