首先我們解壓
$ unzip p8202632_10205_LINUX.zip
解壓后我們會(huì)發(fā)現(xiàn)多出了個(gè)文件夾,他是:Disk1,進(jìn)入Disk1。然后執(zhí)行安裝:
$ ./runInstaller
執(zhí)行腳本
# /u01/app/oracle/10.2.0/db_1/root.shRunning Oracle 10g root.sh script...The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/10.2.0/db_1Enter the full pathname of the local bin directory: [/usr/local/bin]: The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]: The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is created
Finished running generic part of root.sh script.Now product-specific root actions will be performed.
執(zhí)行完腳本后進(jìn)行創(chuàng)建數(shù)據(jù)庫(kù)。
$ dbca
這里之前還報(bào)了一個(gè)錯(cuò)誤,說(shuō)的是企業(yè)管理器 安裝失敗。企業(yè)管理器是我們DBA日常生活必不可少的工具,所以我們必須要給它安裝起來(lái)。
[oracle@oracle Disk1]$ sqlplus / as sysdba;SQL*Plus: Release 10.2.0.5.0 - Production on Fri Aug 15 22:23:05 2014Copyright (c) 1982, 2010, Oracle. All Rights Reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSQL> select status from v$instance;STATUS------------OPEN顯示數(shù)據(jù)庫(kù)打開(kāi)正常
新聞熱點(diǎn)
疑難解答
圖片精選