溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

發(fā)布時(shí)間:2020-06-18 16:39:08 來(lái)源:網(wǎng)絡(luò) 閱讀:2285 作者:z597011036 欄目:關(guān)系型數(shù)據(jù)庫(kù)

 上續(xù)的系統(tǒng)配置,環(huán)境變量添加和grid安裝在上一篇博客中,這篇主要是繼上篇剩余的安裝,上篇博客地址:http://tongcheng.blog.51cto.com/6214144/1852074


1.檢查oracle database安裝的先決條件(用grid軟件包中的runcluvfy.sh腳本)

[grid@rac1 grid]$ ./runcluvfy.sh stage -pre dbinst -n rac1,rac2 -osdba dba

.................................

Pre-check for database installation was successful.     --必須條件成功才能安裝

[grid@rac1 grid]$ ./runcluvfy.sh stage -pre dbcfg -n rac1,rac2 -d


2.orale數(shù)據(jù)庫(kù)安裝

[oracle@rac1 database]$ ./runInstaller 

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

rac1節(jié)點(diǎn)1執(zhí)行root.sh腳本

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

rac2節(jié)點(diǎn)2執(zhí)行root.sh腳本

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

3.創(chuàng)建asm磁盤組

[root@rac1 ~]# su - grid

[grid@rac1 ~]$ asmca

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝


4.創(chuàng)建數(shù)據(jù)庫(kù)

[root@rac1 ~]# xhost +

access control disabled, clients can connect from any host

[root@rac1 ~]# su - oracle

[oracle@rac1 ~]$ dbca

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝oracle linux 5.8安裝oracle 11g rac環(huán)境之oracle安裝

5.登陸數(shù)據(jù)庫(kù)

[oracle@rac1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Sun Sep 18 13:10:57 2016

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production

With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,

Data Mining and Real Application Testing options


SQL> show release;

release 1102000400

SQL> select file#,ts#,name,status from v$datafile;

FILE#     TS# NAME          STATUS

---------------------------------------------------------------------------------

 1    0   +DATA/racdb/datafile/system.256.922882375   SYSTEM

 2    1   +DATA/racdb/datafile/sysaux.257.922882383   ONLINE

 3    2   +DATA/racdb/datafile/undotbs1.258.922882385  ONLINE

 4    4   +DATA/racdb/datafile/users.259.922882385    ONLINE

 5    5   +DATA/racdb/datafile/undotbs2.264.922882991  ONLINE

SQL> 

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI