[日期:2017-05-26] | 來源:Linux社區 做者:sound | [字體:大 中 小] |
配置安裝成功linux
配置安裝Oracle 客戶端數據庫
[root@rhel6 opt]
# su - oracle
[oracle@rhel6 ~]$ vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth: creating new authority
file
/home/oracle/
.Xauthority
New
'rhel6:2 (oracle)'
desktop is rhel6:2
Creating default startup script
/home/oracle/
.vnc
/xstartup
Starting applications specified
in
/home/oracle/
.vnc
/xstartup
Log
file
is
/home/oracle/
.vnc
/rhel6
:2.log
[root@rhel6 opt]
# unzip p13390677_112040_Linux-x86-64_1of7.zip
[root@rhel6 opt]
# unzip p13390677_112040_Linux-x86-64_2of7.zip
[root@rhel6 opt]
# chown -R oracle.oinstall database/
VNC遠程桌面安裝Oracle軟件oracle
[oracle@rhel6 database]$ .
/runInstaller
選擇只安裝Oracle軟件(後續再建實例)app
選擇單實例節點安裝測試
選擇安裝企業版字體
Oracle數據庫軟件安裝位置(環境變量讀取正確不須要修改)ui
因爲測試環境內存偏小,因此這裏能夠忽略警告繼續安裝spa
以root用戶執行所需的腳本.net
[root@rhel6 tmp]
# /u01/app/oracle/product/11.2.0/root.sh
Performing root user operation
for
Oracle 11g
The following environment variables are
set
as:
ORACLE_OWNER= oracle
ORACLE_HOME=
/u01/app/oracle/product/11
.2.0
Enter the full pathname of the
local
bin directory: [
/usr/local/bin
]:
The contents of
"dbhome"
have not changed. No need to overwrite.
The contents of
"oraenv"
have not changed. No need to overwrite.
The contents of
"coraenv"
have not changed. No need to overwrite.
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 script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
安裝完成3d
Oracle和ASM配置安裝完成接下來安裝配置ASM,建instance
以grid用戶遠程桌面登錄,配置ASM磁盤
[grid@rhel6:
/home/grid
]$asmca
以oracle用戶遠程桌面登錄,配置建立數據庫
[oracle@rhel6 database]$ dbca
選擇建立數據庫
因爲這裏是實驗環境選擇第一項
配置instance名