\u5728\u5b89\u88c5 Oracle 11g \u5ba2\u6237\u7aef\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u5df2\u5b89\u88c5\u6240\u6709\u5fc5\u9700\u7684\u4f9d\u8d56\u9879\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u68c0\u67e5\u5e76\u5b89\u88c5\u7f3a\u5c11\u7684\u4f9d\u8d56\u9879\uff1a<\/p>\n
\nsudo yum install libaio\nsudo yum install libstdc++.so.6\n<\/pre>\n<\/p>\n5.\u5f00\u59cb\u5b89\u88c5<\/b><\/p>\n
\u73b0\u5728\uff0c\u53ef\u4ee5\u5f00\u59cb\u5b89\u88c5 Oracle 11g \u5ba2\u6237\u7aef\u4e86\u3002\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n
1.\u8fdb\u5165\u89e3\u538b\u7f29\u7684\u76ee\u5f55\u3002<\/p>\n
2.\u6267\u884c.\/runInstaller \u547d\u4ee4\u4ee5\u542f\u52a8\u5b89\u88c5\u7a0b\u5e8f\u3002<\/p>\n
3.\u5728\u5b89\u88c5\u7a0b\u5e8f\u4e2d\u9009\u62e9\u201c\u5ba2\u6237\u7aef\u201d\u9009\u9879\u3002<\/p>\n
4.\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u8fc7\u7a0b\u3002<\/p>\n
6.\u914d\u7f6e tnsnames.ora \u6587\u4ef6<\/b><\/p>\n
<\/p>\n
\u5728\u4f7f\u7528 Oracle 11g \u5ba2\u6237\u7aef\u4e4b\u524d\uff0c\u8bf7\u786e\u4fdd\u5df2\u914d\u7f6e tnsnames.ora \u6587\u4ef6\u3002\u8be5\u6587\u4ef6\u5305\u542b\u4e86\u6570\u636e\u5e93\u8fde\u63a5\u4fe1\u606f\u3002\u53ef\u4ee5\u5728 ORACLE_HOME\/network\/admin \u76ee\u5f55\u4e0b\u627e\u5230\u8be5\u6587\u4ef6\u3002\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n
1.\u6253\u5f00 tnsnames.ora \u6587\u4ef6\u3002<\/p>\n
2.\u6dfb\u52a0\u60a8\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7684\u6761\u76ee\u3002\u6bcf\u4e2a\u6761\u76ee\u5e94\u5305\u542b\u4ee5\u4e0b\u4fe1\u606f\uff1a<\/p>\n
\n
\n<database_alias>=\n (DESCRIPTION =\n (ADDRESS_LIST =\n (ADDRESS =(PROTOCOL = TCP)(HOST =<database_host>)(PORT =<database_port>))\n )\n (CONNECT_DATA =\n (SERVICE_NAME =<database_service_name>)\n )\n )\n<\/pre>\n<\/p>\n3.\u4fdd\u5b58\u6587\u4ef6\u3002<\/p>\n
7.\u6d4b\u8bd5\u8fde\u63a5<\/b><\/p>\n
\u73b0\u5728\uff0c\u53ef\u4ee5\u6d4b\u8bd5\u662f\u5426\u6210\u529f\u8fde\u63a5\u5230\u6570\u636e\u5e93\u4e86\u3002\u53ef\u4ee5\u4f7f\u7528 SQL*Plus \u6216 SQL Developer \u5de5\u5177\u8fdb\u884c\u6d4b\u8bd5\u3002\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n
1.\u6253\u5f00 SQL*Plus \u6216 SQL Developer\u3002<\/p>\n
2.\u8f93\u5165\u60a8\u7684\u7528\u6237\u540d\u3001\u5bc6\u7801\u548c\u6570\u636e\u5e93\u522b\u540d\u3002<\/p>\n
3.\u6d4b\u8bd5\u8fde\u63a5\u3002<\/p>\n
8.\u89e3\u51b3\u5e38\u89c1\u95ee\u9898<\/b><\/p>\n
\u5728\u5b89\u88c5 Oracle 11g \u5ba2\u6237\u7aef\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n
1.\u5982\u679c\u5b89\u88c5\u7a0b\u5e8f\u65e0\u6cd5\u542f\u52a8\uff0c\u8bf7\u786e\u4fdd\u5df2\u8bbe\u7f6e\u6b63\u786e\u7684\u73af\u5883\u53d8\u91cf\u3002<\/p>\n
2.\u5982\u679c\u5b89\u88c5\u7a0b\u5e8f\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5931\u8d25linux\u8ba1\u5212\u4efb\u52a1\uff0c\u8bf7\u67e5\u770b\u5b89\u88c5\u65e5\u5fd7\u4ee5\u83b7\u53d6\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n
3.\u5982\u679c\u65e0\u6cd5\u8fde\u63a5\u5230\u6570\u636e\u5e93\uff0c\u8bf7\u786e\u4fdd\u5df2\u6b63\u786e\u914d\u7f6e tnsnames.ora \u6587\u4ef6\u3002<\/p>\n
4.\u5982\u679c\u65e0\u6cd5\u4f7f\u7528 SQL*Plus \u6216 SQL Developer \u8fde\u63a5\u5230\u6570\u636e\u5e93\uff0c\u8bf7\u786e\u4fdd\u5df2\u6b63\u786e\u914d\u7f6e\u5ba2\u6237\u7aef\u5de5\u5177\u3002<\/p>\n
\u603b\u7ed3<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u5728 Linux \u7cfb\u7edf\u4e0a\u5b89\u88c5 Oracle 11g \u5ba2\u6237\u7aef\u3002\u6211\u4eec\u8ba8\u8bba\u4e86\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u3001\u89e3\u538b\u6587\u4ef6\u3001\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u3001\u5b89\u88c5\u4f9d\u8d56\u9879\u3001\u5f00\u59cb\u5b89\u88c5\u3001\u914d\u7f6e tnsnames.ora \u6587\u4ef6\u3001\u6d4b\u8bd5\u8fde\u63a5\u548c\u89e3\u51b3\u5e38\u89c1\u95ee\u9898\u7b49\u65b9\u9762\u3002\u5982\u679c\u60a8\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\u4ecd\u7136\u65e0\u6cd5\u6210\u529f\u5b89\u88c5 Oracle 11g \u5ba2\u6237\u7aef\uff0c\u8bf7\u53c2\u8003 Oracle \u5b98\u65b9\u6587\u6863\u6216\u5bfb\u6c42\u4e13\u4e1a\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7d\u5ba2\u6237\u7aef\u8f6f\u4ef6\u5305\u3002\u8bf7\u786e\u4fdd\u60a8\u4e0b\u8f7d\u7684\u8f6f\u4ef6\u5305\u4e0e\u60a8\u6b63\u5728\u8fd0\u884c\u7684\u64cd\u4f5c\u7cfb\u7edf\u548c\u6570\u636e\u5e93\u7248\u672c\u517c\u5bb9\u3002\u4e0b\u8f7d\u5b8c\u6210\u540e\uff0c\u5c06\u6587\u4ef6\u89e3\u538b\u5230\u60a8\u8981\u5b89\u88c5\u8f6f\u4ef6\u7684\u76ee\u5f55\u4e2d\u3002ORACLE_HOME=\/path\/to\/oracle\/client\u5728\u5b89\u88c5\u7a0b\u5e8f\u4e2d\u9009\u62e9\u201c\u5ba2\u6237\u7aef\u201d\u9009\u9879\u3002\u6dfb\u52a0\u60a8\u8981\u8fde\u63a5\u7684\u6570\u636e\u5e93\u7684\u6761\u76ee\u3002\u5982\u679c\u5b89\u88c5\u7a0b\u5e8f\u5728\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5931\u8d25\uff0c\u8bf7\u67e5\u770b\u5b89\u88c5\u65e5\u5fd7\u4ee5\u83b7\u53d6\u66f4\u591a\u4fe1\u606f\u3002\u8fde\u63a5\u5230\u6570\u636e\u5e93\uff0c\u8bf7\u786e\u4fdd\u5df2\u6b63\u786e\u914d\u7f6e\u5ba2\u6237\u7aef\u5de5\u5177\u3002\u5b98\u65b9\u6587\u6863\u6216\u5bfb\u6c42\u4e13\u4e1a\u652f\u6301\u3002<\/p>\n","protected":false},"author":1,"featured_media":275152,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-275151","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/275151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=275151"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/275151\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/275152"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=275151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=275151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=275151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}