{"id":8174,"date":"2024-06-20T09:01:01","date_gmt":"2024-06-20T01:01:01","guid":{"rendered":""},"modified":"2024-06-20T09:01:01","modified_gmt":"2024-06-20T01:01:01","slug":"\u5982\u4f55\u521b\u5efa\u6570\u636e\u5e93_\u5982\u4f55\u521b\u5efa\u6570\u636e\u5e93","status":"publish","type":"post","link":"https:\/\/mushiming.com\/8174.html","title":{"rendered":"\u5982\u4f55\u521b\u5efa\u6570\u636e\u5e93_\u5982\u4f55\u521b\u5efa\u6570\u636e\u5e93"},"content":{"rendered":"
\n

\u5982\u4f55\u521b\u5efaOracle\u6570\u636e\u5e93(\u624b\u5de5\u521b\u5efa)<\/p>\n

\u5728\u4e0a\u4e00\u7ae0\u91cc\uff0c\u65b9\u5c11\u6f14\u793a\u4e86\u5982\u4f55\u5229\u7528DBCA\u6765\u521b\u5efaORACLE\u6570\u636e\u5e93\uff0c\u4f46\u662f\u5728\u8fd9\u4e00\u7ae0\u91cc\u65b9\u5c11\u8981\u544a\u8bc9\u5927\u5bb6\u5982\u4f55\u5728\u547d\u4ee4\u884c\u4e0b\u901a\u8fc7\u6267\u884cCREATE DATABASE\u547d\u4ee4\u6765\u521b\u5efa\u4e00\u4e2a\u6570\u636e\u5e93\uff0c\u4e4b\u6240\u4ee5\u6f14\u793a\u547d\u4ee4\u884c\u624b\u5de5\u521b\u5efa\u6570\u636e\u5e93\u7ed9\u5927\u5bb6\u662f\u56e0\u4e3a\u5728OCM\u7684\u5b9e\u9a8c\u8003\u8bd5\u91cc\u9762\u662f\u4e0d\u5141\u8bb8\u7528DBCA\u6765\u5efa\u5e93\u7684\u3002<\/p>\n

\u8981\u521b\u5efa\u4e00\u4e2a\u6570\u636e\u5e93\uff0c\u5fc5\u987b\u6309\u7167\u6b63\u786e\u7684\u987a\u5e8f\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n

(1)\u521b\u5efa\u4e00\u4e2a\u53c2\u6570\u6587\u4ef6\u548c\u53e3\u4ee4\u6587\u4ef6\u3002<\/p>\n

(2)\u4f7f\u7528\u521b\u5efa\u7684\u53c2\u6570\u6587\u4ef6\u5728\u5185\u5b58\u4e2d\u6784\u5efa\u4e00\u4e2a\u5b9e\u4f8b\u3002<\/p>\n

(3)\u6267\u884cCREATE DATABASE\u547d\u4ee4\u3002<\/p>\n

(4)\u8fd0\u884c\u4e00\u7cfb\u5217SQL\u811a\u672c\u751f\u6210\u6570\u636e\u5b57\u5178\u89c6\u56fe\u548c\u8865\u5145\u7684PL\/SQL\u7a0b\u5e8f\u5305\u3002<\/p>\n

(5)\u8fd0\u884c\u76f8\u5e94SQL\u811a\u672c\u751f\u6210Enterprise Manager Database Control\u4ee5\u53ca\u8be5\u6570\u636e\u5e93\u9700\u8981\u7684\u4efb<\/p>\n

\u4f55\u9009\u9879\u3002<\/p>\n

\u4e0b\u9762\uff0c\u6211\u4eec\u5c31\u6309\u7167\u4e0a\u9762\u7684\u6b65\u9aa4\u521b\u5efa\u4e00\u4e2a\u540d\u4e3aORCL\u7684\u6570\u636e\u5e93\u3002<\/p>\n

\u5728\u521b\u5efa\u53c2\u6570\u6587\u4ef6\u4e4b\u524d\uff0c\u6211\u4eec\u5f97\u5148\u521b\u5efa\u4e00\u4e9borcl\u6570\u636e\u5e93\u8981\u7528\u5230\u7684\u76ee\u5f55\uff1a<\/p>\n

mkdir\u2013p$ORACLE_BASE\/admin\/orcl\/adump<\/p>\n

mkdir\u2013p$ORACLE_BASE\/admin\/orcl\/bdump<\/p>\n

mkdir\u2013p$ORACLE_BASE\/admin\/orcl\/cdump<\/p>\n

mkdir\u2013p$ORACLE_BASE\/admin\/orcl\/dpdump<\/p>\n

mkdir\u2013p$ORACLE_BASE\/admin\/orcl\/udump<\/p>\n

mkdir\u2013p$ORACLE_BASE\/admin\/orcl\/pfile<\/p>\n

mkdir\u2013p$ORACLE_BASE\/oradata\/orcl<\/p>\n

mkdir\u2013p$ORACLE_BASE\/flash_recovery_area<\/p>\n

export ORACLE_SID=orcl<\/p>\n

\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u8981\u5728\/etc\/oratab\u91cc\u52a0\u5165\u5982\u4e0b\u6240\u793a\u7684\u4e00\u6761\u8bb0\u5f55<\/p>\n

orcl:\/u01\/app\/oracle:Y<\/p>\n

\u4e0b\u9762\uff0c\u6211\u4eec\u8981\u521b\u5efa\u53e3\u4ee4\u6587\u4ef6\uff1a<\/p>\n

orapwd file=$ORACLE_HOME\/dbs\/orapworcl password=oracle entries=10force=y<\/p>\n

\"\u5982\u4f55\u521b\u5efa\u6570\u636e\u5e93_\u5982\u4f55\u521b\u5efa\u6570\u636e\u5e93<\/p>\n

\u5728Oracle\u4e2d\uff0c\u6240\u6709\u53c2\u6570\u88ab\u5206\u4e3a\u201c\u57fa\u672c\u201d\u53c2\u6570\u548c\u201c\u9ad8\u7ea7\u201d\u53c2\u6570\u3002\u901a\u5e38\uff0c\u6211\u4eec\u9700\u8981\u8bbe\u7f6e20\u591a\u4e2a\u201c\u57fa\u672c\u201d\u53c2\u6570\u3002<\/p>\n

\u542f\u52a8\u53c2\u6570\u6587\u4ef6init.ora\u5e94\u4e0e\u4e0b\u9762\u7ed9\u51fa\u7684\u4ee3\u7801\u76f8\u4f3c\uff1a<\/p>\n

########################################################################## ####<\/p>\n

#Copyright(c)1991,2001,2002by Oracle Corporation<\/p>\n

##########################################################################<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"\u5982\u4f55\u521b\u5efa\u6570\u636e\u5e93_\u5982\u4f55\u521b\u5efa\u6570\u636e\u5e93\u5982\u4f55\u521b\u5efaOracle\u6570\u636e\u5e93(\u624b\u5de5\u521b\u5efa)\u5728\u4e0a\u4e00\u7ae0\u91cc\uff0c\u65b9\u5c11\u6f14\u793a\u4e86\u5982\u4f55\u5229\u7528DBCA\u6765\u521b\u5efaORACLE\u6570\u636e\u5e93\uff0c\u4f46\u662f...","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"_links":{"self":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8174"}],"collection":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/comments?post=8174"}],"version-history":[{"count":0,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/posts\/8174\/revisions"}],"wp:attachment":[{"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/media?parent=8174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/categories?post=8174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mushiming.com\/wp-json\/wp\/v2\/tags?post=8174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}