本文共 3143 字,大约阅读时间需要 10 分钟。
$database/runInstaller -silent -responseFile /home/oracle/my.rsp
下面是my.rsp的内容:RESPONSEFILE_VERSION=2.2.1.0.0
UNIX_GROUP_NAME="oinstall" #UNIX Install-Group FROM_LOCATION="/export/home/oracle/Disk1/stage/products.xml" #Oracle install location FROM_LOCATION_CD_LABEL= ORACLE_HOME="/export/home/oracle/product/10.1.0" ORACLE_HOME_NAME="OUIHome1" TOPLEVEL_COMPONENT={"oracle.server","10.1.0.3.0"} SHOW_SPLASH_SCREEN=false SHOW_WELCOME_PAGE=flase SHOW_CUSTOM_TREE_PAGE=false SHOW_COMPONENT_LOCATIONS_PAGE=false SHOW_SUMMARY_PAGE=false SHOW_INSTALL_PROGRESS_PAGE=false SHOW_REQUIRED_CONFIG_TOOL_PAGE=false SHOW_CONFIG_TOOL_PAGE=false SHOW_RELEASE_NOTES=false SHOW_ROOTSH_CONFIRMATION=false SHOW_END_SESSION_PAGE=false SHOW_EXIT_CONFIRMATION=true NEXT_SESSION=false NEXT_SESSION_ON_FAIL=true #NEXT_SESSION_RESPONSE=" " DEINSTALL_LIST={"oracle.server","10.1.0.3.0"} SHOW_DEINSTALL_CONFIRMATION=true SHOW_DEINSTALL_PROGRESS=true CLUSTER_NODES={} ACCEPT_LICENSE_AGREEMENT=true SELECTED_LANGUAGES={"en"} INSTALL_TYPE="Enterprise Edition" sl_superAdminPasswds="oracle" #sys password : oracle sl_migrateSIDDialogReturn={} sl_dlgASMCfgSelectableDisks={} s_superAdminSamePasswd="oracle" #sys confirm password s_superAdminPasswdType="S" s_loadExampleSchemas="Y" s_globalDBName="orcl" #Oracle database SID s_dlgStarterDBConfigCreateStarterDB="Create a starter database" s_dlgSIDMigrateSelection="N" s_dlgRBORecoveryOptionSelected="File System" s_dlgRBOEnableAutoBackups="Do not enable Automated backups" s_dlgEMEmailNotificationSelected="N" s_dlgASMCfgRedundancyValue="2 (Norm)" s_dlgASMCfgRedundancySelected="Normal" s_dlgASMCfgNewDisksSize="0" s_dlgASMCfgExistingFreeSpace="0" s_dlgASMCfgDiskGroupName="DATA" s_dlgASMCfgDiskDiscoveryString="" s_dlgASMCfgAdditionalSpaceNeeded=" MB" s_dbRetChar="Unicode standard UTF-8 AL32UTF8" sl_dlgASMDskGrpSelectedGroup={" "," "," "," "} s_dlgStarterDBConfigOptionSelected="General Purpose" s_dlgRBOUsername="oracle" s_dlgEMOptionSelected="Use Database Control for Database Management" s_dlgEMCentralAgentSelected="No Agents Found" s_superAdminSamePasswdAgain="oracle" s_dlgEMSMTPServer="" s_dlgEMEmailAddress="" s_DataorASMret="File System" s_rawDeviceMapFileLocation="" s_dlgRBOPassword="" sl_dlgASMCfgDiskSelections={} s_dlgRBORecoveryLocation="/u01/app/oracle/flash_recovery_area/" sl_superAdminPasswdsAgain="oracle" s_dbSid="orcl" s_mountPoint="/u01/app/oracle/oradata/" varDRDANETSEL= oracle.sysman.server:OPTIONAL_CONFIG_TOOLS="{}" oracle.rdbms.sqlplus.isqlplus:OPTIONAL_CONFIG_TOOLS="{}" oracle.networking.netca:OPTIONAL_CONFIG_TOOLS="{}" oracle.options.ops.csscommon:OPTIONAL_CONFIG_TOOLS="{}" oracle.assistants.dbma:OPTIONAL_CONFIG_TOOLS="{}" b_createDBRet=false s_nameForOPERGrp="dba" s_nameForDBAGrp="dba"dbca -silent -createDatabase -templateName New_Database.dbt -gdbname test.yangtingkun -sid test -datafileDestination /home/oracle/oradata/test -responseFile NO_VALUE -characterset UTF8
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7916042/viewspace-896299/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/7916042/viewspace-896299/