{"id":295046,"date":"2024-12-18T04:06:09","date_gmt":"2024-12-17T20:06:09","guid":{"rendered":"https:\/\/lrxjmw.cn\/lhjxdkwlljdd.html"},"modified":"2024-12-18T04:06:09","modified_gmt":"2024-12-17T20:06:09","slug":"lhjxdkwlljdd","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lhjxdkwlljdd.html","title":{"rendered":"Linux\u73af\u5883\u4e0b\u65ad\u5f00\u7f51\u7edc\u8fde\u63a5\u7684\u591a\u79cd\u65b9\u6cd5\u53ca\u6ce8\u610f\u4e8b\u9879\u8be6\u89e3"},"content":{"rendered":"

\u5728Linux<\/a>\u73af\u5883\u4e0b\uff0c\u65ad\u5f00\u7f51\u7edc\u8fde\u63a5\u662f\u7ecf\u5e38\u9700\u8981\u6267\u884c\u7684\u52a8\u4f5c\uff0c\u8fd9\u5305\u62ec\u5728\u591a\u79cd\u60c5\u5883\u4e2d\u505c\u6b62\u7f51\u7edc\u8fde\u63a5\u6216\u7ed3\u675f\u76f8\u5173\u4f1a\u8bdd\u7b49\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u5c06\u9010\u4e00\u8be6\u8ff0\u5404\u79cd\u65ad\u5f00\u8fde\u63a5\u7684\u6307\u4ee4\u3002<\/p>\n

\u4f7f\u7528ssh\u65ad\u5f00\u8fde\u63a5<\/b><\/p>\n

\u4f7f\u7528ssh\u8fdc\u7a0b\u8bbf\u95ee\u5176\u4ed6\u8bbe\u5907\u540elinux\u65ad\u5f00\u8fde\u63a5\u547d\u4ee4<\/a><\/strong>\uff0c\u64cd\u4f5c\u5b8c\u6bd5\u8981\u7ec8\u6b62\u8fde\u63a5\u3002\u5728ssh\u7684\u7ec8\u7aef\u754c\u9762\uff0c\u8f93\u5165\u201cexit\u201d\u6307\u4ee4\u5373\u53ef\u987a\u5229\u7ed3\u675f\u5f53\u524d\u8fde\u63a5\u3002\u8fd9\u662f\u6700\u57fa\u7840\u4e5f\u662f\u6700\u5e38\u89c1\u7684\u505a\u6cd5\u3002\u8fd8\u6709\u4e00\u62db\uff0c\u5c31\u662f\u6309\u201cCtrl+D\u201d\u7ec4\u5408\u952e\uff0c\u8fd9\u540c\u6837\u80fd\u8fc5\u901f\u65ad\u5f00ssh\u8fde\u63a5\uff0c\u800c\u4e14\u8fd9\u4e2a\u5feb\u6377\u65b9\u5f0f\u5728\u4f17\u591a\u7c7bUnix\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u666e\u904d\u9002\u7528\u3002<\/p>\n

\u6709\u4e9b\u65b0\u7528\u6237\u53ef\u80fd\u8fd8\u4e0d\u592a\u6e05\u695a\uff0c\u82e5\u662f\u5728SSH\u8fde\u63a5\u4e0b\u8fd0\u884c\u7684\u7a0b\u5e8f\u4ecd\u5728\u540e\u53f0\u6301\u7eed\u8fd0\u884c\uff0c\u4e00\u65e6\u65ad\u5f00\u8fde\u63a5\uff0c\u53ef\u80fd\u4f1a\u5f15\u53d1\u4e00\u4e9b\u9ebb\u70e6\u3002\u4f8b\u5982\uff0c\u7a0b\u5e8f\u53ef\u80fd\u4f1a\u88ab\u610f\u5916\u7ec8\u6b62\u3002\u56e0\u6b64\uff0c\u5728\u65ad\u5f00\u8fde\u63a5\u524d\uff0c\u52a1\u5fc5\u8981\u786e\u8ba4\u540e\u53f0\u6ca1\u6709\u6b63\u5728\u8fd0\u884c\u7684\u5173\u952e\u7a0b\u5e8f\u3002<\/p>\n

\u65ad\u5f00\u7f51\u7edc\u8fde\u63a5<\/b><\/p>\n

\u82e5\u9700\u5207\u65ad\u7f51\u7edc\u8054\u7edc\uff0c\u9488\u5bf9\u7f51\u7edc\u63a5\u53e3\u5982eth0\u7b49\uff0c\u53ef\u901a\u8fc7\u201cifconfig\u201d\u6307\u4ee4\u5b9e\u73b0\u3002\u5177\u4f53\u64cd\u4f5c\u4e3a\uff0c\u8f93\u5165\u201cifconfig eth0 down\u201d\u5373\u53ef\u5173\u95edeth0\u7684\u8054\u7f51\u72b6\u6001\u3002\u4f46\u5f53\u524d\uff0c\u90e8\u5206Linux\u7248\u672c\u53ef\u80fd\u5df2\u5c06\u201cifconfig\u201d\u66ff\u6362\u4e3a\u201cip\u201d\u6307\u4ee4\uff0c\u4f7f\u7528\u201cip link set eth0 down\u201d\u540c\u6837\u80fd\u5b9e\u73b0\u65ad\u7f51\u76ee\u7684\u3002<\/p>\n

linux\u65ad\u5f00\u8fde\u63a5\u547d\u4ee4_linux\u65ad\u5f00\u8fde\u63a5\u547d\u4ee4_linux\u65ad\u5f00\u7528\u6237\u8fde\u63a5<\/p>\n

\u7f51\u7edc\u8fde\u63a5\u5076\u5c14\u4f1a\u51fa\u73b0\u95ee\u9898\uff0c\u5982\u65e0\u6cd5\u6b63\u786e\u83b7\u53d6IP\u5730\u5740\u6216\u7f51\u901f\u6781\u6162\u3002\u8fd9\u65f6\uff0c\u5c1d\u8bd5\u65ad\u5f00\u5e76\u91cd\u65b0\u8fde\u63a5\u7f51\u7edc\u63a5\u53e3\u53ef\u80fd\u662f\u4e2a\u529e\u6cd5\u3002\u7136\u800c\uff0c\u8fd9\u6837\u505a\u53ef\u80fd\u4f1a\u8ba9\u6b63\u5728\u4f7f\u7528\u7684\u7f51\u7edc\u5e94\u7528\u77ed\u6682\u4e2d\u65ad\uff0c\u4f8b\u5982\u4e0b\u8f7d\u4e2d\u7684\u6587\u4ef6\u53ef\u80fd\u4f1a\u6682\u505c\uff0c\u6216\u662f\u91cd\u65b0\u8fde\u63a5\u8def\u7531\u5668\u7b49\u3002<\/p>\n

\u65ad\u5f00\u6570\u636e\u5e93\u8fde\u63a5<\/b><\/p>\n

\u5728Linux\u7cfb\u7edf\u4e2d\u64cd\u4f5c\u6570\u636e\u5e93\u65f6\uff0c\u65ad\u5f00\u8fde\u63a5\u4e5f\u662f\u5e38\u89c1\u64cd\u4f5c\u3002\u4ee5MySQL\u4e3a\u4f8blinux \u5173\u673a\u547d\u4ee4\uff0c\u82e5\u5728\u547d\u4ee4\u884c\u754c\u9762\u767b\u5f55\u4e86MySQL\u6570\u636e\u5e93\uff0c\u8f93\u5165\u201cquit\u201d\u6216\u201cexit\u201d\u6307\u4ee4\u5373\u53ef\u9000\u51fa\u547d\u4ee4\u884c\u73af\u5883\uff0c\u4ece\u800c\u65ad\u5f00\u4e0e\u6570\u636e\u5e93\u7684\u8fde\u63a5\u3002\u6b64\u5916\uff0c\u4e0d\u5c11\u6570\u636e\u5e93\u5ba2\u6237\u7aef\u8f6f\u4ef6\u4e5f\u914d\u5907\u4e86\u65ad\u5f00\u8fde\u63a5\u7684\u4e13\u7528\u6309\u94ae\u6216\u64cd\u4f5c\u9009\u9879\u3002<\/p>\n

linux\u65ad\u5f00\u7528\u6237\u8fde\u63a5_linux\u65ad\u5f00\u8fde\u63a5\u547d\u4ee4_linux\u65ad\u5f00\u8fde\u63a5\u547d\u4ee4<\/p>\n

\u7a0b\u5e8f\u5458\u5728\u8fdb\u884c\u6570\u636e\u5e93\u5f00\u53d1\u65f6\uff0c\u82e5\u4e0d\u53ca\u65f6\u5173\u95ed\u6570\u636e\u5e93\u8fde\u63a5\uff0c\u53ef\u80fd\u4f1a\u9020\u6210\u8d44\u6e90\u6d6a\u8d39\u3002\u5c24\u5176\u5728\u5e76\u53d1\u91cf\u5927\u7684\u60c5\u51b5\u4e0b\uff0c\u8fc7\u591a\u7684\u65e0\u7528\u8fde\u63a5\u4f1a\u4f7f\u6570\u636e\u5e93\u670d\u52a1\u5668\u6027\u80fd\u53d7\u635f\uff0c\u8fdb\u800c\u5f71\u54cd\u5176\u4ed6\u7528\u6237\u5bf9\u6570\u636e\u5e93\u7684\u8bbf\u95ee\u3002<\/p>\n

\u65ad\u5f00\u865a\u62df\u4e13\u7528\u7f51\u7edc\u8fde\u63a5<\/b><\/p>\n

\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u82e5\u542f\u7528\u4e86VPN\uff0c\u786e\u4fdd\u6b63\u786e\u65ad\u5f00\u8fde\u63a5\u540c\u6837\u5173\u952e\u3002\u5404\u7c7bVPN\u5ba2\u6237\u7aef\u7684\u65ad\u8fde\u65b9\u6cd5\u5404\u5f02\u3002\u90e8\u5206VPN\u8f6f\u4ef6\u5728\u754c\u9762\u4e0a\u8bbe\u6709\u201c\u65ad\u5f00\u201d\u6309\u94ae\uff0c\u4e00\u952e\u64cd\u4f5c\u5373\u53ef\u5b9e\u73b0\u65ad\u8fde\u3002\u800c\u5bf9\u4e8e\u901a\u8fc7\u547d\u4ee4\u884c\u8bbe\u7f6e\u7684VPN\uff0c\u53ef\u80fd\u9700\u8fd0\u884c\u7279\u5b9a\u811a\u672c\u6216\u547d\u4ee4\u624d\u80fd\u5b9e\u73b0\u65ad\u5f00\u3002<\/p>\n

\u5728\u4e00\u4e9b\u5de5\u4f5c\u73af\u5883\u4e2d\uff0c\u4f7f\u7528VPN\u8fde\u63a5\u6765\u8bbf\u95ee\u516c\u53f8\u5185\u90e8\u8d44\u6e90\u6216\u5b89\u5168\u7f51\u7edc\u662f\u5e38\u89c1\u7684\u3002\u7136\u800c\uff0c\u5728\u4e0d\u4f7f\u7528\u65f6\u53ca\u65f6\u65ad\u5f00\u8fde\u63a5\uff0c\u4e0d\u4ec5\u80fd\u8282\u7ea6\u7f51\u7edc\u8d44\u6e90\uff0c\u8fd8\u80fd\u907f\u514d\u56e0VPN\u8fde\u63a5\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e\u800c\u88ab\u653b\u51fb\u3002\u4f8b\u5982\uff0c\u82e5VPN\u914d\u7f6e\u5b58\u5728\u5b89\u5168\u7f3a\u9677\uff0c\u6301\u7eed\u8fde\u63a5\u4fbf\u4f1a\u4f7f\u7cfb\u7edf\u6301\u7eed\u66b4\u9732\u5728\u98ce\u9669\u4e4b\u4e2d\u3002<\/p>\n

\u65ad\u5f00samba\u5171\u4eab\u8fde\u63a5<\/b><\/p>\n

\u5f53\u4f7f\u7528samba\u8fdb\u884c\u6587\u4ef6\u5171\u4eab\u65f6\uff0c\u82e5\u4e0d\u518d\u9700\u8981\u8bbf\u95ee\u5171\u4eab\u6587\u4ef6\u5939\uff0c\u53ef\u9009\u62e9\u65ad\u5f00\u8fde\u63a5\u3002\u901a\u5e38\uff0c\u5728\u6587\u4ef6\u7ba1\u7406\u5668\u4e2d\u5378\u8f7d\u6216\u201c\u5f39\u51fa\u201d\u5171\u4eab\u6587\u4ef6\u5939\u5373\u53ef\u5b8c\u6210\u3002\u5728\u67d0\u4e9bLinux\u547d\u4ee4\u884c\u73af\u5883\u4e2d\uff0c\u8fd8\u6709\u7279\u5b9a\u7684\u547d\u4ee4\u53ef\u4f9b\u4f7f\u7528\uff0c\u4f46\u4e0d\u540cLinux\u7248\u672c\u5bf9samba\u5171\u4eab\u8fde\u63a5\u7684\u547d\u4ee4\u53ef\u80fd\u5b58\u5728\u7ec6\u5fae\u5dee\u522b\u3002<\/p>\n

\u5f53\u5171\u4eab\u8fde\u63a5\u4ecd\u5728\u4f7f\u7528\u72b6\u6001\uff0c\u82e5\u7a81\u7136\u91cd\u542f\u8d1f\u8d23samba\u5171\u4eab\u7684\u670d\u52a1\u5668\uff0c\u53ef\u80fd\u4f1a\u5f15\u53d1\u4e00\u4e9b\u95ee\u9898\u3002\u6bd4\u5982\uff0c\u67d0\u4e9b\u6587\u4ef6\u53ef\u80fd\u4f1a\u663e\u793a\u635f\u574f\u6216\u65e0\u6cd5\u6253\u5f00\u3002\u56e0\u6b64\uff0c\u5728\u4e0d\u4f7f\u7528\u65f6\u53ca\u65f6\u65ad\u5f00samba\u5171\u4eab\u8fde\u63a5\uff0c\u662f\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/p>\n

\u65ad\u5f00\u84dd\u7259\u8fde\u63a5<\/b><\/p>\n

linux\u65ad\u5f00\u8fde\u63a5\u547d\u4ee4_linux\u65ad\u5f00\u7528\u6237\u8fde\u63a5_linux\u65ad\u5f00\u8fde\u63a5\u547d\u4ee4<\/p>\n

\u8fde\u63a5Linux\u7cfb\u7edf\u4e2d\u7684\u84dd\u7259\u8bbe\u5907\u540e\uff0c\u82e5\u9700\u89e3\u9664\u8fde\u63a5\uff0c\u56fe\u5f62\u754c\u9762\u7528\u6237\u53ef\u5728\u84dd\u7259\u8bbe\u7f6e\u4e2d\u67e5\u627e\u76ee\u6807\u8bbe\u5907\uff0c\u968f\u540e\u6267\u884c\u65ad\u5f00\u64cd\u4f5c\u3002\u800c\u5bf9\u4e8e\u547d\u4ee4\u884c\u7528\u6237\uff0c\u5219\u53ef\u901a\u8fc7\u201cbluetoothctl\u201d\u6307\u4ee4\u7ba1\u7406\u84dd\u7259\u8fde\u63a5\uff0c\u6bd4\u5982\u8f93\u5165\u201cdisconnect [\u8bbe\u5907MAC\u5730\u5740]\u201d\u6765\u5207\u65ad\u6307\u5b9a\u8bbe\u5907\u7684\u84dd\u7259\u8fde\u63a5\u3002<\/p>\n

\u84dd\u7259\u8033\u673a\u7b49\u7c7b\u4f3c\u8bbe\u5907\u82e5\u957f\u65f6\u95f4\u4fdd\u6301\u8fde\u63a5\u72b6\u6001linux\u65ad\u5f00\u8fde\u63a5\u547d\u4ee4<\/strong>\u7ea2\u5e3d\u5b50linux\uff0c\u4f1a\u52a0\u901f\u7535\u91cf\u8017\u5c3d\u3002\u540c\u65f6\uff0c\u5728\u5c1d\u8bd5\u91cd\u65b0\u8fde\u63a5\u5176\u4ed6\u8bbe\u5907\u6216\u5bf9\u84dd\u7259\u8bbe\u5907\u8fdb\u884c\u5176\u4ed6\u64cd\u4f5c\u65f6\uff0c\u53ef\u80fd\u4f1a\u906d\u9047\u8fde\u63a5\u6545\u969c\u6216\u914d\u5bf9\u5f02\u5e38\u7b49\u95ee\u9898\u3002<\/p>\n

\u5728\u4f7f\u7528Linux\u7cfb\u7edf\u65f6\uff0c\u4f60\u662f\u5426\u5e38\u4f1a\u9047\u5230\u4e0d\u77e5\u5982\u4f55\u6b63\u786e\u65ad\u5f00\u8fde\u63a5\u7684\u56f0\u6270\uff1f\u82e5\u6709\u66f4\u591a\u60f3\u6cd5\u6216\u7ecf\u9a8c\uff0c\u4e0d\u59a8\u5728\u8bc4\u8bba\u533a\u5206\u4eab\u3002\u82e5\u89c9\u5f97\u672c\u6587\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\uff0c\u4e0d\u59a8\u70b9\u8d5e\u6216\u8f6c\u53d1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728Linux\u73af\u5883\u4e0b\uff0c\u65ad\u5f00\u7f51\u7edc\u8fde\u63a5\u662f\u7ecf\u5e38\u9700\u8981\u6267\u884c\u7684\u52a8\u4f5c\uff0c\u8fd9\u5305\u62ec\u5728\u591a\u79cd\u60c5\u5883\u4e2d\u505c\u6b62\u7f51\u7edc\u8fde\u63a5\u6216\u7ed3\u675f\u76f8\u5173\u4f1a\u8bdd\u7b49\u3002\u5728\u4e00\u4e9b\u5de5\u4f5c\u73af\u5883\u4e2d\uff0c\u4f7f\u7528VPN\u8fde\u63a5\u6765\u8bbf\u95ee\u516c\u53f8\u5185\u90e8\u8d44\u6e90\u6216\u5b89\u5168\u7f51\u7edc\u662f\u5e38\u89c1\u7684\u3002\u5728\u4f7f\u7528Linux\u7cfb\u7edf\u65f6\uff0c\u4f60\u662f\u5426\u5e38\u4f1a\u9047\u5230\u4e0d\u77e5\u5982\u4f55\u6b63\u786e\u65ad\u5f00\u8fde\u63a5\u7684\u56f0\u6270\uff1f<\/p>\n","protected":false},"author":1,"featured_media":295047,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[5003,3324,5000,5001,5002],"class_list":["post-295046","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-lxtcz","tag-swjgx","tag-slj","tag-htcx","tag-wlyyzd"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/295046","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=295046"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/295046\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/295047"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=295046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=295046"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=295046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}