zoukankan      html  css  js  c++  java
  • oracle 12C静默安装方式

    一、静默安装软件

    ./runInstaller -responseFile /home/oracle/db-sofware.rsp  -silent -ignorePrereq -showProgress

    二、静默DBCA创建库

    dbca -silent -createDatabase -responseFile /home/oracle/dbca.rsp

    关键文件内容解释:

     修改/u01/database/response/dbca.rsp,设置如下:
    vim/ue1/database/response/dbca.rsp
    responseFileversion=/oracle/assistants/rspfmt_dbca_response_schema_v12.2.0//21行不可更改
    gdbName=cdb1//32
    sid=cdb1//42
    databaseConfigType=SI      //52
    policyManaged=false     //74
    createserverPool=false     //88
    force=false     //127
    createAsContainerDatabase=true    //163
    numberofPDBS=1        //172
    pdbName=cdb1pdb      //182
    useLocalUndoForPDBS=true     //192
    templateName=/ue1/app/oracle/product/12.2.0.1/db 1/assistants/dbca/templates/General Purpose.dbc
    emExpressPort=5500      //273
    runcvuChecks=false       //284
    omsPort=0//313
    dvconfiguration=false       //341
    o1sconfiguration=false      //391
    datafileJarLocation={ORACLE_HOME}/assistants/dbca/templates     ///401
    datafileDestination={ORACLE BASE}/oradata/{DB UNIQUE NAME}/     //411
    recoveryAreaDestination={ORACLE_BASE}/fast_recovery_area/{DB_UNIQUE_NAME}        //421
    storageType=FS       //431
    characterset=AL32UTF8/468字符集创建库之后不可更改
    nationalcharacterset=AL16UTF16       //478
    variables=DB_UNIQUE_NAME=Cdb1, ORACLE_BASE=/ue1/app/oracle, PDB_NAME=, DB_NAME=cdb1, ORACLE_HOME=/ue1. initParams=undo tablespace=UNDOTBS1, memory target-796MB, processes=300, db recovery file dest size=: sampleschema=false    //565
    memoryPercentage=40      //574
    databaseType=MULTIPURPOSE     //584
    automaticMemoryManagement=true     //594
    totalMemory=0     //604

    三、静默删除库

    dbca -silent -deleteDatabase -sourceDB ods

    三、应答文件 

    1、db软件应答文件 

    https://files.cnblogs.com/files/lkj371/db-sofware.zip

    2、db创建库应答文件 

    https://files.cnblogs.com/files/lkj371/dbca.zip

    喜欢请赞赏一下啦^_^

    微信赞赏

    支付宝赞赏

  • 相关阅读:
    String为值类型还是引用类型
    Mat数据类型
    各数据类型取值范围和所占字节数
    opencv matType
    python函数参数中冒号与箭头
    批量删除list中元素的方法
    PyQt QListview和QListWidgt
    函数形参中的冒号与箭头
    CSS选择器之相邻兄弟选择器
    CSS选择器之子元素选择器
  • 原文地址:https://www.cnblogs.com/lkj371/p/15291392.html
Copyright © 2011-2022 走看看