HP-UX靜默安裝oracle11g過程

HP-UX 安裝oracle11g過程

規劃:

安裝文件存放在/tmp目錄下,目錄層次自擬

數據庫安裝在/orain目錄下,目錄層次自擬

數據庫數據文件存放在/oracle目錄下,目錄層次自擬

 

#代表在root用戶下操作

$代表在oralce用戶下操作

1、下載安裝包

機器是HP-UX Itanium的,找對應的文件進行下載,下載鏈接爲:http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html,我下載的版本是:Oracle Database 11g Release 1 (11.1.0.6.0) for HP-UX Itanium

這裏做個說明,down下來後進行解壓,找到數據庫的doc,看快速安裝指導,那個裏面會講安裝所需的硬件及相關環境。現在服務器自然是硬盤大,內存大,這些硬件條件大概看下就可以,但是版本卻是一個很重要的問題,因爲我剛開始下載的是:Oracle Database 10g Release 2 (10.2.0.1.0) for HP-UX Itanium這個版本的只能安裝在主機版本是11.23的機器上,而我目前的操作系統版本卻是11.31,所以導致第一次安裝進行不下去。

 

 

安裝環境的信息:

 

查看內存

# /usr/contrib/bin/machinfo  | grep -i Memory

Memory: 130938 MB (127.87 GB)

 

查看交換空間

# /usr/sbin/swapinfo -a

Kb      Kb      Kb   PCT  START/      Kb

TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME

dev     33554432       0 33554432    0%       0       -    1  /dev/vg00/lvol2

reserve       - 6346976 -6346976

memory  127534260 12958204 114576056   10%

 

查看打算用做安裝文件存放的空間

# bdf /tmp

Filesystem          kbytes    used   avail %used Mounted on

/dev/vg00/lvol6    10485760 6210272 4242480   59% /tmp

 

查看軟件包

# /usr/sbin/swlist -l bundle | more

  ……

查看補丁包

# /usr/sbin/swlist -l patch | more

......

 

查看內核參數

# /usr/sbin/kcweb -F

 

查看主機操作系統版本

# uname -a

HP-UX ynsap02 B.11.31 U ia64 0629614917 unlimited-user license

#

 

 

 

 

2、建立數據庫用戶及相應的組

----------------------------------------------------

建立組

# groupadd     -g 501      oinstall

# groupadd     -g 502      dba

# groupadd     -g 503      oper

# groupadd     -g 504      asmadmin

# groupadd     -g 505      asmdba

# groupadd     -g 506      asmoper

#

建立oracle用戶

#/usr/sbin/useradd -u 501 -d /home/oracle  -g oinstall -G dba,oper,asmadmin,asmdba,asmoper oracle 

查看建立後的情況

#id oracle

uid=501(oracle) gid=501(oinstall) groups=502(dba),503(oper),504(asmadmin),505(asmdba),506(asmoper)

 

3、修改oracle用戶的環境變量

指定ORACLE_HOME/orain/oracle/product/10.2/db_1

數據文件另外要指定在/oracle目錄下,這個將會在建立數據庫時指定。

#su - oracle

$cd

$ ls -al

total 112

drwxr-xr-x   3 oracle     107           8192 Mar  2 18:55 .

drwxr-xr-x   9 root       root          8192 Mar  1 18:50 ..

-r--r--r--   1 oracle     107            832 Mar  1 16:33 .cshrc

-r--r--r--   1 oracle     107            347 Mar  1 16:33 .exrc

-r--r--r--   1 oracle     107            334 Mar  1 16:33 .login

-rw-r--r--   1 oracle     107           1173 Mar  2 16:56 .profile

-rw-------   1 oracle     107           5084 Mar  2 19:59 .sh_history

drwxr-x---   5 oracle     oinstall        96 Mar  2 18:55 .sw

 

修改.profile文件增加如下內容

$ vi .profile

#--------------------------------------------------------

 export ORACLE_BASE=/orain/oracle

 export ORACLE_HOME=$ORACLE_BASE/product/10.2/db_1

 export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32:/usr/local/lib:/usr/lib:/lib

 export PATH=$ORACLE_HOME/bin:$PATH

 export NLS_LANG=AMERICAN_AMERICA.UTF8

 export NLS_DATE_FORMAT="yyyy-mm-dd hh24:mi:ss"

 export EDITOR=vi

 export ORACLE_SID=oss15

#----------------------------------------------------------

$exit

4、準備安裝文件,安裝文件打算放在/tmp/hpia64_11gR2_database

#cd /tmp

#mkdir hpia64_11gR2_database

win7上解壓hpia64_11gR2_database_1of2.ziphpia64_11gR2_database_2of2.zip,右鍵選擇時都解壓到當前目錄,最後會生成一個database目錄,將這個目錄整個用ftp工具上傳到hp主機/tmp/hpia64_11gR2_database目錄。

修改安裝文件所在目錄的用戶及可執行權限:

#chown -R oracle:oinstall /tmp/hpia64_11gR2_database

#chmod -R 775 /tmp/hpia64_11gR2_database

 

如果服務器支持unzip命令可以直接上傳zip文件,然後使用以下命令進行解壓:

unzip hpia64_11gR2_database_1of2.zip -d /tmp/hpia64_11gR2_database

unzip hpia64_11gR2_database_2of2.zip -d /tmp/hpia64_11gR2_database

 

5、安裝數據庫

安裝時需要使用一個response文件,oracle已經給了模板,可以通過修改模板達到我們所需要的安裝特性。

這裏模板的路徑是:/tmp/hpia64_11gR2_database/database/response

 

修改響應模板文件

#su - oracle

$vi db_install.rsp

#---------------------------------------------------------------------------------------------

以下參數不要更改

oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0

 

oracle.install.option=INSTALL_DB_SWONLY

DECLINE_SECURITY_UPDATES=true

#以下參數根據實際情況更改,一般也無需更改

UNIX_GROUP_NAME=oinstall

INVENTORY_LOCATION=/orain/oracle/oraInventory

SELECTED_LANGUAGES=en,zh_CN,zh_TW

ORACLE_HOME=/orain/oracle/product/11.2/db_1

ORACLE_BASE=/orain/oracle

oracle.install.db.InstallEdition=EE

oracle.install.db.isCustomInstall=true

oracle.install.db.customComponents=oracle.rdbms.partitioning:11.2.0.1.0,oracle.oraolap:11.2.0.1.0,oracle.rdbms.lbac:11.2.0.1.0,oracle.rdbms.dm:11.2.0.1.0,oracle.rdbms.dv:11.2.0.1.0,oracle.rdbms.rat:11.2.0.1.0

oracle.install.db.DBA_GROUP=dba

oracle.install.db.OPER_GROUP=oinstall

#-----------------------------------------------------------------------------------

 

安裝開始:

$ ./runInstaller -silent  -ignorePrereq  -force -noconfig -responseFile /tmp/hpia64_11gR2_database/db_install.rsp

Starting Oracle Universal Installer...

 

Checking Temp space: must be greater than 415 MB.   Actual 4211 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 32768 MB    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-03-02_04-58-19PM. Please wait ...$ You can find the log of this install session at:

 /orain/oracle/oraInventory/logs/installActions2011-03-02_04-58-19PM.log

 

# The following configuration scripts need to be executed as the "root" user.

 #!/bin/sh

 #Root scripts to run

 

/orain/oracle/product/11.2/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.

 

 

在此安裝過程中遇到過兩個問題:

 

錯誤一

$ ./runInstaller -silent -force -noconfig -responseFile /tmp/hpia64_11gR2_database/db_install.rsp

Starting Oracle Universal Installer...

 

Checking Temp space: must be greater than 415 MB.   Actual 4347 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 32768 MB    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-03-02_04-46-11PM. Please wait ...$ [SEVERE] - Email Address Not Specified

 

 

此錯誤是因爲安裝模板中少修改了一個參數導致,需要將下面的參數的值修改爲true

DECLINE_SECURITY_UPDATES=true

 

錯誤二

 

$ [FATAL] [INS-13013] Target environment do not meet some mandatory requirements.

   CAUSE: Some of the mandatory prerequisites are not met. See logs for details. /orain/oracle/oraInventory/logs/installActions2011-03-02_04-49-41PM.log

   ACTION: Identify the list of failed prerequisite checks from the log: /orain/oracle/oraInventory/logs/installActions2011-03-02_04-49-41PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually.

 

 

 

這個錯誤在網上查到說在安裝命令中加入選項-ignorePrereq可以解決,但問題的根本原因沒有找到。

 

執行腳本建立oratab,dbhome,oraenv,coraenv文件:

 

 

 

# ./root.sh

Check /orain/oracle/product/11.2/db_1/install/root_ynsap02_2011-03-02_17-16-04.log for the output of root script

 

 

# more /orain/oracle/product/11.2/db_1/install/root_ynsap02_2011-03-02_17-16-04.log

Running Oracle 11g root.sh script...

 

The following environment variables are set as:

    ORACLE_OWNER= oracle

    ORACLE_HOME=  /orain/oracle/product/11.2/db_1

 

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root.sh script.

Now product-specific root actions will be performed.

Finished product-specific root actions.

 

 

# more /etc/oratab

#

# This file is used by ORACLE utilities.  It is created by root.sh

# and updated by the Database Configuration Assistant when creating

# a database.

 

# A colon, ':', is used as the field terminator.  A new line terminates

# the entry.  Lines beginning with a pound sign, '#', are comments.

#

# Entries are of the form:

#   $ORACLE_SID:$ORACLE_HOME:<N|Y>:

#

# The first and second fields are the system identifier and home

# directory of the database respectively.  The third filed indicates

# to the dbstart utility that the database should , "Y", or should not,

# "N", be brought up at system boot time.

#

# Multiple entries with the same $ORACLE_SID are not allowed.

 

#

 

6、靜默配置監聽

 

 

通過response文件運行netca, 生成sqlnet.oralistener.ora文件, 位於$ORACLE_HOME/network/admin目錄下

#su - oracle

 

$ ./netca /silent /responsefile /tmp/hpia64_11gR2_database/database/response/netca.rsp

Parsing command line arguments:

    Parameter "silent" = true

    Parameter "responsefile" = /tmp/hpia64_11gR2_database/database/response/netca.rsp

Done parsing command line arguments.

Oracle Net Services Configuration:

Profile configuration complete.

Oracle Net Listener Startup:

    Running Listener Control:

      /orain/oracle/product/11.2/db_1/bin/lsnrctl start LISTENER

    Listener Control complete.

    Listener started successfully.

Listener configuration complete.

Oracle Net Services configuration successful. The exit code is 0

 

 

$ ls -l $ORACLE_HOME/network/admin/*.ora

-rw-r--r--   1 oracle     oinstall       362 Mar  2 17:26 /orain/oracle/product/11.2/db_1/network/admin/listener.ora

-rw-r--r--   1 oracle     oinstall       213 Mar  2 17:26 /orain/oracle/product/11.2/db_1/network/admin/sqlnet.ora

 

查看監聽狀態:

$ lsnrctl status

 

LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 02-MAR-2011 17:27:32

 

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

 

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

STATUS of the LISTENER

------------------------

Alias                     LISTENER

Version                   TNSLSNR for HPUX: Version 11.2.0.1.0 - Production

Start Date                02-MAR-2011 17:26:47

Uptime                    0 days 0 hr. 0 min. 46 sec

Trace Level               off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File   /orain/oracle/product/11.2/db_1/network/admin/listener.ora

Listener Log File         /orain/oracle/diag/tnslsnr/ynsap02/listener/alert/log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ynsap02)(PORT=1521)))

The listener supports no services

The command completed successfully

 

 

到此數據庫安裝成功。

 

7、靜默建庫

 

修改響應模板文件:

$ cd /tmp/hpia64_11gR2_database/database/response/

$ vi dbca.rsp

#--------------------------------------------------------------------

#以下參數不要更改

[GENERAL]

RESPONSEFILE_VERSION = "11.2.0"

OPERATION_TYPE = "createDatabase"

#以下參數必須設置

[CREATEDATABASE]

GDBNAME = "ORCL.LK"

TEMPLATENAME = "General_Purpose.dbc"

#以下參數不設置則使用默認值,建議設置

CHARACTERSET = "ZHS16GBK"

TOTALMEMORY = "5120"

#這個是指定數據文件要存放在哪個目錄

DATAFILEDESTINATION =/oracle

#--------------------------------------------------------------------

 

開始建庫:

$ ./dbca -silent -responseFile /tmp/hpia64_11gR2_database/database/response/dbca.rsp

Enter SYS user password:

 

Enter SYSTEM user password:

 

Copying database files

1% complete

3% complete

11% complete

18% complete

26% complete

37% complete

Creating and starting Oracle instance

40% complete

45% complete

50% complete

55% complete

56% complete

60% complete

62% complete

Completing Database Creation

66% complete

70% complete

73% complete

85% complete

96% complete

100% complete

Look at the log file "/orain/oracle/cfgtoollogs/dbca/orcl11g/orcl11g.log" for further details.

 

 

$ tail -100f /orain/oracle/cfgtoollogs/dbca/orcl11g/orcl11g.log

Copying database files

DBCA_PROGRESS : 1%

DBCA_PROGRESS : 3%

DBCA_PROGRESS : 11%

DBCA_PROGRESS : 18%

DBCA_PROGRESS : 26%

DBCA_PROGRESS : 37%

Creating and starting Oracle instance

DBCA_PROGRESS : 40%

DBCA_PROGRESS : 45%

DBCA_PROGRESS : 50%

DBCA_PROGRESS : 55%

DBCA_PROGRESS : 56%

DBCA_PROGRESS : 60%

DBCA_PROGRESS : 62%

Completing Database Creation

DBCA_PROGRESS : 66%

DBCA_PROGRESS : 70%

DBCA_PROGRESS : 73%

DBCA_PROGRESS : 85%

DBCA_PROGRESS : 96%

DBCA_PROGRESS : 100%

Database creation complete. For details check the logfiles at:

 /orain/oracle/cfgtoollogs/dbca/orcl11g.

Database Information:

Global Database Name:orcl11g.us.oracle.com

System Identifier(SID):oss15

 

 

 建庫後實例檢查:

$ ps -ef | grep ora_ | grep -v grep | wc -l

21

$ ps -ef | grep ora_ | grep -v grep

 

oracle 28981     1  0 19:00:48 ?         0:00 ora_mman_oss15

  oracle 28975     1  0 19:00:47 ?         0:00 ora_dbrm_oss15

  oracle 28983     1  0 19:00:48 ?         0:00 ora_dbw0_oss15

  oracle 28995     1  0 19:00:48 ?         0:00 ora_mmnl_oss15

  oracle 29057     1  0 19:00:55 ?         0:00 ora_cjq0_oss15

  oracle 28967     1  0 19:00:47 ?         0:00 ora_pmon_oss15

  oracle 28979     1  0 19:00:47 ?         0:00 ora_dia0_oss15

  oracle 28969     1  0 19:00:47 ?         0:00 ora_vktm_oss15

  oracle 28991     1  0 19:00:48 ?         0:00 ora_reco_oss15

  oracle 28993     1  0 19:00:48 ?         0:00 ora_mmon_oss15

  oracle 28973     1  0 19:00:47 ?         0:00 ora_diag_oss15

  oracle 29041     1  0 19:00:54 ?         0:00 ora_qmnc_oss15

  oracle 28971     1  0 19:00:47 ?         0:00 ora_gen0_oss15

  oracle 29075     1  0 19:01:04 ?         0:00 ora_q000_oss15

  oracle 28999     1  0 19:00:48 ?         0:00 ora_s000_oss15

  oracle 28977     1  0 19:00:47 ?         0:00 ora_psp0_oss15

  oracle 28987     1  0 19:00:48 ?         0:00 ora_ckpt_oss15

  oracle 28997     1  0 19:00:48 ?         0:00 ora_d000_oss15

  oracle 29077     1  0 19:01:04 ?         0:00 ora_q001_oss15

  oracle 28989     1  0 19:00:48 ?         0:00 ora_smon_oss15

  oracle 28985     1  0 19:00:48 ?         0:00 ora_lgwr_oss15

 

 

 

再次查看監聽狀態:

$ lsnrctl status

 

LSNRCTL for HPUX: Version 11.2.0.1.0 - Production on 02-MAR-2011 19:04:16

 

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

 

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

STATUS of the LISTENER

------------------------

Alias                     LISTENER

Version                   TNSLSNR for HPUX: Version 11.2.0.1.0 - Production

Start Date                02-MAR-2011 17:26:47

Uptime                    0 days 1 hr. 37 min. 30 sec

Trace Level               off

Security                  ON: Local OS Authentication

SNMP                      OFF

Listener Parameter File   /orain/oracle/product/11.2/db_1/network/admin/listener.ora

Listener Log File         /orain/oracle/diag/tnslsnr/ynsap02/listener/alert/log.xml

Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ynsap02)(PORT=1521)))

Services Summary...

Service "orcl11g.us.oracle.com" has 1 instance(s).

  Instance "oss15", status READY, has 1 handler(s) for this service...

Service "oss15XDB.us.oracle.com" has 1 instance(s).

  Instance "oss15", status READY, has 1 handler(s) for this service...

The command completed successfully

 

 

 

改爲歸檔模式並重啓:

$ sqlplus / as sysdba;

 

SQL*Plus: Release 11.2.0.1.0 Production on Wed Mar 2 19:09:49 2011

 

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, Oracle Label Security, OLAP, Data Mining,

Oracle Database Vault and Real Application Testing options

 

SQL> shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup mount;

ORACLE instance started.

 

Total System Global Area 5344731136 bytes

Fixed Size                  2179216 bytes

Variable Size            2801799024 bytes

Database Buffers         2533359616 bytes

Redo Buffers                7393280 bytes

Database mounted.

SQL> alter database archivelog;

 

Database altered.

 

SQL> alter database flashback on;

 

Database altered.

 

SQL> alter database open;

 

Database altered.

 

SQL> execute utl_recomp.recomp_serial();

 

PL/SQL procedure successfully completed.

 

SQL> alter system archive log current;

 

System altered.

 

默認安裝的數據庫用戶:

SQL> set lines 256 pages 500;

 

SQL> select USER_ID,USERNAME,ACCOUNT_STATUS,DEFAULT_TABLESPACE from dba_users order by 1;

 

   USER_ID USERNAME        ACCOUNT_STATUS       DEFAULT_TABLESPACE

------------------------------------------------------------------------------------------

                0                      SYS                             OPEN                  SYSTEM

    5            SYSTEM                                OPEN                           SYSTEM

    9            OUTLN                                    EXPIRED & LOCKED                SYSTEM

    14          DIP                          EXPIRED & LOCKED            USERS

    21          ORACLE_OCM                             EXPIRED & LOCKED              USERS

    30          DBSNMP                            EXPIRED & LOCKED     SYSAUX

    31          APPQOSSYS                     EXPIRED & LOCKED          SYSAUX

    32          WMSYS                                EXPIRED & LOCKED       SYSAUX

    42          EXFSYS                                EXPIRED & LOCKED     SYSAUX

                43          CTXSYS                        EXPIRED & LOCKED     SYSAUX

                45          XDB                                  EXPIRED & LOCKED            SYSAUX

                46          ANONYMOUS                          EXPIRED & LOCKED          SYSAUX

                53          ORDSYS                       EXPIRED & LOCKED     SYSAUX

                54          ORDDATA                   EXPIRED & LOCKED     SYSAUX

                55          ORDPLUGINS                         EXPIRED & LOCKED              SYSAUX

                56          SI_INFORMTN_SCHEMA            EXPIRED & LOCKED                 SYSAUX

                57          MDSYS                           EXPIRED & LOCKED               SYSAUX

                61          OLAPSYS                      EXPIRED & LOCKED     SYSAUX

                65          MDDATA                     EXPIRED & LOCKED     USERS

                67          SPATIAL_WFS_ADMIN_USR     EXPIRED & LOCKED      USERS

                70          SPATIAL_CSW_ADMIN_USR                    EXPIRED & LOCKED      USERS

                72          SYSMAN                      EXPIRED & LOCKED     SYSAUX

                74          MGMT_VIEW                          EXPIRED & LOCKED          SYSTEM

                75          FLOWS_FILES                         EXPIRED & LOCKED              SYSAUX

                76          APEX_PUBLIC_USER                      EXPIRED & LOCKED            USERS

                78          APEX_030200                        EXPIRED & LOCKED              SYSAUX

                79          OWBSYS                      EXPIRED & LOCKED     SYSAUX

                83          OWBSYS_AUDIT                 EXPIRED & LOCKED                   SYSAUX

                84          SCOTT                            EXPIRED & LOCKED                USERS

                2147483638         XS$NULL                                 EXPIRED & LOCKED     USERS

 

 

30 rows selected.

 

默認安裝的組件:

SQL>

SQL>col COMP_ID format a8

SQL>col COMP_NAME format a35

SQL>

SQL>col VERSION format a12

SQL>

SQL>col schema format a12

SQL>

SQL>col OTHER_SCHEMAS format a45

SQL>   select comp_id,comp_name,version,schema,other_schemas from dba_registry order by 1;

 

COMP_ID  COMP_NAME                           VERSION      SCHEMA       OTHER_SCHEMAS

-------- ----------------------------------- ------------ ------------ ---------------------------------------------

AMD      OLAP Catalog                        11.2.0.1.0   OLAPSYS

APEX     Oracle Application Express          3.2.1.00.10  APEX_030200  FLOWS_FILES

APS      OLAP Analytic Workspace             11.2.0.1.0   SYS

CATALOG  Oracle Database Catalog Views       11.2.0.1.0   SYS

CATJAVA  Oracle Database Java Packages       11.2.0.1.0   SYS

CATPROC  Oracle Database Packages and Types  11.2.0.1.0   SYS          APPQOSSYS,DBSNMP,DIP,ORACLE_OCM,OUTLN,SYSTEM

CONTEXT  Oracle Text                         11.2.0.1.0   CTXSYS

EM       Oracle Enterprise Manager           11.2.0.1.0   SYSMAN

EXF      Oracle Expression Filter            11.2.0.1.0   EXFSYS

JAVAVM   JServer JAVA Virtual Machine        11.2.0.1.0   SYS

ORDIM    Oracle Multimedia                   11.2.0.1.0   ORDSYS       MDSYS,ORDDATA,ORDPLUGINS,SI_INFORMTN_SCHEMA

OWB      OWB                                 11.2.0.1.0   OWBSYS

OWM      Oracle Workspace Manager            11.2.0.1.0   WMSYS

RUL      Oracle Rules Manager                11.2.0.1.0   EXFSYS

SDO      Spatial                             11.2.0.1.0   MDSYS

XDB      Oracle XML Database                 11.2.0.1.0   XDB          ANONYMOUS,XS$NULL

XML      Oracle XDK                          11.2.0.1.0   SYS

XOQ      Oracle OLAP API                     11.2.0.1.0   SYS

 

18 rows selected.

 

SQL>

SQL> exit

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, Oracle Label Security, OLAP, Data Mining,

Oracle Database Vault and Real Application Testing options

 

---end---

 

 

這個過程都是參考這位高人的文檔:

 

http://hi.baidu.com/edeed/home

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