Oracle在Linux平台“静默”安装(二)
修改dbca.rsp文件:
###因內(nèi)容過多,無法顯示,詳見附件###
執(zhí)行命令創(chuàng)建數(shù)據(jù)庫(kù)實(shí)例
$ 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.
這一過程需要十分鐘左右,一般會(huì)有進(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ù)庫(kù)網(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ù)庫(kù)進(jìn)行測(cè)試
?$ sqlplus / as sysdba
SQL> SELECT SYSDATE FROM DUAL;
轉(zhuǎn)載于:https://blog.51cto.com/dspirit/1630542
《新程序員》:云原生和全面數(shù)字化實(shí)踐50位技術(shù)專家共同創(chuàng)作,文字、視頻、音頻交互閱讀總結(jié)
以上是生活随笔為你收集整理的Oracle在Linux平台“静默”安装(二)的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 记录一个班级的成绩练习一维数组
- 下一篇: Windows 2008 R2终端服务器