CentOS7.6静默安装19C实例脚本

脚本:

dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname test -sid test -characterSet AL32UTF8 -TOTALMEMORY 4096 -STORAGETYPE FS -DATAFILEDESTIN
ATION /oracle/oradata/tbomtest/ -sysPassword oracle -systemPassword oracle


--------------------------------------------------------------------------需要注意的是19c的实例名不能添加"_"下划线,要不然会报错

上边脚本实例名跟下边实操的实例名不是一个!

alphanumeric characters:字母数字字符来自有道翻译,下面的报错就是我实例名加上下划线,去掉下划线就可以正常运行了

[oracle@tldbompx03 ~]$ dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname tbom_px -sid tbom_px -characterSet AL32UTF8 -TOTALMEMORY 4096 -STORAGETYPE FS -DATAFILEDESTINATION /oracle/oradata/tbom_px/ -sysPassword oracle -systemPassword oracle
[FATAL] [DBT-10322] The Instance Name specified contains non alphanumeric characters.
ACTION: Specify a Instance Name that starts with an alphabet and contains only alphanumeric characters.


[oracle@tldbompx03 ~]$ dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname tbom_px -sid tbom_px -characterSet AL32UTF8 -TOTALMEMORY 4096 -STORAGETYPE FS -DATAFILEDESTINATION /oracle/oradata/tbompx/ -sysPassword oracle -systemPassword oracle
[FATAL] [DBT-10322] The Instance Name specified contains non alphanumeric characters.
ACTION: Specify a Instance Name that starts with an alphabet and contains only alphanumeric characters.

这里ORA-27125 - Unable to create shared memory segment error 共享内存段错误,一般调整/etc/sysctl.conf中的最大共享内存kernel.shmmax、kernel.shmmni就可以

[oracle@tldbompx03 ~]$ dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbname tbompx -sid tbompx -characterSet AL32UTF8 -TOTALMEMORY 10240 -STORAGETYPE FS -DATAFILEDESTINATION /oracle/oradata/tbompx/ -sysPassword oracle -systemPassword oracle
[WARNING] [DBT-11207] Specified SGA size is greater than the shmmax on the system. The database creation might fail with "ORA-27125 - Unable to create shared memory segment error".
ACTION: Specify SGA size lesser than or equal to the shmmax on the system.
[WARNING] [DBT-06208] The 'SYS' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.
[WARNING] [DBT-06208] The 'SYSTEM' password entered does not conform to the Oracle recommended standards.
CAUSE:
a. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].
b.The password entered is a keyword that Oracle does not recommend to be used as password
ACTION: Specify a strong password. If required refer Oracle documentation for guidelines.

猜你喜欢

转载自www.cnblogs.com/houzhiheng/p/12088006.html
今日推荐