{"id":179598,"date":"2024-11-09T03:09:17","date_gmt":"2024-11-08T19:09:17","guid":{"rendered":"https:\/\/server.hk\/cnblog\/179598\/"},"modified":"2024-11-09T03:09:18","modified_gmt":"2024-11-08T19:09:18","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8-mac-%e4%b8%8a%e5%ae%89%e8%a3%9d-oracle-%e6%95%b8%e6%93%9a%e5%ba%ab%ef%bc%9f-mac-%e5%ae%89%e8%a3%9d-oracle-%e6%95%b8%e6%93%9a%e5%ba%ab","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/179598\/","title":{"rendered":"\u5982\u4f55\u5728 Mac \u4e0a\u5b89\u88dd Oracle \u6578\u64da\u5eab\uff1f (mac \u5b89\u88dd oracle \u6578\u64da\u5eab)"},"content":{"rendered":"<h1 id=\"%e5%a6%82%e4%bd%95%e5%9c%a8-mac-%e4%b8%8a%e5%ae%89%e8%a3%9d-oracle-%e6%95%b8%e6%93%9a%e5%ba%ab%ef%bc%9f-elxuJMhcrP\">\u5982\u4f55\u5728 Mac \u4e0a\u5b89\u88dd Oracle \u6578\u64da\u5eab\uff1f<\/h1>\n<p>Oracle \u6578\u64da\u5eab\u662f\u4e00\u6b3e\u529f\u80fd\u5f37\u5927\u7684\u95dc\u806f\u6578\u64da\u5eab\u7ba1\u7406\u7cfb\u7d71\uff0c\u5ee3\u6cdb\u61c9\u7528\u65bc\u4f01\u696d\u7d1a\u61c9\u7528\u7a0b\u5e8f\u4e2d\u3002\u96d6\u7136 Oracle \u6578\u64da\u5eab\u4e3b\u8981\u5728 Windows \u548c Linux \u74b0\u5883\u4e2d\u904b\u884c\uff0c\u4f46\u4e5f\u53ef\u4ee5\u5728 Mac \u4e0a\u5b89\u88dd\u3002\u672c\u6587\u5c07\u6307\u5c0e\u60a8\u5982\u4f55\u5728 Mac \u4e0a\u5b89\u88dd Oracle \u6578\u64da\u5eab\uff0c\u4e26\u63d0\u4f9b\u8a73\u7d30\u7684\u6b65\u9a5f\u548c\u6ce8\u610f\u4e8b\u9805\u3002<\/p>\n<h2 id=\"%e7%b3%bb%e7%b5%b1%e8%a6%81%e6%b1%82-elxuJMhcrP\">\u7cfb\u7d71\u8981\u6c42<\/h2>\n<p>\u5728\u5b89\u88dd Oracle \u6578\u64da\u5eab\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u78ba\u4fdd\u60a8\u7684 Mac \u7b26\u5408\u4ee5\u4e0b\u7cfb\u7d71\u8981\u6c42\uff1a<\/p>\n<ul>\n<li>\u81f3\u5c11 8 GB \u7684 RAM\uff08\u5efa\u8b70 16 GB \u6216\u66f4\u591a\uff09<\/li>\n<li>\u81f3\u5c11 10 GB \u7684\u53ef\u7528\u78c1\u789f\u7a7a\u9593<\/li>\n<li>macOS \u7248\u672c 10.14\uff08Mojave\uff09\u6216\u66f4\u9ad8\u7248\u672c<\/li>\n<\/ul>\n<h2 id=\"%e5%ae%89%e8%a3%9d%e6%ad%a5%e9%a9%9f-elxuJMhcrP\">\u5b89\u88dd\u6b65\u9a5f<\/h2>\n<h3 id=\"%e6%ad%a5%e9%a9%9f-1%ef%bc%9a%e4%b8%8b%e8%bc%89-oracle-%e6%95%b8%e6%93%9a%e5%ba%ab-elxuJMhcrP\">\u6b65\u9a5f 1\uff1a\u4e0b\u8f09 Oracle \u6578\u64da\u5eab<\/h3>\n<p>\u9996\u5148\uff0c\u60a8\u9700\u8981\u5f9e Oracle \u5b98\u65b9\u7db2\u7ad9\u4e0b\u8f09 Oracle \u6578\u64da\u5eab\u7684\u5b89\u88dd\u5305\u3002\u8acb\u9075\u5faa\u4ee5\u4e0b\u6b65\u9a5f\uff1a<\/p>\n<ol>\n<li>\u8a2a\u554f <a href=\"https:\/\/www.oracle.com\/database\/technologies\/\" rel=\"nofollow noopener\" target=\"_blank\">Oracle \u5b98\u65b9\u7db2\u7ad9<\/a>\u3002<\/li>\n<li>\u9078\u64c7\u9069\u5408 macOS \u7684 Oracle \u6578\u64da\u5eab\u7248\u672c\u3002<\/li>\n<li>\u767b\u9304\u6216\u8a3b\u518a Oracle \u5e33\u6236\u4ee5\u958b\u59cb\u4e0b\u8f09\u3002<\/li>\n<\/ol>\n<h3 id=\"%e6%ad%a5%e9%a9%9f-2%ef%bc%9a%e5%ae%89%e8%a3%9d-oracle-%e6%95%b8%e6%93%9a%e5%ba%ab-elxuJMhcrP\">\u6b65\u9a5f 2\uff1a\u5b89\u88dd Oracle \u6578\u64da\u5eab<\/h3>\n<p>\u4e0b\u8f09\u5b8c\u6210\u5f8c\uff0c\u60a8\u53ef\u4ee5\u958b\u59cb\u5b89\u88dd Oracle \u6578\u64da\u5eab\u3002\u8acb\u6309\u7167\u4ee5\u4e0b\u6b65\u9a5f\u9032\u884c\uff1a<\/p>\n<ol>\n<li>\u96d9\u64ca\u4e0b\u8f09\u7684\u5b89\u88dd\u5305\uff0c\u89e3\u58d3\u7e2e\u5f8c\uff0c\u60a8\u6703\u770b\u5230\u4e00\u500b\u540d\u70ba \u201cOracle\u201d \u7684\u6587\u4ef6\u593e\u3002<\/li>\n<li>\u6253\u958b\u7d42\u7aef\u6a5f\uff0c\u4e26\u5c0e\u822a\u5230\u89e3\u58d3\u7e2e\u7684\u6587\u4ef6\u593e\u4e2d\uff1a<\/li>\n<pre><code>cd \/path\/to\/Oracle<\/code><\/pre>\n<li>\u904b\u884c\u5b89\u88dd\u8173\u672c\uff1a<\/li>\n<pre><code>.\/runInstaller<\/code><\/pre>\n<li>\u6839\u64da\u5b89\u88dd\u5411\u5c0e\u7684\u6307\u793a\u9032\u884c\u64cd\u4f5c\uff0c\u9078\u64c7\u5b89\u88dd\u985e\u578b\uff08\u5982\u5178\u578b\u5b89\u88dd\u6216\u81ea\u5b9a\u7fa9\u5b89\u88dd\uff09\u3002<\/li>\n<\/ol>\n<h3 id=\"%e6%ad%a5%e9%a9%9f-3%ef%bc%9a%e9%85%8d%e7%bd%ae-oracle-%e6%95%b8%e6%93%9a%e5%ba%ab-elxuJMhcrP\">\u6b65\u9a5f 3\uff1a\u914d\u7f6e Oracle \u6578\u64da\u5eab<\/h3>\n<p>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u60a8\u9700\u8981\u914d\u7f6e Oracle \u6578\u64da\u5eab\u3002\u9019\u5305\u62ec\u5275\u5efa\u6578\u64da\u5eab\u548c\u7528\u6236\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u9032\u884c\u914d\u7f6e\uff1a<\/p>\n<pre><code>sqlplus \/ as sysdba<\/code><\/pre>\n<p>\u7136\u5f8c\uff0c\u60a8\u53ef\u4ee5\u5275\u5efa\u4e00\u500b\u65b0\u7684\u6578\u64da\u5eab\u7528\u6236\uff1a<\/p>\n<pre><code>CREATE USER myuser IDENTIFIED BY mypassword;<\/code><\/pre>\n<pre><code>GRANT ALL PRIVILEGES TO myuser;<\/code><\/pre>\n<h2 id=\"%e6%b3%a8%e6%84%8f%e4%ba%8b%e9%a0%85-elxuJMhcrP\">\u6ce8\u610f\u4e8b\u9805<\/h2>\n<p>\u5728\u5b89\u88dd\u548c\u914d\u7f6e Oracle \u6578\u64da\u5eab\u6642\uff0c\u8acb\u6ce8\u610f\u4ee5\u4e0b\u5e7e\u9ede\uff1a<\/p>\n<ul>\n<li>\u78ba\u4fdd\u60a8\u7684 Mac \u4e0a\u5df2\u5b89\u88dd Java\uff0c\u56e0\u70ba Oracle \u6578\u64da\u5eab\u9700\u8981 Java \u74b0\u5883\u3002<\/li>\n<li>\u5728\u5b89\u88dd\u904e\u7a0b\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u63d0\u4f9b\u7ba1\u7406\u54e1\u5bc6\u78bc\u3002<\/li>\n<li>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u5efa\u8b70\u91cd\u555f\u60a8\u7684 Mac\uff0c\u4ee5\u78ba\u4fdd\u6240\u6709\u914d\u7f6e\u751f\u6548\u3002<\/li>\n<\/ul>\n<h2 id=\"%e7%b8%bd%e7%b5%90-elxuJMhcrP\">\u7e3d\u7d50<\/h2>\n<p>\u5728 Mac \u4e0a\u5b89\u88dd Oracle \u6578\u64da\u5eab\u7684\u904e\u7a0b\u76f8\u5c0d\u7c21\u55ae\uff0c\u53ea\u9700\u9075\u5faa\u4e0a\u8ff0\u6b65\u9a5f\u5373\u53ef\u6210\u529f\u5b89\u88dd\u548c\u914d\u7f6e\u3002\u7121\u8ad6\u60a8\u662f\u958b\u767c\u8005\u9084\u662f\u6578\u64da\u5eab\u7ba1\u7406\u54e1\uff0c\u638c\u63e1 Oracle \u6578\u64da\u5eab\u7684\u4f7f\u7528\u5c07\u5c0d\u60a8\u7684\u5de5\u4f5c\u5927\u6709\u88e8\u76ca\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u9ad8\u6548\u7684\u6578\u64da\u5eab\u7ba1\u7406\u89e3\u6c7a\u65b9\u6848\uff0c\u8003\u616e\u4f7f\u7528 <a href=\"https:\/\/server.hk\">\u9999\u6e2f VPS<\/a> \u670d\u52d9\u4f86\u63d0\u5347\u60a8\u7684\u6578\u64da\u5eab\u6027\u80fd\u548c\u7a69\u5b9a\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3\u5982\u4f55\u5728 Mac \u4e0a\u5b89\u88dd Oracle \u6578\u64da\u5eab\uff0c\u6b65\u9a5f\u7c21\u55ae\u660e\u77ad\uff0c\u52a9\u60a8\u5feb\u901f\u914d\u7f6e\u548c\u904b\u884c\u6578\u64da\u5eab\u74b0\u5883\u3002<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[101],"tags":[],"class_list":["post-179598","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/179598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=179598"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/179598\/revisions"}],"predecessor-version":[{"id":179599,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/179598\/revisions\/179599"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=179598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=179598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=179598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}