您好,登錄后才能下訂單哦!
修改dbca.rsp文件:
###因內(nèi)容過多,無法顯示,詳見附件###
執(zhí)行命令創(chuàng)建數(shù)據(jù)庫實例
$ dbca -silent-responseFile /u01/database/response/dbca.rsp
Copying database files
...
37% complete
Creating and starting Oracle instance
...
62% complete
Completing Database Creation
...
100% complete
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/ORCL/ORCL.log"for further details.
這一過程需要十分鐘左右,一般會有進度條指示
修改netca.rsp文件,或直接執(zhí)行創(chuàng)建監(jiān)聽
$ netca -silent-responsefile /u01/database/response/netca.rsp
Parsing command line arguments:
Parameter"silent" = true
Parameter"responsefile" = /u01/database/response/netca.rsp
Done parsing command line arguments.
Oracle Net Services Configuration:
Profile configuration complete.
Oracle Net Listener Startup:
RunningListener Control:
/u01/app/oracle/product/11.2.0/db_1/bin/lsnrctl start LISTENER
ListenerControl complete.
Listenerstarted successfully.
Listener configuration complete.
Oracle Net Services configuration successful. The exitcode is 0
查看數(shù)據(jù)庫網(wǎng)絡(luò)監(jiān)聽狀態(tài)
$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 05-SEP-201415:47:12
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to(DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version11.2.0.3.0 - Production
Start Date 05-SEP-2014 15:45:47
Uptime 0 days 0 hr. 1 min. 25 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/oracle/diag/tnslsnr/DS-153/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.0.52)(PORT=1521)))
The listener supports no services
The command completed successfully
登錄數(shù)據(jù)庫進行測試
$ sqlplus / as sysdba
SQL> SELECT SYSDATE FROM DUAL;
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。