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, 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 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)

(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) $> ./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

时间: 2024-10-25 07:53:11

Oracle Database 11g Release 2 installation On CentOS 6.6(x64 platform)的相关文章

centos 7 安装Oracle Database 11g Release 2 (11.2.0.4)

参考文章: http://www.cnblogs.com/lightnear/archive/2012/10/07/2714247.html http://www.cnblogs.com/xqzt/p/5456401.html http://www.cnblogs.com/anzerong2012/p/7528311.html 一.安装环境 CentOS Linux release 7.2.1511 (Core) Oracle Database 11g Release 2 (11.2.0.4)

Oracle - 安装 Oracle Database 11g Release 2

写在前面:工作中,一般安装 Oracle 11g 客户端,配置 Net Manager(安装好客户端或者服务端才会有),远程连接 Oracle 数据库即可满足连接数据库的需求了.若希望本机可以操作 Oracle,则需要安装 Oracle 11g 服务端. Oracle Database 11g Release 2 Client (11.2.0.1.0) Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows

在redhat6.4下安装 Oracle® Database 11g Release 2

OS版本: 安装过程的相关信息: pdksh 安装好后根据需要设置oracle开机自启动http://www.cnblogs.com/softidea/p/3761671.html 设置环境变量NLS_LANG,ORACLE_SID 配置tnsnames.ora http://blog.itpub.net/21162451/viewspace-721930/ 在redhat6.4下安装 Oracle® Database 11g Release 2

Oracle Database 11g Release 2 Standard Edition and Enterprise Edition Software Downloads

Oracle 数据库 11g 第 2 版 标准版.企业版 软件下载 Microsoft Windows(32 位) 光盘 1.光盘 2 (2GB) 1 Microsoft Windows (x64) 光盘 1.光盘 2 (2GB) 2 Linux x86 光盘 1.光盘 2 (2GB) 3 Linux x86-64 光盘 1.光盘 2 (2GB) 3 Solaris (SPARC)(64 位) 光盘 1.光盘 2 (2GB) 4 Solaris (x86-64) 光盘 1.光盘 2 (2GB)

Oracle Database 11g Release 2(11.2.0.3.0) RAC On Redhat Linux 5.8 Using Vmware Workstation 9.0

一,简介 二,配置虚拟机 1,创建虚拟机 (1)添加三块儿网卡: 主节点 二节点 eth0:    公网  192.168.1.20/24   NAT eth0:    公网  192.168.1.21/24   NAT eth1:私网  192.168.2.20/24     host-only eth1:      私网  192.168.2.21/24   host-only eth2:    DHCP    Bridged eth2:     DHCP    Bridged 主机名: t

Oracle Database 11G R2 标准版 企业版 下载地址(转)

转自:http://blog.itpub.net/628922/viewspace-759245/ 不需要注册,直接复制到迅雷或其他下载软件中即可下载. oracle 11.2.0.3 下载地址: Linux x64 : https://updates.oracle.com/Orion/Services/download/p10404530_112030_Linux-x86-64_1of7.zip?aru=14125322&patch_file=p10404530_112030_Linux-x8

Auditing Enhancements (Audit Policies and Unified Audit Trail) in Oracle Database 12c Release 1 (12.1)

select substrb(parameter_name ,1,25) name, substrb(parameter_value,1,20) value, substrb(audit_trail ,1,20) trail from dba_audit_mgmt_config_params ; 8i | 9i | 10g | 11g | 12c | 13c | 18c | 19c | Misc | PL/SQL | SQL | RAC | WebLogic | Linux Home » Art

Auditing Enhancements (DBMS_AUDIT_MGMT) in Oracle Database 11g

Auditing Enhancements (DBMS_AUDIT_MGMT) in Oracle Database 11g Release 2 Oracle 11g Release 1 turned on auditng by default for the first time. Oracle 11g Release 2 now allows better management of the audit trail using the DBMS_AUDIT_MGMT package. Mov

Oracle Database 11g Express Edition修改字符集

为什么要修改字符集? 使用用户system,通过sqlplus程序连接到Oracle数据库,输入以下命令,查看字符集: SQL> select userenv('language') from dual; USERENV('LANGUAGE') ---------------------------------------------------- AMERICAN_AMERICA.AL32UTF8 SQL> 我们可以看到查到的字符集为“AMERICAN_AMERICA.AL32UTF8”,而