ITPub博客

首页 > 数据库 > Oracle > Creating a Database with Noninteractive/Silent DBCA

Creating a Database with Noninteractive/Silent DBCA

原创 Oracle 作者:caisanpx 时间:2014-03-06 19:14:16 0 删除 编辑

Creating a Database with Noninteractive/Silent DBCA

See Appendix A of the installation guide for your platform for details on using the noninteractive/silent mode of DBCA.

The following example creates a database by passing command-line arguments to DBCA:

dbca -silent -createDatabase -templateName General_Purpose.dbc
  -gdbname ora11g -sid ora11g -responseFile NO_VALUE -characterSet AL32UTF8
  -memoryPercentage 30 -emConfiguration LOCAL

Enter SYSTEM user password: password Enter SYS user password: password Copying database files
1% complete
3% complete
...

To ensure completely silent operation, you can redirect stdout to a file. In this case, however, you must supply passwords for the administrative accounts in command-line arguments or the response file.

To view brief help for DBCA command-line arguments, enter the following command:

dbca -help

For more detailed argument information, including defaults, view the response file template found on your distribution media. Appendix A of your platform installation guide provides the name and location of this file.


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26844646/viewspace-1102576/,如需转载,请注明出处,否则将追究法律责任。

下一篇: Create database a part
请登录后发表评论 登录
全部评论

注册时间:2012-04-12

  • 博文量
    165
  • 访问量
    444605