RHEL6 64位ASM方式安裝oracle 11gR2(二)

一、安裝前的準備

二、安裝網格基礎架構

三、安裝數據庫軟件

四、創建監聽

五、創建數據庫實例


三、安裝數據庫軟件

# unzip -d /stage/ linux.x64_11gR2_database_1of2.zip
# unzip -d /stage/ linux.x64_11gR2_database_2of2.zip
# chown -R oracle.oinstall /stage/database
# xhost +
access control disabled, clients can connect from any host
# su - oracle
$ cd /stage/database/
$ ./runInstaller

1.填寫metalink郵箱賬號,沒有賬號可不填(忽視警告


2.只安裝數據庫軟件

3.安裝單實例數據庫

4.選擇支持的語言

5.選擇企業版

6.設置安裝路徑

7.設置特權操作系統組

8.預安裝檢查


9.概述

10.開始安裝


10.1 以root身份執行腳本

11.安裝成功

四、創建監聽

$ . oraenv
ORACLE_SID = [orcl] ? +ASM
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid is /u01/app/oracle
$ netca

五、創建數據庫實例

$ . oraenv
ORACLE_SID = [+ASM] ? orcl
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
$ dbca


設置數據庫文件的存儲類型爲ASM,存儲路徑使用OMF:+DATA(也可以通過點擊Browse選擇+DATA)

輸入ASM密碼:oracle_4U

設置FRA存儲路徑:+FRA(也可以通過點擊Browse選擇+FRA)



保存數據庫模版:


安裝後的檢查:

# su - oracle
$ . oraenv
ORACLE_SID = [orcl] ? +ASM
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid is /u01/app/oracle
$ crs_stat -t
Name           Type           Target    State     Host   
------------------------------------------------------------
ora.DATA.dg    ora....up.type ONLINE    ONLINE    ora11g 
ora.FRA.dg     ora....up.type ONLINE    ONLINE    ora11g 
ora....ER.lsnr ora....er.type ONLINE    ONLINE    ora11g 
ora.asm        ora.asm.type   ONLINE    ONLINE    ora11g 
ora.cssd       ora.cssd.type  ONLINE    ONLINE    ora11g 
ora.diskmon    ora....on.type ONLINE    ONLINE    ora11g 
ora.orcl.db    ora....se.type ONLINE    ONLINE    ora11g
$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Jun 13 21:49:34 2013
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
SQL> select status from v$instance;
STATUS
------------------------------------
STARTED
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Automatic Storage Management option
[oracle@ora11g ~]$ . oraenv
ORACLE_SID = [+ASM] ? orcl
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
[oracle@ora11g ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Thu Jun 13 21:50:45 2013
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
SQL> select status from v$instance;
STATUS
------------
OPEN



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章