修改dbca.rsp文件:
創(chuàng)新互聯(lián)-專業(yè)網(wǎng)站定制、快速模板網(wǎng)站建設(shè)、高性價比天鎮(zhèn)網(wǎng)站開發(fā)、企業(yè)建站全套包干低至880元,成熟完善的模板庫,直接使用。一站式天鎮(zhèn)網(wǎng)站制作公司更省心,省錢,快速模板網(wǎng)站建設(shè)找我們,業(yè)務(wù)覆蓋天鎮(zhèn)地區(qū)。費用合理售后完善,十余年實體公司更值得信賴。
###因內(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.
這一過程需要十分鐘左右,一般會有進(jìn)度條指示
修改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ù)庫進(jìn)行測試
$ sqlplus / as sysdba
SQL> SELECT SYSDATE FROM DUAL;