首先我們解壓
$ unzip p8202632_10205_LINUX.zip
解壓後我們會發現多出了個文件夾,他是:Disk1,進入Disk1。然後執行安裝:
$ ./runInstaller
執行腳本
# /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.
執行完腳本後進行創建數據庫。
$ dbca
這裡之前還報了一個錯誤,說的是企業管理器 安裝失敗。企業管理器是我們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。網絡配置。要注意安裝的版本號要是ORACLE10G兼容的。如果不兼容就得修改版本號redhat-release文件
第二步,查看或修改系統參數文件,檢查安裝環境。
第三步,配置安裝環境,用戶,組,權限等
第四步,解壓安裝ORACLE ,執行最終的命令。再建庫等。
如果有問題在網上查一下。
wangqiyong.blog.51cto.com/500227/163652
linux下參考