首先我們解壓
$ 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.sh
Running Oracle 10g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/10.2.0/db_1
Enter 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 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.
執(zhí)行完腳本后進(jìn)行創(chuàng)建數(shù)據(jù)庫。
$ dbca
這里之前還報(bào)了一個(gè)錯(cuò)誤,說的是企業(yè)管理器 安裝失敗。企業(yè)管理器是我們DBA日常生活必不可少的工具,所以我們必須要給它安裝起來。
[oracle@oracle Disk1]$ sqlplus / as sysdba;
SQL*Plus: Release 10.2.0.5.0 - Production on Fri Aug 15 22:23:05 2014
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select status from v$instance;
STATUS
------------
OPEN
顯示數(shù)據(jù)庫打開正常
您可能感興趣的文章:- Linux環(huán)境下Oracle安裝參數(shù)設(shè)置方法詳解
- Linux+php+apache+oracle環(huán)境搭建之CentOS下安裝Oracle數(shù)據(jù)庫
- Linux+php+apache+oracle環(huán)境搭建之CentOS下源碼編譯安裝PHP
- Linux+php+apache+oracle環(huán)境搭建之CentOS下安裝Apache
- VMware中l(wèi)inux環(huán)境下oracle安裝圖文教程(一)
- Linux一鍵部署oracle安裝環(huán)境腳本(推薦)