首先我們解壓
$ unzip p8202632_10205_LINUX.zip
解壓后我們會發(fā)現多出了個文件夾,他是:Disk1,進入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í)行完腳本后進行創(chuàng)建數據庫。
$ dbca
這里之前還報了一個錯誤,說的是企業(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
顯示數據庫打開正常
您可能感興趣的文章:- Linux環(huán)境下Oracle安裝參數設置方法詳解
- Linux+php+apache+oracle環(huán)境搭建之CentOS下安裝Oracle數據庫
- 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)境腳本(推薦)