{"id":121147,"date":"2018-09-29T08:02:47","date_gmt":"2018-09-29T00:02:47","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=121147"},"modified":"2018-09-25T11:03:43","modified_gmt":"2018-09-25T03:03:43","slug":"linux-sqlplus","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-sqlplus.html","title":{"rendered":"\u5982\u4f55\u89e3\u51b3Linux\u4e0bsqlplus\u9000\u683c\u3001\u4e0a\u7ffb\u952e\u4e71\u7801\u95ee\u9898"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u3000\u5728Linux\u4e0b\u4f7f\u7528sqlplus\u4f60\u4f1a\u53d1\u73b0\uff1a\u9000\u683c\u952e\u65e0\u6cd5\u6b63\u5e38\u4f7f\u7528(\u4e71\u7801)\uff0c\u4e0a\u7ffb\u952e\u4e5f\u65e0\u6cd5\u6b63\u5e38\u663e\u793a\u5386\u53f2\u529f\u80fd\uff0c\u975e\u5e38\u8ba8\u538c!\u4e3a\u4e86\u8ba9\u9000\u683c\u952e\u548c\u4e0a\u7ffb\u952e\u5728sqlplus\u91cc\u6b63\u5e38\u53d1\u6325\u5b83\u7684\u4f5c\u7528\uff0c\u6211\u4eec\u5fc5\u987b\u5b89\u88c5\u4e00\u4e2a\u8f6f\u4ef6 - rlwrap<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
1. \u9996\u5148\uff0c\u4ece~hlub\/uck\/rlwrap\/\u4e0b\u8f7d\u5b89\u88c5\u5305\uff0c\u4e0a\u4f20\u5230linux\u670d\u52a1\u5668\u4e0a<\/strong><\/div>\n
2. \u4ee5root\u7528\u6237\u89e3\u538b\u7f29\u5b89\u88c5<\/strong><\/div>\n
tar -zxvf rlwrap-0.37.tar.gz  \r\ncd rlwrap-0.37 \r\n.\/configure \r\nmake \r\nmake install<\/pre>\n
3. \u5b89\u88c5\u6210\u529f\u540e\uff0c\u5728oracle\u7528\u6237\u4e0b\u7f16\u8f91.bash_profile<\/strong><\/div>\n
alias sqlplus='rlwrap sqlplus' \r\nalias rman='rlwrap rman' \r\nalias lsnrctl='rlwrap lsnrctl'\r\n<\/pre>\n

\u8fd9\u65f6\u4f60\u518d\u767b\u9646sqlplus\u548crman\uff0c\u4f1a\u5f88\u9ad8\u5174\u7684\u53d1\u73b0\u9000\u683c\u3001\u4e0a\u7ffb\u952e\u53ef\u4ee5\u6b63\u5e38\u4f7f\u7528\u4e86\uff0c\u7ec8\u4e8e\u4e0d\u518d\u88ab\u8f93\u9519\u5b57\u7b26\u800c\u61ca\u607c\u4e0d\u5df2\u4e86\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttp:\/\/www.jsgho.net\/help\/fwq\/32524.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/linux-sqlplus.html<\/a>\u7f16\u8f91\uff1a\u90dd\u5927\u53d1\uff0c\u5ba1\u6838\u5458\uff1a\u9004\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb \u3000\u5728Linux\u4e0b\u4f7f\u7528sqlplus\u4f60\u4f1a\u53d1\u73b0\uff1a\u9000\u683c\u952e\u65e0\u6cd5\u6b63\u5e38\u4f7f\u7528(\u4e71\u7801)\uff0c\u4e0a\u7ffb\u952e\u4e5f\u65e0\u6cd5\u6b63\u5e38\u663e\u793a\u5386\u53f2\u529f\u80fd\uff0c\u975e […]<\/p>\n","protected":false},"author":63,"featured_media":121150,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-121147","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/121147","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\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=121147"}],"version-history":[{"count":4,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/121147\/revisions"}],"predecessor-version":[{"id":121528,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/121147\/revisions\/121528"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/121150"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=121147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=121147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=121147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}