文档:Administrator's Guide -> 2 Creating and Configuring an Oracle Database -> Creating a Database with DBCA / Creating a Database with the CREATE DATABASE Statement

确认oracle用户的环境变量已经配置正确。然后执行dbca命令。
如果不知道如何配置,请参考Oracle 环境变量

Global Database Name = "PROD1.oracle.com"
SID = "PROD1"

不要选择自定义建库,很慢,选择模版建库。

取消选择 "Configure Enterprise Manager"
注意:不要选择EM,否则后面的GC可能会有问题。
如果选择此项,需要先启动监听(Listener)

Storage Type = "File System"
Select "Use Common Location for All Database Files"
Database Files Location = "{ORACLE_BASE}/oradata"

Select "Sample Schema" and keep the default settings of other components
 选择安装默认组件:完成时间?
 取消安装全部组件:完成时间?

Click tab "Character Sets"
Click "Use Unicode (AL32UTF8)

Activate the boxes "Create Database" and "Generate Database Creation Scripts"
The default path for the script = /u01/app/oracle/admin/PROD1/scripts

-- By 许望(RHCA、OCM、VCP)
最后修改:2023 年 03 月 30 日 05 : 31 PM
如果觉得我的文章对你有用,请随意赞赏