{"id":60,"date":"2019-02-11T19:02:21","date_gmt":"2019-02-11T11:02:21","guid":{"rendered":""},"modified":"2020-10-08T13:37:52","modified_gmt":"2020-10-08T05:37:52","slug":"%e5%88%86%e4%ba%ab%ef%bc%9a%e3%80%8alinux%e5%b0%b1%e8%af%a5%e8%bf%99%e4%b9%88%e5%ad%a6-%e3%80%8b%e7%ac%ac12%e7%ab%a0-%e4%bd%bf%e7%94%a8samba%e6%88%96nfs%e5%ae%9e%e7%8e%b0%e6%96%87%e4%bb%b6%e5%85%b1","status":"publish","type":"post","link":"https:\/\/www.fatesky.com\/?p=60","title":{"rendered":"\u5206\u4eab\uff1a\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66 \u300b\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab"},"content":{"rendered":"<h2 style=\"white-space: normal; margin: 8px 0px; padding: 2px 0px; font-size: 1.3em; border-left-width: 4px; border-left-style: solid; border-left-color: rgb(252, 46, 46); text-indent: 16px; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; line-height: 25px; background-color: rgb(255, 255, 255);\">\u63a8\u8350\u7b80\u8ff0\uff1a<\/h2>\n<p style=\"margin-top: 0px; margin-bottom: 10px; white-space: normal; box-sizing: border-box; line-height: 23px; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; text-indent: 2em; background-color: rgb(255, 255, 255);\"><span style=\"text-indent: 1em;\">\u8bf4\u5230Linux\u7cfb\u7edf\u4ece01\u5e74\u5f00\u59cb\u6211\u5c31\u4e00\u76f4\u5728\u63a5\u89e6\uff0c\u76f4\u523003\u5e74\u8fd8\u662f04\u5e74\u7684\u65f6\u5019\u5728\u60e0\u5dde\u65b0\u534e\u4e66\u5e97\u4e70\u4e86\u4e00\u672c\u300a<\/span><span style=\"font-size: 13.3333px; text-indent: 13.3333px;\">\u9e1f\u54e5\u7684\u79c1\u623f\u83dc<\/span><span style=\"text-indent: 1em;\">\u300b\uff0c\u81ea\u6b64\u6211\u7684LINUX\u8d77\u6b65\u624d\u7b97\u662f\u771f\u6b63\u7684\u5f00\u59cb\uff0c\u4eca\u5929\u5ffd\u7136\u5728\u7f51\u4e0a\u53d1\u73b0\u4e86\u4e00\u672c\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66\u300b<\/span><span style=\"font-size: 13.3333px; text-indent: 13.3333px;\">\u5fcd\u4e0d\u4f4f\u770b\u4e86\u4e8c\u7ae0\uff0c<\/span><span style=\"text-indent: 1em;\">\u89c9\u5f97\u8fd9\u672c\u4e66\u5728\u73b0\u65f6\u7684Linux\u73af\u5883\u4e0b\u66f4\u9002\u5408\u65b0\u624b\u5165\u95e8\uff0c\u4e0d\u7531\u5f3a\u70c8\u63a8\u8350\u4e00\u4e0b\uff0c\u5e76\u4e14\u81ea\u5df1\u4e5f\u51b3\u5b9a\u4e09\u6708\u4efd\u91cc\u6bcf\u5929\u5fc5\u770b\u4e00\u7ae0\u8282\uff0c\u5728\u770b\u7684\u540c\u65f6\u4e5f\u8f6c\u8f7d\u5728\u535a\u5ba2\u91cc\u3002<\/span><span style=\"text-indent: 1em; color: #FF0000;\">\u6e29\u6545\u77e5\u65b0\uff0c\u5b66\u4e60\u8fd9\u4e2a\u4e8b\u60c5\u6c38\u8fdc\u5e94\u8be5\u5728\u8def\u4e0a\uff01<\/span><\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; white-space: normal; box-sizing: border-box; line-height: 23px; text-indent: 1em; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255);\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/ss2.bdstatic.com\/70cFvnSh_Q1YnxGkpoWK1HF6hhy\/it\/u=246279818,2032250538&#038;fm=26&#038;gp=0.jpg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/ss2.bdstatic.com\/70cFvnSh_Q1YnxGkpoWK1HF6hhy\/it\/u=246279818,2032250538&#038;fm=26&#038;gp=0.jpg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\"\/><\/div><\/p>\n<h2 style=\"white-space: normal; margin: 8px 0px; padding: 2px 0px; font-size: 1.3em; border-left-width: 4px; border-left-style: solid; border-left-color: rgb(252, 46, 46); text-indent: 16px; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; line-height: 25px; background-color: rgb(255, 255, 255);\">\u672c\u4e66\u76f8\u6bd4\u300a\u9e1f\u54e5\u7684linux\u79c1\u623f\u83dc\u300b\u6709\u4ec0\u4e48\u4f18\u52bf\uff1f<\/h2>\n<p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; padding: 5px 0px 14px; text-indent: 2em; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; font-size: 15px; line-height: 25px; background-color: rgb(255, 255, 255);\">\u5766\u767d\u6765\u8bb2\uff0c\u9e1f\u54e5\u7684linux\u79c1\u623f\u83dc\u4e5f\u662f\u6211\u7684linux\u5165\u95e8\u4e66\u7c4d\uff0c\u6211\u7edd\u5bf9\u7684\u8ba4\u53ef\u9e1f\u54e5\u4e3a\u8fd9\u672c\u4e66\u7684\u4ed8\u51fa\uff0c\u5176\u4e66\u53d1\u884c\u91cf\u5de8\u5927\uff0c\u966a\u4f34\u4e86\u4e00\u4ee3\u7684\u8fd0\u7ef4\u4eba\u5458\uff0c\u751a\u81f3\u88ab\u5c01\u4e3a\u201clinux\u5165\u95e8\u795e\u4e66\u201d\uff0c\u6e10\u6e10\u7684\u4ece\u4e00\u672clinux\u6280\u672f\u4e66\u7c4d\uff0c\u4e0a\u5347\u81f3\u7cbe\u795e\u7684\u9ad8\u5ea6\uff0c\u4e0d\u5141\u8bb8\u518d\u6709\u4e00\u70b9\u53cd\u9a73\u4e4b\u58f0\uff0c\u4f46\u601d\u7d22\u518d\u4e09\uff0c\u8fd8\u662f\u51b3\u5b9a\u9610\u660e\u6211\u7684\u89c2\u70b9\uff0c\u4e0e\u521d\u5b66\u8005\u5206\u4eab\u4e0b\u8fd9\u4e0d\u540c\u7684\u770b\u6cd5\uff1a<br style=\"margin: 0px; padding: 0px;\"\/>\u9996\u5148\u9e1f\u54e5\u5728\u5f00\u7bc7\u5373\u63d0\u5230\u4e86\u5199\u4e66\u7684\u7f18\u7531\u662f\u56e0\u4e3a\u8bb0\u6027\u4e0d\u597d\uff0c\u6240\u4ee5\u60f3\u5199\u51fa\u4e00\u672c\u80fd\u591f\u653e\u5728\u6848\u5934\u7684\u5907\u5fd8\u5f55\uff0c\u5bf9\u4e66\u7c4d\u7684\u5185\u5bb9\u81ea\u7136\u5c31\u6ca1\u6709\u4e86\u592a\u591a\u7684\u7b5b\u9009\uff0c\u53cd\u800c\u4e00\u518d\u7684\u6269\u5927\u77e5\u8bc6\u8303\u56f4\uff0c\u6700\u7ec8\u5199\u51fa\u7684\u4e24\u672c\u4e66\u539a\u5ea6\u8db3\u8db3\u8d85\u8fc7\u5341\u5398\u7c73\uff0c\u6562\u95ee\u8fd9\u79cd\u201c\u5907\u5fd8\u5f55\u5f0f\u7684\u5165\u95e8\u4e66\u7c4d\u201d\u771f\u7684\u9002\u5408\u65b0\u624b\u6765\u8bfb\uff1f\u6211\u8ba4\u4e3a\u4e66\u7c4d\u65e2\u7136\u53d1\u884c\u4e86\uff0c\u5c31\u4e0d\u80fd\u518d\u662f\u4e2a\u5907\u5fd8\u5f55\uff0c\u800c\u5e94\u8be5\u662f\u901a\u8fc7\u4f5c\u8005\u7684\u7ecf\u9a8c\u5c06\u77e5\u8bc6\u4e0d\u65ad\u63d0\u70bc\uff0c\u771f\u6b63\u8ba9\u6367\u8d77\u4e66\u7684\u8bfb\u8005\u770b\u5b8c\u6709\u6536\u83b7\u624d\u53ef\u4ee5\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; padding: 5px 0px 14px; text-indent: 2em; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; font-size: 15px; line-height: 25px; background-color: rgb(255, 255, 255);\">\u5176\u6b21\u662f\u9e1f\u54e5\u7684linux\u79c1\u623f\u83dc\u7684\u4e66\u7c4d\u66f4\u65b0\u5468\u671f\u8fc7\u957f\uff0c2014\u5e74\u672b\u65f6RHEL7\u4e0eCentos7\u5c31\u5df2\u7ecf\u516c\u5e03\uff0c\u7ecf\u8fc7\u4e86\u4e00\u5e74\u591a\u7684\u8fed\u4ee3\uff0c\u5df2\u7ecf\u5f88\u7a33\u5b9a\u5e76\u88ab\u5e7f\u6cdb\u4f7f\u7528\u4e86\uff0c\u5982\u679c\u5185\u5bb9\u6ca1\u6709\u5b9a\u671f\u66f4\u65b0\uff0c\u4f7f\u5f97\u6280\u672f\u8131\u79bb\u4e86\u751f\u4ea7\u73af\u5883\uff0c\u8fd8\u600e\u4e48\u79f0\u4f5c\u662f\u771f\u6b63\u5b9e\u7528\u7684linux\u6280\u672f\uff1f\u800c\u4e14\u9e1f\u54e5\u7684linux\u79c1\u623f\u83dc\u7f3a\u5c11\u4e86\u5bf9\u65b0\u624b\u975e\u5e38\u91cd\u8981\u7684\u7b54\u7591\u4e0e\u5e2e\u52a9\uff0c\u5982\u679c\u9047\u5230\u4e86\u5b9e\u9a8c\u51fa\u9519\uff0c\u6216\u8005\u6709\u77e5\u8bc6\u70b9\u609f\u4e0d\u900f\uff0c\u8fd9\u4e9b\u90fd\u53ef\u80fd\u8ba9\u521d\u5b66\u8005\u4e27\u5931\u6389\u5bf9linux\u6280\u672f\u7684\u5174\u8da3\u3002<\/p>\n<h2 style=\"white-space: normal; margin: 8px 0px; padding: 2px 0px; font-size: 1.3em; border-left-width: 4px; border-left-style: solid; border-left-color: rgb(252, 46, 46); text-indent: 16px; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; line-height: 25px; background-color: rgb(255, 255, 255);\">RHEL\u4e0eCentos\u7cfb\u7edf\u533a\u522b\uff1a<\/h2>\n<p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; padding: 5px 0px 14px; text-indent: 2em; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; font-size: 15px; line-height: 25px; background-color: rgb(255, 255, 255);\">\u73b0\u5728\u56fd\u5185\u7684\u5f88\u591a\u4e66\u7c4d\u662f\u4ee5Centos\u7cfb\u7edf\u4e3a\u5e73\u53f0\u7f16\u5199\u7684\uff0c\u5f53\u7136\u4f5c\u8005\u5927\u591a\u4f1a\u5217\u51fa\u6765\u8bf8\u591a\u7684\u7406\u7531\uff0c\u4f46\u5f88\u591a\u90fd\u662f\u4ee5\u8bb9\u4f20\u8bb9\u7684\u6b6a\u66f2\u9053\u7406\uff0c\u6839\u672c\u6ca1\u6709\u5256\u6790\u5230RedHat\u516c\u53f8\u7684\u8fd0\u4f5c\u65b9\u6cd5\u548cCentos\u7cfb\u7edf\u7684\u672c\u8d28\uff0cCentos\u7cfb\u7edf\u662f\u901a\u8fc7\u5c06RHEL\u7cfb\u7edf\u91ca\u653e\u51fa\u7684\u6e90\u4ee3\u7801\u4e8c\u6b21\u7f16\u8bd1\u7684Linux\u7cfb\u7edf\u4e4b\u4e00\uff0c\u547d\u4ee4\u64cd\u4f5c\u548c\u670d\u52a1\u914d\u7f6e\u65b9\u6cd5\u81ea\u7136\u90fd\u662f\u5b8c\u5168\u76f8\u540c\uff0c\u53bb\u6389\u4e86\u5f88\u591a\u7ea2\u5e3d\u6536\u8d39\u7684\u670d\u52a1\u5957\u4ef6\u529f\u80fd\uff0c\u5e76\u4e14\u4e0d\u63d0\u4f9b\u4efb\u4f55\u5f62\u5f0f\u7684\u6280\u672f\u652f\u6301\uff0c\u90a3\u4e48\u9009\u62e9\u7684\u7406\u7531\u53ea\u6709\u4e00\u4e2a\u2014\u2014\u514d\u8d39\uff01\uff0c\u5f53\u201c\u9ad8\u624b\u4eec\u201d\u5927\u4e3e\u514d\u8d39\u3001\u5f00\u6e90\u3001\u6b63\u4e49\u7684\u65d7\u5e1c\u6765\u5ba3\u626cCentos\u7cfb\u7edf\u7684\u65f6\u5019\uff0c\u8bf8\u4e0d\u77e5Centos\u7cfb\u7edf\u5176\u5b9e\u65e9\u57282014\u5e74\u521d\u5c31\u5df2\u7ecf\u88ab\u7ea2\u5e3d\u516c\u53f8\u6536\u8d2d\uff0c\u53ea\u662f\u6218\u7565\u6027\u7684\u514d\u8d39\u800c\u5df2\uff0c\u800c\u6839\u636eGnu GPL\u8bb8\u53ef\u534f\u8bae\uff0c\u6211\u4eec\u540c\u6837\u4e5f\u53ef\u4ee5\u514d\u8d39\u4f7f\u7528RHEL\u7cfb\u7edf\uff0c\u751a\u81f3\u662f\u4fee\u6539\u4ee3\u7801\u540e\u521b\u5efa\u51fa\u884d\u751f\u4ea7\u54c1\uff0c\u81ea\u7531\u7a0b\u5ea6\u662f\u6ca1\u6709\u4efb\u4f55\u7684\u5dee\u5f02\uff0c\u66f4\u65e0\u5173\u9053\u5fb7\u95ee\u9898\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 0px; white-space: normal; padding: 5px 0px 14px; text-indent: 2em; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; font-size: 15px; line-height: 25px; background-color: rgb(255, 255, 255);\">\u60a8\u6b63\u5728\u9605\u8bfb\u7684\u8fd9\u672c\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66\u300b\u4fbf\u662f\u57fa\u4e8e\u6700\u65b0\u7684RHEL7\u7cfb\u7edf\u7f16\u5199\u7684\uff0c\u77e5\u8bc6\u53ca\u5b9e\u9a8c\u5b8c\u5168\u7684\u76f8\u901a\u4e8eCentos,fedora\u7b49\u7cfb\u7edf\uff0c\u56e0\u6b64\u5f53\u60a8\u5b66\u4e60\u5b8c\u672c\u5957\u8bfe\u7a0b\u540e\uff0c\u5373\u4fbf\u516c\u53f8\u5185\u7684\u751f\u4ea7\u73af\u5883\u662fCentos\u7cfb\u7edf\u4e5f\u4e00\u6837\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\uff0c\u5e76\u4e14\u672c\u4e66\u914d\u5957\u8d44\u6599\u4e2d\u7684iso\u955c\u50cf\u4e0e\u7ea2\u5e3dRHCSA\u53caRHCE\u8003\u8bd5\u7cfb\u7edf\u4e00\u81f4\uff0c\u5c24\u5176\u9002\u5408\u51c6\u5907\u8003\u53d6\u7ea2\u5e3d\u8ba4\u8bc1\u7684\u5b66\u5458\u3002<\/p>\n<p style=\"margin-top: 0px; margin-bottom: 10px; text-indent: 0em; white-space: normal; box-sizing: border-box; line-height: 23px; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; background-color: rgb(255, 255, 255);\"><span style=\"font-size: 18px; font-family: \u5fae\u8f6f\u96c5\u9ed1, &quot;Microsoft YaHei&quot;;\"><\/span><\/p>\n<h2 style=\"white-space: normal; margin: 8px 0px; padding: 2px 0px; font-size: 1.3em; border-left-width: 4px; border-left-style: solid; border-left-color: rgb(252, 46, 46); text-indent: 16px; color: rgb(74, 74, 74); font-family: &quot;Microsoft YaHei&quot;; line-height: 25px; background-color: rgb(255, 255, 255);\"><strong style=\"color: rgb(61, 68, 80); font-family: \u5fae\u8f6f\u96c5\u9ed1, &quot;Microsoft YaHei&quot;; font-size: 18px; line-height: 23px;\">\u6b63\u6587\u5f00\u59cb\uff1a<\/strong><\/h2>\n<p><strong style=\"color: rgb(61, 68, 80); font-family: \u5fae\u8f6f\u96c5\u9ed1, &quot;Microsoft YaHei&quot;; font-size: 18px; line-height: 23px;\"><br \/><\/strong><\/p>\n<p>\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab<\/p>\n<p><span style=\"color: #92D050;\">12.1 SAMBA\u6587\u4ef6\u5171\u4eab\u670d\u52a1<\/span><\/p>\n<p><span style=\"color: #92D050;\">12.1.1 \u914d\u7f6e\u5171\u4eab\u8d44\u6e90<\/span><\/p>\n<p><span style=\"color: #92D050;\">12.1.2 Windows\u6302\u8f7d\u5171\u4eab<\/span><\/p>\n<p><span style=\"color: #92D050;\">12.1.2 Linux\u6302\u8f7d\u5171\u4eab<\/span><\/p>\n<p><span style=\"color: #92D050;\">12.2 NFS\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf<\/span><\/p>\n<p><span style=\"color: #92D050;\">12.3 AutoFs\u81ea\u52a8\u6302\u8f7d\u670d\u52a1<\/span><\/p>\n<p><span style=\"color: #92D050;\"><br \/><\/span><\/p>\n<p><span style=\"color: #92D050;\"><\/span><\/p>\n<h5 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 100; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 14px; color: rgb(61, 68, 80); white-space: normal; background-color: rgb(255, 255, 255);\"><span id=\"121_SAMBA\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">12.1 SAMBA\u6587\u4ef6\u5171\u4eab\u670d\u52a1<\/strong><\/span><\/span><\/h5>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u4e0a\u4e00\u7ae0\u8bb2\u89e3\u7684FTP\u6587\u4ef6\u4f20\u8f93\u670d\u52a1\u786e\u5b9e\u53ef\u4ee5\u8ba9\u4e3b\u673a\u4e4b\u95f4\u7684\u6587\u4ef6\u4f20\u8f93\u53d8\u5f97\u7b80\u5355\u65b9\u4fbf\uff0c\u4f46\u662fFTP\u534f\u8bae\u7684\u672c\u8d28\u662f\u4f20\u8f93\u6587\u4ef6\uff0c\u800c\u975e\u5171\u4eab\u6587\u4ef6\uff0c\u56e0\u6b64\u8981\u60f3\u901a\u8fc7\u5ba2\u6237\u7aef\u76f4\u63a5\u5728\u670d\u52a1\u5668\u4e0a\u4fee\u6539\u6587\u4ef6\u5185\u5bb9\u8fd8\u662f\u4e00\u4ef6\u6bd4\u8f83\u9ebb\u70e6\u7684\u4e8b\u60c5\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">1987\u5e74\uff0c\u5fae\u8f6f\u516c\u53f8\u548c\u82f1\u7279\u5c14\u516c\u53f8\u5171\u540c\u5236\u5b9a\u4e86SMB\uff08Server Messages Block\uff0c\u670d\u52a1\u5668\u6d88\u606f\u5757\uff09\u534f\u8bae\uff0c\u65e8\u5728\u89e3\u51b3\u5c40\u57df\u7f51\u5185\u7684\u6587\u4ef6\u6216\u6253\u5370\u673a\u7b49\u8d44\u6e90\u7684\u5171\u4eab\u95ee\u9898\uff0c\u8fd9\u4e5f\u4f7f\u5f97\u5728\u591a\u4e2a\u4e3b\u673a\u4e4b\u95f4\u5171\u4eab\u6587\u4ef6\u53d8\u5f97\u8d8a\u6765\u8d8a\u7b80\u5355\u3002\u5230\u4e861991\u5e74\uff0c\u5f53\u65f6\u8fd8\u5728\u8bfb\u5927\u5b66\u7684Tridgwell\u4e3a\u4e86\u89e3\u51b3Linux\u7cfb\u7edf\u4e0eWindows\u7cfb\u7edf\u4e4b\u95f4\u7684\u6587\u4ef6\u5171\u4eab\u95ee\u9898\uff0c\u57fa\u4e8eSMB\u534f\u8bae\u5f00\u53d1\u51fa\u4e86SMBServer\u670d\u52a1\u7a0b\u5e8f\u3002\u8fd9\u662f\u4e00\u6b3e\u5f00\u6e90\u7684\u6587\u4ef6\u5171\u4eab\u8f6f\u4ef6\uff0c\u7ecf\u8fc7\u7b80\u5355\u914d\u7f6e\u5c31\u80fd\u591f\u5b9e\u73b0Linux\u7cfb\u7edf\u4e0eWindows\u7cfb\u7edf\u4e4b\u95f4\u7684\u6587\u4ef6\u5171\u4eab\u5de5\u4f5c\u3002\u5f53\u65f6\uff0cTridgwell\u60f3\u628a\u8fd9\u6b3e\u8f6f\u4ef6\u7684\u540d\u5b57SMBServer\u6ce8\u518c\u6210\u4e3a\u5546\u6807\uff0c\u4f46\u5374\u88ab\u5546\u6807\u5c40\u4ee5SMB\u662f\u6ca1\u6709\u610f\u4e49\u7684\u5b57\u7b26\u800c\u62d2\u7edd\u4e86\u7533\u8bf7\u3002\u540e\u6765Tridgwell\u4e0d\u65ad\u7ffb\u770b\u8bcd\u5178\uff0c\u7a81\u7136\u770b\u5230\u4e00\u4e2a\u62c9\u4e01\u821e\u8e48\u7684\u540d\u5b57\u2014Samba\uff0c\u800c\u4e14\u8fd9\u4e2a\u70ed\u60c5\u6d0b\u6ea2\u7684\u821e\u8e48\u540d\u5b57\u4e2d\u53c8\u6070\u597d\u5305\u542b\u4e86\u201cSMB\u201d\uff0c\u4e8e\u662fSamba\u670d\u52a1\u7a0b\u5e8f\u7684\u540d\u5b57\u7531\u6b64\u8bde\u751f\uff08\u89c1\u56fe12-1\uff09\u3002Samba\u670d\u52a1\u7a0b\u5e8f\u73b0\u5728\u5df2\u7ecf\u6210\u4e3a\u5728Linux\u7cfb\u7edf\u4e0eWindows\u7cfb\u7edf\u4e4b\u95f4\u5171\u4eab\u6587\u4ef6\u7684\u6700\u4f73\u9009\u62e9\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.linuxprobe.com\/wp-content\/uploads\/2015\/06\/samba%E6%9C%8D%E5%8A%A1logo.jpg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1344 aligncenter\" data-original=\"https:\/\/www.linuxprobe.com\/wp-content\/uploads\/2015\/06\/samba%E6%9C%8D%E5%8A%A1logo.jpg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\" width=\"537\" height=\"259\"  sizes=\"auto, (max-width: 537px) 100vw, 537px\" title=\"\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\" style=\"box-sizing: border-box; max-width: 100%; border-radius: 4px; vertical-align: middle; height: auto; margin: 10px auto; display: block;\"\/><\/div><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: center; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u56fe12-1&nbsp; Samba\u670d\u52a1\u7a0b\u5e8f\u7684logo<\/p>\n<div class=\"para\" style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u65b9\u6cd5\u4e0e\u4e4b\u524d\u8bb2\u89e3\u7684\u5f88\u591a\u670d\u52a1\u7684\u914d\u7f6e\u65b9\u6cd5\u7c7b\u4f3c\uff0c\u9996\u5148\u9700\u8981\u5148\u901a\u8fc7Yum\u8f6f\u4ef6\u4ed3\u5e93\u6765\u5b89\u88c5Samba\u670d\u52a1\u7a0b\u5e8f\uff08Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u540d\u5b57\u4e5f\u6070\u5de7\u662f\u8f6f\u4ef6\u5305\u7684\u540d\u5b57\uff09\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~&nbsp;]#&nbsp;yum&nbsp;install&nbsp;samba\r\nLoaded&nbsp;plugins:&nbsp;langpacks,&nbsp;product-id,&nbsp;subscription-manager\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\r\nInstalling:\r\n&nbsp;samba&nbsp;x86_64&nbsp;4.1.1-31.el7&nbsp;rhel&nbsp;527&nbsp;k\r\nTransaction&nbsp;Summary\r\n================================================================================\r\nInstall&nbsp;1&nbsp;Package\r\nTotal&nbsp;download&nbsp;size:&nbsp;527&nbsp;k\r\nInstalled&nbsp;size:&nbsp;1.5&nbsp;M\r\nIs&nbsp;this&nbsp;ok&nbsp;[y\/d\/N]:&nbsp;yDownloading&nbsp;packages:\r\nRunning&nbsp;transaction&nbsp;check\r\nRunning&nbsp;transaction&nbsp;test\r\nTransaction&nbsp;test&nbsp;succeeded\r\nRunning&nbsp;transaction\r\n&nbsp;Installing&nbsp;:&nbsp;samba-4.1.1-31.el7.x86_64&nbsp;1\/1&nbsp;\r\n&nbsp;Verifying&nbsp;:&nbsp;samba-4.1.1-31.el7.x86_64&nbsp;1\/1&nbsp;\r\nInstalled:\r\n&nbsp;samba.x86_64&nbsp;0:4.1.1-31.el7&nbsp;\r\nComplete!<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u5b89\u88c5\u5b8c\u6bd5\u540e\u6253\u5f00Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\uff0c\u53d1\u73b0\u7adf\u7136\u6709320\u884c\u4e4b\u591a\uff01\u6709\u6ca1\u6709\u88ab\u5413\u5230\uff1f\u4f46\u4ed4\u7ec6\u4e00\u770b\u5c31\u4f1a\u53d1\u73b0\uff0c\u5176\u5b9e\u5927\u591a\u6570\u90fd\u662f\u4ee5\u4e95\u53f7\uff08#\uff09\u5f00\u5934\u7684\u6ce8\u91ca\u4fe1\u606f\u884c\u3002\u6709<a href=\"https:\/\/www.linuxprobe.com\/\" title=\"\u5218\u9044\" target=\"_blank\" style=\"box-sizing: border-box; color: rgb(210, 50, 45); text-decoration: none;\" rel=\"noopener noreferrer\">\u5218\u9044<\/a>\u8001\u5e08\u5728\uff0c\u80af\u5b9a\u662f\u4e0d\u4f1a\u8ba9\u5927\u5bb6\u53bb\u201c\u6b7b\u5543\u201d\u8fd9\u4e9b\u5185\u5bb9\u7684\u3002<\/p>\n<\/div>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;cat&nbsp;\/etc\/samba\/smb.conf&nbsp;\r\n#&nbsp;This&nbsp;is&nbsp;the&nbsp;main&nbsp;Samba&nbsp;configuration&nbsp;file.&nbsp;For&nbsp;detailed&nbsp;information&nbsp;about&nbsp;the\r\n#&nbsp;options&nbsp;listed&nbsp;here,&nbsp;refer&nbsp;to&nbsp;the&nbsp;smb.conf(5)&nbsp;manual&nbsp;page.&nbsp;Samba&nbsp;has&nbsp;a&nbsp;huge\r\n#&nbsp;number&nbsp;of&nbsp;configurable&nbsp;options,&nbsp;most&nbsp;of&nbsp;which&nbsp;are&nbsp;not&nbsp;shown&nbsp;in&nbsp;this&nbsp;example.\r\n#\r\n#&nbsp;The&nbsp;Official&nbsp;Samba&nbsp;3.2.x&nbsp;HOWTO&nbsp;and&nbsp;Reference&nbsp;Guide&nbsp;contains&nbsp;step-by-step\r\n#&nbsp;guides&nbsp;for&nbsp;installing,&nbsp;configuring,&nbsp;and&nbsp;using&nbsp;Samba:\r\n#&nbsp;http:\/\/www.samba.org\/samba\/docs\/Samba-HOWTO-Collection.pdf\r\n#\r\n#&nbsp;The&nbsp;Samba-3&nbsp;by&nbsp;Example&nbsp;guide&nbsp;has&nbsp;working&nbsp;examples&nbsp;for&nbsp;smb.conf.&nbsp;This&nbsp;guide&nbsp;is\r\n#&nbsp;generated&nbsp;daily:&nbsp;http:\/\/www.samba.org\/samba\/docs\/Samba-Guide.pdf\r\n#\r\n#&nbsp;In&nbsp;this&nbsp;file,&nbsp;lines&nbsp;starting&nbsp;with&nbsp;a&nbsp;semicolon&nbsp;(;)&nbsp;or&nbsp;a&nbsp;hash&nbsp;(#)&nbsp;are\r\n#&nbsp;comments&nbsp;and&nbsp;are&nbsp;ignored.&nbsp;This&nbsp;file&nbsp;uses&nbsp;hashes&nbsp;to&nbsp;denote&nbsp;commentary&nbsp;and\r\n#&nbsp;semicolons&nbsp;for&nbsp;parts&nbsp;of&nbsp;the&nbsp;file&nbsp;you&nbsp;may&nbsp;wish&nbsp;to&nbsp;configure.\r\n#\r\n#&nbsp;Note:&nbsp;Run&nbsp;the&nbsp;&quot;testparm&quot;&nbsp;command&nbsp;after&nbsp;modifying&nbsp;this&nbsp;file&nbsp;to&nbsp;check&nbsp;for&nbsp;basic\r\n#&nbsp;syntax&nbsp;errors.\r\n#\r\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u7531\u4e8e\u5728Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u6ce8\u91ca\u4fe1\u606f\u884c\u5b9e\u5728\u592a\u591a\uff0c\u4e0d\u4fbf\u4e8e\u5206\u6790\u91cc\u9762\u7684\u91cd\u8981\u53c2\u6570\uff0c\u56e0\u6b64\u5148\u628a\u4e3b\u914d\u7f6e\u6587\u4ef6\u6539\u4e2a\u540d\u5b57\uff0c\u7136\u540e\u4f7f\u7528cat\u547d\u4ee4\u8bfb\u5165\u4e3b\u914d\u7f6e\u6587\u4ef6\uff0c\u518d\u5728grep\u547d\u4ee4\u540e\u9762\u6dfb\u52a0-v\u53c2\u6570\uff08\u53cd\u5411\u9009\u62e9\uff09\uff0c\u5206\u522b\u53bb\u6389\u6240\u6709\u4ee5\u4e95\u53f7\uff08#\uff09\u548c\u5206\u53f7\uff08;\uff09\u5f00\u5934\u7684\u6ce8\u91ca\u4fe1\u606f\u884c\uff0c\u5bf9\u4e8e\u5269\u4f59\u7684\u7a7a\u767d\u884c\u53ef\u4ee5\u4f7f\u7528^$\u53c2\u6570\u6765\u8868\u793a\u5e76\u8fdb\u884c\u53cd\u9009\u8fc7\u6ee4\uff0c\u6700\u540e\u628a\u8fc7\u6ee4\u540e\u7684\u53ef\u7528\u53c2\u6570\u4fe1\u606f\u901a\u8fc7\u91cd\u5b9a\u5411\u7b26\u8986\u76d6\u5199\u5165\u5230\u539f\u59cb\u6587\u4ef6\u540d\u79f0\u4e2d\u3002\u6267\u884c\u8fc7\u6ee4\u540e\u5269\u4e0b\u7684Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u53c2\u6570\u5e76\u4e0d\u590d\u6742\uff0c\u4e3a\u4e86\u66f4\u65b9\u4fbf\u8bfb\u8005\u67e5\u9605\u53c2\u6570\u7684\u529f\u80fd\uff0c\u886812-1\u7f57\u5217\u4e86\u8fd9\u4e9b\u53c2\u6570\u4ee5\u53ca\u76f8\u5e94\u7684\u6ce8\u91ca\u8bf4\u660e\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u886812-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Samba\u670d\u52a1\u7a0b\u5e8f\u4e2d\u7684\u53c2\u6570\u4ee5\u53ca\u4f5c\u7528<\/p>\n<table id=\"tablepress-77\" class=\"tablepress tablepress-id-77\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">[global]<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u5168\u5c40\u53c2\u6570\u3002<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">workgroup = MYGROUP<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#\u5de5\u4f5c\u7ec4\u540d\u79f0<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">server string = Samba Server Version %v<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u670d\u52a1\u5668\u4ecb\u7ecd\u4fe1\u606f\uff0c\u53c2\u6570%v\u4e3a\u663e\u793aSMB\u7248\u672c\u53f7<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">log file = \/var\/log\/samba\/log.%m<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#\u5b9a\u4e49\u65e5\u5fd7\u6587\u4ef6\u7684\u5b58\u653e\u4f4d\u7f6e\u4e0e\u540d\u79f0\uff0c\u53c2\u6570%m\u4e3a\u6765\u8bbf\u7684\u4e3b\u673a\u540d<\/td>\n<\/tr>\n<tr class=\"row-5 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">max log size = 50<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u5b9a\u4e49\u65e5\u5fd7\u6587\u4ef6\u7684\u6700\u5927\u5bb9\u91cf\u4e3a50KB<\/td>\n<\/tr>\n<tr class=\"row-6 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">security = user<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#\u5b89\u5168\u9a8c\u8bc1\u7684\u65b9\u5f0f\uff0c\u603b\u5171\u67094\u79cd<\/td>\n<\/tr>\n<tr class=\"row-7 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td colspan=\"2\" class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#share\uff1a\u6765\u8bbf\u4e3b\u673a\u65e0\u9700\u9a8c\u8bc1\u53e3\u4ee4\uff1b\u6bd4\u8f83\u65b9\u4fbf\uff0c\u4f46\u5b89\u5168\u6027\u5f88\u5dee<\/td>\n<\/tr>\n<tr class=\"row-8 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td colspan=\"2\" class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#user\uff1a\u9700\u9a8c\u8bc1\u6765\u8bbf\u4e3b\u673a\u63d0\u4f9b\u7684\u53e3\u4ee4\u540e\u624d\u53ef\u4ee5\u8bbf\u95ee\uff1b\u63d0\u5347\u4e86\u5b89\u5168\u6027<\/td>\n<\/tr>\n<tr class=\"row-9 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td colspan=\"2\" class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#server\uff1a\u4f7f\u7528\u72ec\u7acb\u7684\u8fdc\u7a0b\u4e3b\u673a\u9a8c\u8bc1\u6765\u8bbf\u4e3b\u673a\u63d0\u4f9b\u7684\u53e3\u4ee4\uff08\u96c6\u4e2d\u7ba1\u7406\u8d26\u6237\uff09<\/td>\n<\/tr>\n<tr class=\"row-10 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td colspan=\"2\" class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#domain\uff1a\u4f7f\u7528\u57df\u63a7\u5236\u5668\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1<\/td>\n<\/tr>\n<tr class=\"row-11 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">passdb backend = tdbsam<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u5b9a\u4e49\u7528\u6237\u540e\u53f0\u7684\u7c7b\u578b\uff0c\u5171\u67093\u79cd<\/td>\n<\/tr>\n<tr class=\"row-12 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td colspan=\"2\" class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#smbpasswd\uff1a\u4f7f\u7528smbpasswd\u547d\u4ee4\u4e3a\u7cfb\u7edf\u7528\u6237\u8bbe\u7f6eSamba\u670d\u52a1\u7a0b\u5e8f\u7684\u5bc6\u7801<\/td>\n<\/tr>\n<tr class=\"row-13 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td colspan=\"2\" class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#tdbsam\uff1a\u521b\u5efa\u6570\u636e\u5e93\u6587\u4ef6\u5e76\u4f7f\u7528pdbedit\u547d\u4ee4\u5efa\u7acbSamba\u670d\u52a1\u7a0b\u5e8f\u7684\u7528\u6237<\/td>\n<\/tr>\n<tr class=\"row-14 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td colspan=\"2\" class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#ldapsam\uff1a\u57fa\u4e8eLDAP\u670d\u52a1\u8fdb\u884c\u8d26\u6237\u9a8c\u8bc1<\/td>\n<\/tr>\n<tr class=\"row-15 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">load printers = yes<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u8bbe\u7f6e\u5728Samba\u670d\u52a1\u542f\u52a8\u65f6\u662f\u5426\u5171\u4eab\u6253\u5370\u673a\u8bbe\u5907<\/td>\n<\/tr>\n<tr class=\"row-16 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">cups options = raw<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#\u6253\u5370\u673a\u7684\u9009\u9879<\/td>\n<\/tr>\n<tr class=\"row-17 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">[homes]<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u5171\u4eab\u53c2\u6570<\/td>\n<\/tr>\n<tr class=\"row-18 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">comment = Home Directories<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#\u63cf\u8ff0\u4fe1\u606f<\/td>\n<\/tr>\n<tr class=\"row-19 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">browseable = no<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u6307\u5b9a\u5171\u4eab\u4fe1\u606f\u662f\u5426\u5728\u201c\u7f51\u4e0a\u90bb\u5c45\u201d\u4e2d\u53ef\u89c1<\/td>\n<\/tr>\n<tr class=\"row-20 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">writable = yes<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">#\u5b9a\u4e49\u662f\u5426\u53ef\u4ee5\u6267\u884c\u5199\u5165\u64cd\u4f5c\uff0c\u4e0e\u201cread only\u201d\u76f8\u53cd<\/td>\n<\/tr>\n<tr class=\"row-21 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">[printers]<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u6253\u5370\u673a\u5171\u4eab\u53c2\u6570<\/td>\n<\/tr>\n<tr class=\"row-22 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">comment = All Printers<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<\/tr>\n<tr class=\"row-23 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">path = \/var\/spool\/samba<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u5171\u4eab\u6587\u4ef6\u7684\u5b9e\u9645\u8def\u5f84(\u91cd\u8981)\u3002<\/td>\n<\/tr>\n<tr class=\"row-24 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">browseable = no<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<\/tr>\n<tr class=\"row-25 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">guest ok = no<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">#\u662f\u5426\u6240\u6709\u4eba\u53ef\u89c1\uff0c\u7b49\u540c\u4e8e&quot;public&quot;\u53c2\u6570\u3002<\/td>\n<\/tr>\n<tr class=\"row-26 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">writable = no<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\"><\/td>\n<\/tr>\n<tr class=\"row-27 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">printable = yes<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;mv&nbsp;\/etc\/samba\/smb.conf&nbsp;\/etc\/samba\/smb.conf.bak\r\n[root@linuxprobe&nbsp;~]#&nbsp;cat&nbsp;\/etc\/samba\/smb.conf.bak&nbsp;|&nbsp;grep&nbsp;-v&nbsp;&quot;#&quot;&nbsp;|&nbsp;grep&nbsp;-v&nbsp;&quot;;&quot;&nbsp;|&nbsp;grep&nbsp;-v&nbsp;&quot;^$&quot;&nbsp;&gt;&nbsp;\/etc\/samba\/smb.conf\r\n[root@linuxprobe&nbsp;~]#&nbsp;cat&nbsp;\/etc\/samba\/smb.conf<\/pre>\n<h6 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 12px; color: rgb(61, 68, 80); white-space: normal; background-color: rgb(255, 255, 255);\"><span id=\"1211\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">12.1.1 \u914d\u7f6e\u5171\u4eab\u8d44\u6e90<\/strong><\/span><\/span><\/h6>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e0e\u524d\u9762\u5b66\u4e60\u8fc7\u7684Apache\u670d\u52a1\u5f88\u76f8\u4f3c\uff0c\u5305\u62ec\u5168\u5c40\u914d\u7f6e\u53c2\u6570\u548c\u533a\u57df\u914d\u7f6e\u53c2\u6570\u3002\u5168\u5c40\u914d\u7f6e\u53c2\u6570\u7528\u4e8e\u8bbe\u7f6e\u6574\u4f53\u7684\u8d44\u6e90\u5171\u4eab\u73af\u5883\uff0c\u5bf9\u91cc\u9762\u7684\u6bcf\u4e00\u4e2a\u72ec\u7acb\u7684\u5171\u4eab\u8d44\u6e90\u90fd\u6709\u6548\u3002\u533a\u57df\u914d\u7f6e\u53c2\u6570\u5219\u7528\u4e8e\u8bbe\u7f6e\u5355\u72ec\u7684\u5171\u4eab\u8d44\u6e90\uff0c\u4e14\u4ec5\u5bf9\u8be5\u8d44\u6e90\u6709\u6548\u3002\u521b\u5efa\u5171\u4eab\u8d44\u6e90\u7684\u65b9\u6cd5\u5f88\u7b80\u5355\uff0c\u53ea\u8981\u5c06\u886812-2\u4e2d\u7684\u53c2\u6570\u5199\u5165\u5230Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u7136\u540e\u91cd\u542f\u8be5\u670d\u52a1\u5373\u53ef\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u886812-2&nbsp;&nbsp;&nbsp; \u7528\u4e8e\u8bbe\u7f6eSamba\u670d\u52a1\u7a0b\u5e8f\u7684\u53c2\u6570\u4ee5\u53ca\u4f5c\u7528<\/p>\n<table id=\"tablepress-126\" class=\"tablepress tablepress-id-126\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u53c2\u6570<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4f5c\u7528<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">[database]<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5171\u4eab\u540d\u79f0\u4e3adatabase<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">comment =&nbsp;Do not arbitrarily modify the database file<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u8b66\u544a\u7528\u6237\u4e0d\u8981\u968f\u610f\u4fee\u6539\u6570\u636e\u5e93<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">path = \/home\/database<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5171\u4eab\u76ee\u5f55\u4e3a\/home\/database<\/td>\n<\/tr>\n<tr class=\"row-5 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">public = no<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u5173\u95ed\u201c\u6240\u6709\u4eba\u53ef\u89c1\u201d<\/td>\n<\/tr>\n<tr class=\"row-6 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">writable = yes<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5141\u8bb8\u5199\u5165\u64cd\u4f5c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b2c1\u6b65<\/strong>\uff1a\u521b\u5efa\u7528\u4e8e\u8bbf\u95ee\u5171\u4eab\u8d44\u6e90\u7684\u8d26\u6237\u4fe1\u606f\u3002\u5728RHEL 7\u7cfb\u7edf\u4e2d\uff0cSamba\u670d\u52a1\u7a0b\u5e8f\u9ed8\u8ba4\u4f7f\u7528\u7684\u662f\u7528\u6237\u53e3\u4ee4\u8ba4\u8bc1\u6a21\u5f0f\uff08user\uff09\u3002\u8fd9\u79cd\u8ba4\u8bc1\u6a21\u5f0f\u53ef\u4ee5\u786e\u4fdd\u4ec5\u8ba9\u6709\u5bc6\u7801\u4e14\u53d7\u4fe1\u4efb\u7684\u7528\u6237\u8bbf\u95ee\u5171\u4eab\u8d44\u6e90\uff0c\u800c\u4e14\u9a8c\u8bc1\u8fc7\u7a0b\u4e5f\u5341\u5206\u7b80\u5355\u3002\u4e0d\u8fc7\uff0c\u53ea\u6709\u5efa\u7acb\u8d26\u6237\u4fe1\u606f\u6570\u636e\u5e93\u4e4b\u540e\uff0c\u624d\u80fd\u4f7f\u7528\u7528\u6237\u53e3\u4ee4\u8ba4\u8bc1\u6a21\u5f0f\u3002\u53e6\u5916\uff0cSamba\u670d\u52a1\u7a0b\u5e8f\u7684\u6570\u636e\u5e93\u8981\u6c42\u8d26\u6237\u5fc5\u987b\u5728\u5f53\u524d\u7cfb\u7edf\u4e2d\u5df2\u7ecf\u5b58\u5728\uff0c\u5426\u5219\u65e5\u540e\u521b\u5efa\u6587\u4ef6\u65f6\u5c06\u5bfc\u81f4\u6587\u4ef6\u7684\u6743\u9650\u5c5e\u6027\u6df7\u4e71\u4e0d\u582a\uff0c\u7531\u6b64\u5f15\u53d1\u9519\u8bef\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">pdbedit\u547d\u4ee4\u7528\u4e8e\u7ba1\u7406SMB\u670d\u52a1\u7a0b\u5e8f\u7684\u8d26\u6237\u4fe1\u606f\u6570\u636e\u5e93\uff0c\u683c\u5f0f\u4e3a\u201cpdbedit [\u9009\u9879] \u8d26\u6237\u201d\u3002\u5728\u7b2c\u4e00\u6b21\u628a\u8d26\u6237\u4fe1\u606f\u5199\u5165\u5230\u6570\u636e\u5e93\u65f6\u9700\u8981\u4f7f\u7528-a\u53c2\u6570\uff0c\u4ee5\u540e\u5728\u6267\u884c\u4fee\u6539\u5bc6\u7801\u3001\u5220\u9664\u8d26\u6237\u7b49\u64cd\u4f5c\u65f6\u5c31\u4e0d\u518d\u9700\u8981\u8be5\u53c2\u6570\u4e86\u3002pdbedit\u547d\u4ee4\u4e2d\u4f7f\u7528\u7684\u53c2\u6570\u4ee5\u53ca\u4f5c\u7528\u5982\u886812-3\u6240\u793a\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u886812-3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u7528\u4e8epdbedit\u547d\u4ee4\u7684\u53c2\u6570\u4ee5\u53ca\u4f5c\u7528<\/p>\n<table id=\"tablepress-79\" class=\"tablepress tablepress-id-79\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u53c2\u6570<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4f5c\u7528<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">-a \u7528\u6237\u540d<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5efa\u7acbSamba\u7528\u6237<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">-x \u7528\u6237\u540d<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u5220\u9664Samba\u7528\u6237<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">-L<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5217\u51fa\u7528\u6237\u5217\u8868<\/td>\n<\/tr>\n<tr class=\"row-5 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">-Lv<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u5217\u51fa\u7528\u6237\u8be6\u7ec6\u4fe1\u606f\u7684\u5217\u8868<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;id&nbsp;linuxprobe\r\nuid=1000(linuxprobe)&nbsp;gid=1000(linuxprobe)&nbsp;groups=1000(linuxprobe)\r\n[root@linuxprobe&nbsp;~]#&nbsp;pdbedit&nbsp;-a&nbsp;-u&nbsp;linuxprobe\r\nnew&nbsp;password:\u6b64\u5904\u8f93\u5165\u8be5\u8d26\u6237\u5728Samba\u670d\u52a1\u6570\u636e\u5e93\u4e2d\u7684\u5bc6\u7801retype&nbsp;new&nbsp;password:\u518d\u6b21\u8f93\u5165\u5bc6\u7801\u8fdb\u884c\u786e\u8ba4Unix&nbsp;username:&nbsp;linuxprobe\r\nNT&nbsp;username:&nbsp;\r\nAccount&nbsp;Flags:&nbsp;[U&nbsp;]\r\nUser&nbsp;SID:&nbsp;S-1-5-21-507407404-3243012849-3065158664-1000\r\nPrimary&nbsp;Group&nbsp;SID:&nbsp;S-1-5-21-507407404-3243012849-3065158664-513\r\nFull&nbsp;Name:&nbsp;linuxprobe\r\nHome&nbsp;Directory:&nbsp;\\\\localhost\\linuxprobe\r\nHomeDir&nbsp;Drive:&nbsp;\r\nLogon&nbsp;Script:&nbsp;\r\nProfile&nbsp;Path:&nbsp;\\\\localhost\\linuxprobe\\profile\r\nDomain:&nbsp;LOCALHOST\r\nAccount&nbsp;desc:&nbsp;\r\nWorkstations:&nbsp;\r\nMunged&nbsp;dial:&nbsp;\r\nLogon&nbsp;time:&nbsp;0\r\nLogoff&nbsp;time:&nbsp;Wed,&nbsp;06&nbsp;Feb&nbsp;2036&nbsp;10:06:39&nbsp;EST\r\nKickoff&nbsp;time:&nbsp;Wed,&nbsp;06&nbsp;Feb&nbsp;2036&nbsp;10:06:39&nbsp;EST\r\nPassword&nbsp;last&nbsp;set:&nbsp;Mon,&nbsp;13&nbsp;Mar&nbsp;2017&nbsp;04:22:25&nbsp;EDT\r\nPassword&nbsp;can&nbsp;change:&nbsp;Mon,&nbsp;13&nbsp;Mar&nbsp;2017&nbsp;04:22:25&nbsp;EDT\r\nPassword&nbsp;must&nbsp;change:&nbsp;never\r\nLast&nbsp;bad&nbsp;password&nbsp;:&nbsp;0\r\nBad&nbsp;password&nbsp;count&nbsp;:&nbsp;0\r\nLogon&nbsp;hours&nbsp;:&nbsp;FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b2c2\u6b65<\/strong>\uff1a\u521b\u5efa\u7528\u4e8e\u5171\u4eab\u8d44\u6e90\u7684\u6587\u4ef6\u76ee\u5f55\u3002\u5728\u521b\u5efa\u65f6\uff0c\u4e0d\u4ec5\u8981\u8003\u8651\u5230\u6587\u4ef6\u8bfb\u5199\u6743\u9650\u7684\u95ee\u9898\uff0c\u800c\u4e14\u7531\u4e8e\/home\u76ee\u5f55\u662f\u7cfb\u7edf\u4e2d\u666e\u901a\u7528\u6237\u7684\u5bb6\u76ee\u5f55\uff0c\u56e0\u6b64\u8fd8\u9700\u8981\u8003\u8651\u5e94\u7528\u4e8e\u8be5\u76ee\u5f55\u7684SELinux\u5b89\u5168\u4e0a\u4e0b\u6587\u6240\u5e26\u6765\u7684\u9650\u5236\u3002\u5728\u524d\u9762\u5bf9Samba\u670d\u52a1\u7a0b\u5e8f\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684\u6ce8\u91ca\u4fe1\u606f\u8fdb\u884c\u8fc7\u6ee4\u65f6\uff0c\u8fd9\u4e9b\u8fc7\u6ee4\u7684\u4fe1\u606f\u4e2d\u5c31\u6709\u5173\u4e8eSELinux\u5b89\u5168\u4e0a\u4e0b\u6587\u7b56\u7565\u7684\u8bf4\u660e\uff0c\u6211\u4eec\u53ea\u9700\u6309\u7167\u8fc7\u6ee4\u4fe1\u606f\u4e2d\u6709\u5173SELinux\u5b89\u5168\u4e0a\u4e0b\u6587\u7b56\u7565\u4e2d\u7684\u8bf4\u660e\u4e2d\u7ed9\u7684\u503c\u8fdb\u884c\u4fee\u6539\u5373\u53ef\u3002\u4fee\u6539\u5b8c\u6bd5\u540e\u6267\u884crestorecon\u547d\u4ee4\uff0c\u8ba9\u5e94\u7528\u4e8e\u76ee\u5f55\u7684\u65b0SELinux\u5b89\u5168\u4e0a\u4e0b\u6587\u7acb\u5373\u751f\u6548\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;mkdir&nbsp;\/home\/database\r\n[root@linuxprobe&nbsp;~]#&nbsp;chown&nbsp;-Rf&nbsp;linuxprobe:linuxprobe&nbsp;\/home\/database\r\n[root@linuxprobe&nbsp;~]#&nbsp;semanage&nbsp;fcontext&nbsp;-a&nbsp;-t&nbsp;samba_share_t&nbsp;\/home\/database\r\n[root@linuxprobe&nbsp;~]#&nbsp;restorecon&nbsp;-Rv&nbsp;\/home\/database\r\nrestorecon&nbsp;reset&nbsp;\/home\/database&nbsp;context&nbsp;unconfined_u:object_r:home_root_t:s0-&gt;unconfined_u:object_r:samba_share_t:s0<\/pre>\n<div class=\"para\" style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b2c3\u6b65<\/strong>\uff1a\u8bbe\u7f6eSELinux\u670d\u52a1\u4e0e\u7b56\u7565\uff0c\u4f7f\u5176\u5141\u8bb8\u901a\u8fc7Samba\u670d\u52a1\u7a0b\u5e8f\u8bbf\u95ee\u666e\u901a\u7528\u6237\u5bb6\u76ee\u5f55\u3002\u6267\u884cgetsebool\u547d\u4ee4\uff0c\u7b5b\u9009\u51fa\u6240\u6709\u4e0eSamba\u670d\u52a1\u7a0b\u5e8f\u76f8\u5173\u7684SELinux\u57df\u7b56\u7565\uff0c\u6839\u636e\u7b56\u7565\u7684\u540d\u79f0\uff08\u548c\u7ecf\u9a8c\uff09\u9009\u62e9\u51fa\u6b63\u786e\u7684\u7b56\u7565\u6761\u76ee\u8fdb\u884c\u5f00\u542f\u5373\u53ef\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;getsebool&nbsp;-a&nbsp;|&nbsp;grep&nbsp;samba\r\nsamba_create_home_dirs&nbsp;--&gt;&nbsp;off\r\nsamba_domain_controller&nbsp;--&gt;&nbsp;offsamba_enable_home_dirs&nbsp;--&gt;&nbsp;offsamba_export_all_ro&nbsp;--&gt;&nbsp;off\r\nsamba_export_all_rw&nbsp;--&gt;&nbsp;off\r\nsamba_portmapper&nbsp;--&gt;&nbsp;off\r\nsamba_run_unconfined&nbsp;--&gt;&nbsp;off\r\nsamba_share_fusefs&nbsp;--&gt;&nbsp;off\r\nsamba_share_nfs&nbsp;--&gt;&nbsp;off\r\nsanlock_use_samba&nbsp;--&gt;&nbsp;off\r\nuse_samba_home_dirs&nbsp;--&gt;&nbsp;off\r\nvirt_sandbox_use_samba&nbsp;--&gt;&nbsp;off\r\nvirt_use_samba&nbsp;--&gt;&nbsp;off\r\n[root@linuxprobe&nbsp;~]#&nbsp;setsebool&nbsp;-P&nbsp;samba_enable_home_dirs&nbsp;on<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b2c4\u6b65<\/strong>\uff1a\u5728Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u6839\u636e\u886812-2\u6240\u63d0\u5230\u7684\u683c\u5f0f\u5199\u5165\u5171\u4eab\u4fe1\u606f\u3002\u5728\u539f\u59cb\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c[homes]\u53c2\u6570\u4e3a\u6765\u8bbf\u7528\u6237\u7684\u5bb6\u76ee\u5f55\u5171\u4eab\u4fe1\u606f\uff0c[printers]\u53c2\u6570\u4e3a\u5171\u4eab\u7684\u6253\u5370\u673a\u8bbe\u5907\u3002\u8fd9\u4e24\u9879\u5982\u679c\u5728\u4eca\u540e\u7684\u5de5\u4f5c\u4e2d\u4e0d\u9700\u8981\uff0c\u53ef\u4ee5\u50cf\u5218\u9044\u8001\u5e08\u4e00\u6837\u624b\u52a8\u5220\u9664\uff0c\u8fd9\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\u3002<\/p>\n<pre class=\"para\" style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;vim&nbsp;\/etc\/samba\/smb.conf&nbsp;\r\n[global]\r\n&nbsp;workgroup&nbsp;=&nbsp;MYGROUP\r\n&nbsp;server&nbsp;string&nbsp;=&nbsp;Samba&nbsp;Server&nbsp;Version&nbsp;%v\r\n&nbsp;log&nbsp;file&nbsp;=&nbsp;\/var\/log\/samba\/log.%m\r\n&nbsp;max&nbsp;log&nbsp;size&nbsp;=&nbsp;50\r\n&nbsp;security&nbsp;=&nbsp;user\r\n&nbsp;passdb&nbsp;backend&nbsp;=&nbsp;tdbsam\r\n&nbsp;load&nbsp;printers&nbsp;=&nbsp;yes\r\n&nbsp;cups&nbsp;options&nbsp;=&nbsp;raw\r\n[database]\r\n&nbsp;comment&nbsp;=&nbsp;Do&nbsp;not&nbsp;arbitrarily&nbsp;modify&nbsp;the&nbsp;database&nbsp;file\r\n&nbsp;path&nbsp;=&nbsp;\/home\/database\r\n&nbsp;public&nbsp;=&nbsp;no\r\n&nbsp;writable&nbsp;=&nbsp;yes<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><strong style=\"box-sizing: border-box;\">\u7b2c5\u6b65<\/strong>\uff1aSamba\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u5de5\u4f5c\u57fa\u672c\u5b8c\u6bd5\u3002\u63a5\u4e0b\u6765\u91cd\u542fsmb\u670d\u52a1\uff08Samba\u670d\u52a1\u7a0b\u5e8f\u5728Linux\u7cfb\u7edf\u4e2d\u7684\u540d\u5b57\u4e3asmb\uff09\u5e76\u6e05\u7a7aiptables\u9632\u706b\u5899\uff0c\u7136\u540e\u5c31\u53ef\u4ee5\u68c0\u9a8c\u914d\u7f6e\u6548\u679c\u4e86\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;systemctl&nbsp;restart&nbsp;smb\r\n[root@linuxprobe&nbsp;~]#&nbsp;systemctl&nbsp;enable&nbsp;smb\r\n&nbsp;ln&nbsp;-s&nbsp;&#39;\/usr\/lib\/systemd\/system\/smb.service&#39;&nbsp;&#39;\/etc\/systemd\/system\/multi-user.target.wants\/smb.service&#39;\r\n[root@linuxprobe&nbsp;~]#&nbsp;iptables&nbsp;-F\r\n[root@linuxprobe&nbsp;~]#&nbsp;service&nbsp;iptables&nbsp;save\r\niptables:&nbsp;Saving&nbsp;firewall&nbsp;rules&nbsp;to&nbsp;\/etc\/sysconfig\/iptables:[&nbsp;OK&nbsp;]<\/pre>\n<h6 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 12px;\"><span id=\"1212_Windows\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">12.1.2 Windows\u6302\u8f7d\u5171\u4eab<\/strong><\/span><\/span><\/h6>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u65e0\u8bbaSamba\u5171\u4eab\u670d\u52a1\u662f\u90e8\u7f72Windows\u7cfb\u7edf\u4e0a\u8fd8\u662f\u90e8\u7f72\u5728Linux\u7cfb\u7edf\u4e0a\uff0c\u901a\u8fc7Windows\u7cfb\u7edf\u8fdb\u884c\u8bbf\u95ee\u65f6\uff0c\u5176\u6b65\u9aa4\u548c\u65b9\u6cd5\u90fd\u662f\u4e00\u6837\u7684\u3002\u4e0b\u9762\u5047\u8bbeSamba\u5171\u4eab\u670d\u52a1\u90e8\u7f72\u5728Linux\u7cfb\u7edf\u4e0a\uff0c\u5e76\u901a\u8fc7Windows\u7cfb\u7edf\u6765\u8bbf\u95eeSamba\u670d\u52a1\u3002Samba\u5171\u4eab\u670d\u52a1\u5668\u548cWindows\u5ba2\u6237\u7aef\u7684IP\u5730\u5740\u53ef\u4ee5\u6839\u636e\u886812-4\u6765\u8bbe\u7f6e\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u886812-4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Samba\u670d\u52a1\u5668\u548cWindows\u5ba2\u6237\u7aef\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u4ee5\u53caIP\u5730\u5740<\/p>\n<p class=\"para\" style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: center;\"><\/p>\n<table id=\"tablepress-78\" class=\"tablepress tablepress-id-78\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4e3b\u673a\u540d\u79f0<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u64cd\u4f5c\u7cfb\u7edf<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">IP\u5730\u5740<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">Samba\u5171\u4eab\u670d\u52a1\u5668<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">RHEL 7<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">192.168.10.10<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">Linux\u5ba2\u6237\u7aef<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">RHEL 7<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">192.168.10.20<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">Windows\u5ba2\u6237\u7aef<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">Windows 7<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">192.168.10.30<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u8981\u5728Windows\u7cfb\u7edf\u4e2d\u8bbf\u95ee\u5171\u4eab\u8d44\u6e90\uff0c\u53ea\u9700\u5728Windows\u7684\u201c\u8fd0\u884c\u201d\u547d\u4ee4\u6846\u4e2d\u8f93\u5165\u4e24\u4e2a\u53cd\u659c\u6760\uff0c\u7136\u540e\u518d\u52a0\u670d\u52a1\u5668\u7684IP\u5730\u5740\u5373\u53ef\uff0c\u5982\u56fe12-2\u6240\u793a\u3002<\/p>\n<\/div>\n<p class=\"para\" style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.linuxprobe.com\/wp-content\/uploads\/2015\/06\/Windows%E8%BF%90%E8%A1%8C%E6%A1%86%E8%BE%93%E5%85%A5%E8%BF%9C%E7%A8%8B%E4%B8%BB%E6%9C%BA%E4%BF%A1%E6%81%AF.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-1409 aligncenter\" data-original=\"https:\/\/www.linuxprobe.com\/wp-content\/uploads\/2015\/06\/Windows%E8%BF%90%E8%A1%8C%E6%A1%86%E8%BE%93%E5%85%A5%E8%BF%9C%E7%A8%8B%E4%B8%BB%E6%9C%BA%E4%BF%A1%E6%81%AF.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\" width=\"410\" height=\"524\"  sizes=\"auto, (max-width: 410px) 100vw, 410px\" title=\"\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\" style=\"box-sizing: border-box; max-width: 100%; border-radius: 4px; vertical-align: middle; height: auto; margin: 10px auto; display: block;\"\/><\/div><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: center; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u56fe12-2&nbsp; \u5728Windows\u7cfb\u7edf\u4e2d\u8bbf\u95ee\u5171\u4eab\u8d44\u6e90<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u5982\u679c\u5df2\u7ecf\u6e05\u7a7a\u4e86Linux\u7cfb\u7edf\u4e0aiptables\u9632\u706b\u5899\u7684\u9ed8\u8ba4\u7b56\u7565\uff08\u5373\u6267\u884ciptables -F\u547d\u4ee4\uff09\uff0c\u73b0\u5728\u5c31\u5e94\u8be5\u80fd\u770b\u5230Samba\u5171\u4eab\u670d\u52a1\u7684\u767b\u5f55\u754c\u9762\u4e86\u3002\u5218\u9044\u8001\u5e08\u5728\u8fd9\u91cc\u5148\u4f7f\u7528linuxprobe\u8d26\u6237\u7684\u7cfb\u7edf\u672c\u5730\u5bc6\u7801\u5c1d\u8bd5\u767b\u5f55\uff0c\u7ed3\u679c\u51fa\u73b0\u4e86\u5982\u56fe12-3\u6240\u793a\u7684\u62a5\u9519\u4fe1\u606f\u3002\u7531\u6b64\u53ef\u4ee5\u9a8c\u8bc1\uff0c\u5728RHEL 7\u7cfb\u7edf\u4e2d\uff0cSamba\u670d\u52a1\u7a0b\u5e8f\u4f7f\u7528\u7684\u679c\u7136\u662f\u72ec\u7acb\u7684\u8d26\u6237\u4fe1\u606f\u6570\u636e\u5e93\u3002\u6240\u4ee5\uff0c\u5373\u4fbf\u5728Linux\u7cfb\u7edf\u4e2d\u6709\u4e00\u4e2alinuxprobe\u8d26\u6237\uff0cSamba\u670d\u52a1\u7a0b\u5e8f\u4f7f\u7528\u7684\u8d26\u6237\u4fe1\u606f\u6570\u636e\u5e93\u4e2d\u4e5f\u6709\u4e00\u4e2a\u540c\u540d\u7684linuxprobe\u8d26\u6237\uff0c\u5927\u5bb6\u4e5f\u4e00\u5b9a\u8981\u5f04\u6e05\u695a\u5b83\u4eec\u5404\u81ea\u6240\u5bf9\u5e94\u7684\u5bc6\u7801\u3002<\/p>\n<div class=\"para\" style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.linuxprobe.com\/wp-content\/uploads\/2015\/06\/Windows%E6%8F%90%E7%A4%BA%E9%AA%8C%E8%AF%81%E5%AF%86%E7%A0%81.jpg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" class=\"size-full aligncenter\" data-original=\"https:\/\/www.linuxprobe.com\/wp-content\/uploads\/2015\/06\/Windows%E6%8F%90%E7%A4%BA%E9%AA%8C%E8%AF%81%E5%AF%86%E7%A0%81.jpg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" width=\"800\" height=\"600\" alt=\"\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\" title=\"\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\" style=\"box-sizing: border-box; max-width: 100%; border-radius: 4px; vertical-align: middle; height: auto; margin: 10px auto; display: block;\"\/><\/div><\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: center; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u56fe12-3&nbsp; \u8bbf\u95eeSamba\u5171\u4eab\u670d\u52a1\u65f6\uff0c\u63d0\u793a\u51fa\u9519<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u6b63\u786e\u8f93\u5165linuxprobe\u8d26\u6237\u540d\u4ee5\u53ca\u4f7f\u7528pdbedit\u547d\u4ee4\u8bbe\u7f6e\u7684\u5bc6\u7801\u540e\uff0c\u5c31\u53ef\u4ee5\u767b\u5f55\u5230\u5171\u4eab\u754c\u9762\u4e2d\u4e86\uff0c\u5982\u56fe12-4\u6240\u793a\u3002\u6b64\u65f6\uff0c\u6211\u4eec\u53ef\u4ee5\u5c1d\u8bd5\u6267\u884c\u67e5\u770b\u3001\u5199\u5165\u3001\u66f4\u540d\u3001\u5220\u9664\u6587\u4ef6\u7b49\u64cd\u4f5c\u3002<\/p>\n<div style=\"box-sizing: border-box; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<div style=\"box-sizing: border-box;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.linuxprobe.com\/wp-content\/uploads\/2015\/06\/%E4%BD%BF%E7%94%A8SMB%E6%9C%8D%E5%8A%A1%E5%B9%B6%E5%88%9B%E5%BB%BA%E6%96%87%E4%BB%B6.jpg'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  loading=\"lazy\" decoding=\"async\" class=\" size-full wp-image-1419 aligncenter\" data-original=\"https:\/\/www.linuxprobe.com\/wp-content\/uploads\/2015\/06\/%E4%BD%BF%E7%94%A8SMB%E6%9C%8D%E5%8A%A1%E5%B9%B6%E5%88%9B%E5%BB%BA%E6%96%87%E4%BB%B6.jpg\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\" width=\"800\" height=\"597\"  sizes=\"auto, (max-width: 800px) 100vw, 800px\" title=\"\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\u7b2c12\u7ae0 \u4f7f\u7528Samba\u6216NFS\u5b9e\u73b0\u6587\u4ef6\u5171\u4eab\u3002\" style=\"box-sizing: border-box; max-width: 100%; border-radius: 4px; vertical-align: middle; height: auto; margin: 10px auto; display: block;\"\/><\/div><\/div>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: center;\">\u56fe12-4&nbsp; \u6210\u529f\u8bbf\u95eeSamba\u5171\u4eab\u670d\u52a1<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u7531\u4e8eWindows\u7cfb\u7edf\u7684\u7f13\u5b58\u539f\u56e0\uff0c\u6709\u53ef\u80fd\u60a8\u5728\u7b2c\u4e8c\u6b21\u767b\u5f55\u65f6\u63d0\u4f9b\u4e86\u6b63\u786e\u7684\u8d26\u6237\u548c\u5bc6\u7801\uff0c\u4f9d\u7136\u4f1a\u62a5\u9519\uff0c\u8fd9\u65f6\u53ea\u9700\u8981\u91cd\u65b0\u542f\u52a8\u4e00\u4e0bWindows\u5ba2\u6237\u7aef\u5c31\u6ca1\u95ee\u9898\u4e86\uff08\u5982\u679cWindows\u7cfb\u7edf\u4f9d\u7136\u62a5\u9519\uff0c\u8bf7\u68c0\u67e5\u4e0a\u8ff0\u6b65\u9aa4\u662f\u5426\u6709\u505a\u9519\u7684\u5730\u65b9\uff09\u3002<\/p>\n<h6 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 500; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 12px;\"><span id=\"1212_Linux\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">12.1.2 Linux\u6302\u8f7d\u5171\u4eab<\/strong><\/span><\/span><\/h6>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u4e0a\u9762\u7684\u5b9e\u9a8c\u64cd\u4f5c\u53ef\u80fd\u4f1a\u8ba9\u5404\u4f4d\u8bfb\u8005\u8bef\u4ee5\u4e3aSamba\u670d\u52a1\u7a0b\u5e8f\u53ea\u662f\u4e3a\u4e86\u89e3\u51b3Linux\u7cfb\u7edf\u548cWindows\u7cfb\u7edf\u7684\u8d44\u6e90\u5171\u4eab\u95ee\u9898\u800c\u8bbe\u8ba1\u7684\u3002\u5176\u5b9e\uff0cSamba\u670d\u52a1\u7a0b\u5e8f\u8fd8\u53ef\u4ee5\u5b9e\u73b0Linux\u7cfb\u7edf\u4e4b\u95f4\u7684\u6587\u4ef6\u5171\u4eab\u3002\u8bf7\u5404\u4f4d\u8bfb\u8005\u6309\u7167\u886812-5\u6765\u8bbe\u7f6eSamba\u670d\u52a1\u7a0b\u5e8f\u6240\u5728\u4e3b\u673a\uff08\u5373Samba\u5171\u4eab\u670d\u52a1\u5668\uff09\u548cLinux\u5ba2\u6237\u7aef\u4f7f\u7528\u7684IP\u5730\u5740\uff0c\u7136\u540e\u5728\u5ba2\u6237\u7aef\u5b89\u88c5\u652f\u6301\u6587\u4ef6\u5171\u4eab\u670d\u52a1\u7684\u8f6f\u4ef6\u5305\uff08cifs-utils\uff09\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u886812-5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Samba\u5171\u4eab\u670d\u52a1\u5668\u548cLinux\u5ba2\u6237\u7aef\u5404\u81ea\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u4ee5\u53caIP\u5730\u5740<\/p>\n<div style=\"box-sizing: border-box;\">\n<table id=\"tablepress-78-no-2\" class=\"tablepress tablepress-id-78\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4e3b\u673a\u540d\u79f0<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u64cd\u4f5c\u7cfb\u7edf<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">IP\u5730\u5740<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">Samba\u5171\u4eab\u670d\u52a1\u5668<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">RHEL 7<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">192.168.10.10<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">Linux\u5ba2\u6237\u7aef<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">RHEL 7<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">192.168.10.20<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">Windows\u5ba2\u6237\u7aef<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">Windows 7<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">192.168.10.30<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify;\"><\/p>\n<\/div>\n<\/div>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;yum&nbsp;install&nbsp;cifs-utils\r\nLoaded&nbsp;plugins:&nbsp;langpacks,&nbsp;product-id,&nbsp;subscription-manager\r\nrhel&nbsp;|&nbsp;4.1&nbsp;kB&nbsp;00:00&nbsp;\r\nResolving&nbsp;Dependencies\r\n--&gt;&nbsp;Running&nbsp;transaction&nbsp;check\r\n---&gt;&nbsp;Package&nbsp;cifs-utils.x86_64&nbsp;0:6.2-6.el7&nbsp;will&nbsp;be&nbsp;installed\r\n--&gt;&nbsp;Finished&nbsp;Dependency&nbsp;Resolution\r\nDependencies&nbsp;Resolved\r\n================================================================================\r\n&nbsp;Package&nbsp;Arch&nbsp;Version&nbsp;Repository&nbsp;Size\r\n================================================================================\r\nInstalling:\r\n&nbsp;cifs-utils&nbsp;x86_64&nbsp;6.2-6.el7&nbsp;rhel&nbsp;83&nbsp;k\r\nTransaction&nbsp;Summary\r\n================================================================================\r\nInstall&nbsp;1&nbsp;Package\r\nTotal&nbsp;download&nbsp;size:&nbsp;83&nbsp;k\r\nInstalled&nbsp;size:&nbsp;174&nbsp;k\r\nIs&nbsp;this&nbsp;ok&nbsp;[y\/d\/N]:&nbsp;yDownloading&nbsp;packages:\r\nRunning&nbsp;transaction&nbsp;check\r\nRunning&nbsp;transaction&nbsp;test\r\nTransaction&nbsp;test&nbsp;succeeded\r\nRunning&nbsp;transaction\r\n&nbsp;Installing&nbsp;:&nbsp;cifs-utils-6.2-6.el7.x86_64&nbsp;1\/1&nbsp;\r\n&nbsp;Verifying&nbsp;:&nbsp;cifs-utils-6.2-6.el7.x86_64&nbsp;1\/1&nbsp;\r\nInstalled:\r\n&nbsp;cifs-utils.x86_64&nbsp;0:6.2-6.el7&nbsp;\r\nComplete!<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u5728Linux\u5ba2\u6237\u7aef\uff0c\u6309\u7167Samba\u670d\u52a1\u7684\u7528\u6237\u540d\u3001\u5bc6\u7801\u3001\u5171\u4eab\u57df\u7684\u987a\u5e8f\u5c06\u76f8\u5173\u4fe1\u606f\u5199\u5165\u5230\u4e00\u4e2a\u8ba4\u8bc1\u6587\u4ef6\u4e2d\u3002\u4e3a\u4e86\u4fdd\u8bc1\u4e0d\u88ab\u5176\u4ed6\u4eba\u968f\u610f\u770b\u5230\uff0c\u6700\u540e\u628a\u8fd9\u4e2a\u8ba4\u8bc1\u6587\u4ef6\u7684\u6743\u9650\u4fee\u6539\u4e3a\u4ec5root\u7ba1\u7406\u5458\u624d\u80fd\u591f\u8bfb\u5199\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;vim&nbsp;auth.smb\r\nusername=linuxprobe\r\npassword=redhat\r\ndomain=MYGROUP\r\n[root@linuxprobe&nbsp;~]#&nbsp;chmod&nbsp;-Rf&nbsp;600&nbsp;auth.smb<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u73b0\u5728\uff0c\u5728Linux\u5ba2\u6237\u7aef\u4e0a\u521b\u5efa\u4e00\u4e2a\u7528\u4e8e\u6302\u8f7dSamba\u670d\u52a1\u5171\u4eab\u8d44\u6e90\u7684\u76ee\u5f55\uff0c\u5e76\u628a\u6302\u8f7d\u4fe1\u606f\u5199\u5165\u5230\/etc\/fstab\u6587\u4ef6\u4e2d\uff0c\u4ee5\u786e\u4fdd\u5171\u4eab\u6302\u8f7d\u4fe1\u606f\u5728\u670d\u52a1\u5668\u91cd\u542f\u540e\u4f9d\u7136\u751f\u6548\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;mkdir&nbsp;\/database\r\n[root@linuxprobe&nbsp;~]#&nbsp;vim&nbsp;\/etc\/fstab\r\n#\r\n#&nbsp;\/etc\/fstab\r\n#&nbsp;Created&nbsp;by&nbsp;anaconda&nbsp;on&nbsp;Wed&nbsp;May&nbsp;4&nbsp;19:26:23&nbsp;2017\r\n#\r\n#&nbsp;Accessible&nbsp;filesystems,&nbsp;by&nbsp;reference,&nbsp;are&nbsp;maintained&nbsp;under&nbsp;&#39;\/dev\/disk&#39;\r\n#&nbsp;See&nbsp;man&nbsp;pages&nbsp;fstab(5),&nbsp;findfs(8),&nbsp;mount(8)&nbsp;and\/or&nbsp;blkid(8)&nbsp;for&nbsp;more&nbsp;info\r\n#\r\n\/dev\/mapper\/rhel-root&nbsp;\/&nbsp;xfs&nbsp;defaults&nbsp;1&nbsp;1\r\nUUID=812b1f7c-8b5b-43da-8c06-b9999e0fe48b&nbsp;\/boot&nbsp;xfs&nbsp;defaults&nbsp;1&nbsp;2\r\n\/dev\/mapper\/rhel-swap&nbsp;swap&nbsp;swap&nbsp;defaults&nbsp;0&nbsp;0\r\n\/dev\/cdrom&nbsp;\/media\/cdrom&nbsp;iso9660&nbsp;defaults&nbsp;0&nbsp;0&nbsp;\r\n\/\/192.168.10.10\/database&nbsp;\/database&nbsp;cifs&nbsp;credentials=\/root\/auth.smb&nbsp;0&nbsp;0[root@linuxprobe&nbsp;~]#&nbsp;mount&nbsp;-a<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">Linux\u5ba2\u6237\u7aef\u6210\u529f\u5730\u6302\u8f7d\u4e86Samba\u670d\u52a1\u7684\u5171\u4eab\u8d44\u6e90\u3002\u8fdb\u5165\u5230\u6302\u8f7d\u76ee\u5f55\/database\u540e\u5c31\u53ef\u4ee5\u770b\u5230Windows\u7cfb\u7edf\u8bbf\u95eeSamba\u670d\u52a1\u7a0b\u5e8f\u65f6\u7559\u4e0b\u6765\u7684\u6587\u4ef6\u4e86\uff08\u5373\u6587\u4ef6Memo.txt\uff09\u3002\u5f53\u7136\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u5bf9\u8be5\u6587\u4ef6\u8fdb\u884c\u8bfb\u5199\u64cd\u4f5c\u5e76\u4fdd\u5b58\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;cat&nbsp;\/database\/Memo.txt\r\ni&nbsp;can&nbsp;edit&nbsp;it&nbsp;.<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; color: #800080;\"><strong style=\"box-sizing: border-box;\">\u51fa\u73b0\u95ee\u9898?\u5927\u80c6\u63d0\u95ee!<\/strong><\/span><\/p>\n<blockquote style=\"box-sizing: border-box; padding: 10px 20px; margin: 0px 0px 20px; border-left-width: 5px; border-left-style: solid; border-color: rgba(0, 0, 0, 0.14902); color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 17.1429px; white-space: normal; background-color: rgb(255, 255, 255);\">\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">\u56e0\u8bfb\u8005\u4eec\u786c\u4ef6\u4e0d\u540c\u6216\u64cd\u4f5c\u9519\u8bef\u90fd\u53ef\u80fd\u5bfc\u81f4\u5b9e\u9a8c\u914d\u7f6e\u51fa\u9519\uff0c\u8bf7\u8010\u5fc3\u518d\u4ed4\u7ec6\u770b\u770b\u64cd\u4f5c\u6b65\u9aa4\u5427\uff0c\u4e0d\u8981\u6c14\u9981~<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">Linux\u6280\u672f\u4ea4\u6d41\u8bf7\u52a0A\u7fa4\uff1a560843(<strong style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\">\u6ee1<\/span><\/strong>)\uff0cB\u7fa4\uff1a340829(<span style=\"box-sizing: border-box; color: #008000;\">\u63a8\u8350<\/span>)\uff0cC\u7fa4\uff1a463590\uff08<strong style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\">\u63a8\u8350<\/span><\/strong>\uff09\uff0c<a href=\"https:\/\/www.linuxprobe.com\/club\" style=\"box-sizing: border-box; color: rgb(210, 50, 45); text-decoration: none;\">\u70b9\u6b64\u67e5\u770b\u5168\u56fd\u7fa4<\/a>\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 0px; font-size: 14px; line-height: 23px; text-indent: 1em; text-align: justify;\">*\u672c\u7fa4\u7279\u8272\uff1a\u901a\u8fc7\u53e3\u4ee4\u9a8c\u8bc1\u786e\u4fdd\u6bcf\u4e00\u4e2a\u7fa4\u5458\u90fd\u662f\u300aLinux\u5c31\u8be5\u8fd9\u4e48\u5b66\u300b\u7684\u8bfb\u8005\uff0c\u7b54\u7591\u66f4\u6709\u9488\u5bf9\u6027\uff0c\u4e0d\u5b9a\u671f\u514d\u8d39\u9886\u53d6\u5b9a\u5236\u793c\u54c1\u3002<\/p>\n<\/blockquote>\n<h5 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 100; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 14px; color: rgb(61, 68, 80); white-space: normal; background-color: rgb(255, 255, 255);\"><span id=\"122_NFS\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">12.2 NFS\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf<\/strong><\/span><\/span><\/h5>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u5982\u679c\u5927\u5bb6\u89c9\u5f97Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u592a\u9ebb\u70e6\uff0c\u800c\u4e14\u6070\u5de7\u9700\u8981\u5171\u4eab\u6587\u4ef6\u7684\u4e3b\u673a\u90fd\u662fLinux\u7cfb\u7edf\uff0c\u5218\u9044\u8001\u5e08\u975e\u5e38\u63a8\u8350\u5927\u5bb6\u5728\u5ba2\u6237\u7aef\u90e8\u7f72NFS\u670d\u52a1\u6765\u5171\u4eab\u6587\u4ef6\u3002NFS\uff08\u7f51\u7edc\u6587\u4ef6\u7cfb\u7edf\uff09\u670d\u52a1\u53ef\u4ee5\u5c06\u8fdc\u7a0bLinux\u7cfb\u7edf\u4e0a\u7684\u6587\u4ef6\u5171\u4eab\u8d44\u6e90\u6302\u8f7d\u5230\u672c\u5730\u4e3b\u673a\u7684\u76ee\u5f55\u4e0a\uff0c\u4ece\u800c\u4f7f\u5f97\u672c\u5730\u4e3b\u673a\uff08Linux\u5ba2\u6237\u7aef\uff09\u57fa\u4e8eTCP\/IP\u534f\u8bae\uff0c\u50cf\u4f7f\u7528\u672c\u5730\u4e3b\u673a\u4e0a\u7684\u8d44\u6e90\u90a3\u6837\u8bfb\u5199\u8fdc\u7a0bLinux\u7cfb\u7edf\u4e0a\u7684\u5171\u4eab\u6587\u4ef6\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u7531\u4e8eRHEL 7\u7cfb\u7edf\u4e2d\u9ed8\u8ba4\u5df2\u7ecf\u5b89\u88c5\u4e86NFS\u670d\u52a1\uff0c\u5916\u52a0NFS\u670d\u52a1\u7684\u914d\u7f6e\u6b65\u9aa4\u4e5f\u5f88\u7b80\u5355\uff0c\u56e0\u6b64\u5218\u9044\u8001\u5e08\u5728\u6388\u8bfe\u65f6\u4f1a\u5c06NFS\u620f\u8c11\u4e3aNeed For Speed\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u51c6\u5907\u914d\u7f6eNFS\u670d\u52a1\u3002\u9996\u5148\u8bf7\u4f7f\u7528Yum\u8f6f\u4ef6\u4ed3\u5e93\u68c0\u67e5\u81ea\u5df1\u7684RHEL 7\u7cfb\u7edf\u4e2d\u662f\u5426\u5df2\u7ecf\u5b89\u88c5\u4e86NFS\u8f6f\u4ef6\u5305\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;yum&nbsp;install&nbsp;nfs-utils\r\nLoaded&nbsp;plugins:&nbsp;langpacks,&nbsp;product-id,&nbsp;subscription-manager\r\n(1\/2):&nbsp;rhel7\/group_gz&nbsp;|&nbsp;134&nbsp;kB&nbsp;00:00\r\n(2\/2):&nbsp;rhel7\/primary_db&nbsp;|&nbsp;3.4&nbsp;MB&nbsp;00:00Package&nbsp;1:nfs-utils-1.3.0-0.el7.x86_64&nbsp;already&nbsp;installed&nbsp;and&nbsp;latest&nbsp;versionNothing&nbsp;to&nbsp;do<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b2c1\u6b65<\/strong>\uff1a\u4e3a\u4e86\u68c0\u9a8cNFS\u670d\u52a1\u914d\u7f6e\u7684\u6548\u679c\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528\u4e24\u53f0Linux\u4e3b\u673a\uff08\u4e00\u53f0\u5145\u5f53NFS\u670d\u52a1\u5668\uff0c\u4e00\u53f0\u5145\u5f53NFS\u5ba2\u6237\u7aef\uff09\uff0c\u5e76\u6309\u7167\u886812-6\u6765\u8bbe\u7f6e\u5b83\u4eec\u6240\u4f7f\u7528\u7684IP\u5730\u5740\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u886812-6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u4e24\u53f0Linux\u4e3b\u673a\u6240\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\u4ee5\u53caIP\u5730\u5740<\/p>\n<table id=\"tablepress-81\" class=\"tablepress tablepress-id-81\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4e3b\u673a\u540d\u79f0<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u64cd\u4f5c\u7cfb\u7edf<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">IP\u5730\u5740<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">NFS\u670d\u52a1\u7aef<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">RHEL 7<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">192.168.10.10<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">NFS\u5ba2\u6237\u7aef<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">RHEL 7<\/td>\n<td class=\"column-3\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">192.168.10.20<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u53e6\u5916\uff0c\u4e0d\u8981\u5fd8\u8bb0\u6e05\u7a7aNFS\u670d\u52a1\u5668\u4e0a\u9762iptables\u9632\u706b\u5899\u7684\u9ed8\u8ba4\u7b56\u7565\uff0c\u4ee5\u514d\u9ed8\u8ba4\u7684\u9632\u706b\u5899\u7b56\u7565\u7981\u6b62\u6b63\u5e38\u7684NFS\u5171\u4eab\u670d\u52a1\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;iptables&nbsp;-F\r\n[root@linuxprobe&nbsp;~]#&nbsp;service&nbsp;iptables&nbsp;save\r\niptables:&nbsp;Saving&nbsp;firewall&nbsp;rules&nbsp;to&nbsp;\/etc\/sysconfig\/iptables:[&nbsp;OK&nbsp;]<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b2c2\u6b65<\/strong>\uff1a\u5728NFS\u670d\u52a1\u5668\u4e0a\u5efa\u7acb\u7528\u4e8eNFS\u6587\u4ef6\u5171\u4eab\u7684\u76ee\u5f55\uff0c\u5e76\u8bbe\u7f6e\u8db3\u591f\u7684\u6743\u9650\u786e\u4fdd\u5176\u4ed6\u4eba\u4e5f\u6709\u5199\u5165\u6743\u9650\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;mkdir&nbsp;\/nfsfile\r\n[root@linuxprobe&nbsp;~]#&nbsp;chmod&nbsp;-Rf&nbsp;777&nbsp;\/nfsfile\r\n[root@linuxprobe&nbsp;~]#&nbsp;echo&nbsp;&quot;welcome&nbsp;to&nbsp;linuxprobe.com&quot;&nbsp;&gt;&nbsp;\/nfsfile\/readme<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b2c3\u6b65<\/strong>\uff1aNFS\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u6587\u4ef6\u4e3a\/etc\/exports\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u91cc\u9762\u6ca1\u6709\u4efb\u4f55\u5185\u5bb9\u3002\u6211\u4eec\u53ef\u4ee5\u6309\u7167\u201c\u5171\u4eab\u76ee\u5f55\u7684\u8def\u5f84 \u5141\u8bb8\u8bbf\u95ee\u7684NFS\u5ba2\u6237\u7aef\uff08\u5171\u4eab\u6743\u9650\u53c2\u6570\uff09\u201d\u7684\u683c\u5f0f\uff0c\u5b9a\u4e49\u8981\u5171\u4eab\u7684\u76ee\u5f55\u4e0e\u76f8\u5e94\u7684\u6743\u9650\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u4f8b\u5982\uff0c\u5982\u679c\u60f3\u8981\u628a\/nfsfile\u76ee\u5f55\u5171\u4eab\u7ed9192.168.10.0\/24\u7f51\u6bb5\u5185\u7684\u6240\u6709\u4e3b\u673a\uff0c\u8ba9\u8fd9\u4e9b\u4e3b\u673a\u90fd\u62e5\u6709\u8bfb\u5199\u6743\u9650\uff0c\u5728\u5c06\u6570\u636e\u5199\u5165\u5230NFS\u670d\u52a1\u5668\u7684\u786c\u76d8\u4e2d\u540e\u624d\u4f1a\u7ed3\u675f\u64cd\u4f5c\uff0c\u6700\u5927\u9650\u5ea6\u4fdd\u8bc1\u6570\u636e\u4e0d\u4e22\u5931\uff0c\u4ee5\u53ca\u628a\u6765\u8bbf\u5ba2\u6237\u7aefroot\u7ba1\u7406\u5458\u6620\u5c04\u4e3a\u672c\u5730\u7684\u533f\u540d\u7528\u6237\u7b49\uff0c\u5219\u53ef\u4ee5\u6309\u7167\u4e0b\u9762\u547d\u4ee4\u4e2d\u7684\u683c\u5f0f\uff0c\u5c06\u886812-7\u4e2d\u7684\u53c2\u6570\u5199\u5230NFS\u670d\u52a1\u7a0b\u5e8f\u7684\u914d\u7f6e\u6587\u4ef6\u4e2d\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u886812-7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \u7528\u4e8e\u914d\u7f6eNFS\u670d\u52a1\u7a0b\u5e8f\u914d\u7f6e\u6587\u4ef6\u7684\u53c2\u6570<\/p>\n<table id=\"tablepress-82\" class=\"tablepress tablepress-id-82\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u53c2\u6570<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4f5c\u7528<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">ro<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u53ea\u8bfb<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">rw<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u8bfb\u5199<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">root_squash<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u5f53NFS\u5ba2\u6237\u7aef\u4ee5root\u7ba1\u7406\u5458\u8bbf\u95ee\u65f6\uff0c\u6620\u5c04\u4e3aNFS\u670d\u52a1\u5668\u7684\u533f\u540d\u7528\u6237<\/td>\n<\/tr>\n<tr class=\"row-5 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">no_root_squash<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u5f53NFS\u5ba2\u6237\u7aef\u4ee5root\u7ba1\u7406\u5458\u8bbf\u95ee\u65f6\uff0c\u6620\u5c04\u4e3aNFS\u670d\u52a1\u5668\u7684root\u7ba1\u7406\u5458<\/td>\n<\/tr>\n<tr class=\"row-6 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">all_squash<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u65e0\u8bbaNFS\u5ba2\u6237\u7aef\u4f7f\u7528\u4ec0\u4e48\u8d26\u6237\u8bbf\u95ee\uff0c\u5747\u6620\u5c04\u4e3aNFS\u670d\u52a1\u5668\u7684\u533f\u540d\u7528\u6237<\/td>\n<\/tr>\n<tr class=\"row-7 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">sync<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u540c\u65f6\u5c06\u6570\u636e\u5199\u5165\u5230\u5185\u5b58\u4e0e\u786c\u76d8\u4e2d\uff0c\u4fdd\u8bc1\u4e0d\u4e22\u5931\u6570\u636e<\/td>\n<\/tr>\n<tr class=\"row-8 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">async<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u4f18\u5148\u5c06\u6570\u636e\u4fdd\u5b58\u5230\u5185\u5b58\uff0c\u7136\u540e\u518d\u5199\u5165\u786c\u76d8\uff1b\u8fd9\u6837\u6548\u7387\u66f4\u9ad8\uff0c\u4f46\u53ef\u80fd\u4f1a\u4e22\u5931\u6570\u636e<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u8bf7\u6ce8\u610f\uff0cNFS\u5ba2\u6237\u7aef\u5730\u5740\u4e0e\u6743\u9650\u4e4b\u95f4\u6ca1\u6709\u7a7a\u683c\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;vim&nbsp;\/etc\/exports\r\n\/nfsfile&nbsp;192.168.10.*(rw,sync,root_squash)<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b2c4\u6b65<\/strong>\uff1a\u542f\u52a8\u548c\u542f\u7528NFS\u670d\u52a1\u7a0b\u5e8f\u3002\u7531\u4e8e\u5728\u4f7f\u7528NFS\u670d\u52a1\u8fdb\u884c\u6587\u4ef6\u5171\u4eab\u4e4b\u524d\uff0c\u9700\u8981\u4f7f\u7528RPC\uff08Remote Procedure Call\uff0c\u8fdc\u7a0b\u8fc7\u7a0b\u8c03\u7528\uff09\u670d\u52a1\u5c06NFS\u670d\u52a1\u5668\u7684IP\u5730\u5740\u548c\u7aef\u53e3\u53f7\u7b49\u4fe1\u606f\u53d1\u9001\u7ed9\u5ba2\u6237\u7aef\u3002\u56e0\u6b64\uff0c\u5728\u542f\u52a8NFS\u670d\u52a1\u4e4b\u524d\uff0c\u8fd8\u9700\u8981\u987a\u5e26\u91cd\u542f\u5e76\u542f\u7528rpcbind\u670d\u52a1\u7a0b\u5e8f\uff0c\u5e76\u5c06\u8fd9\u4e24\u4e2a\u670d\u52a1\u4e00\u5e76\u52a0\u5165\u5f00\u673a\u542f\u52a8\u9879\u4e2d\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;systemctl&nbsp;restart&nbsp;rpcbind\r\n[root@linuxprobe&nbsp;~]#&nbsp;systemctl&nbsp;enable&nbsp;rpcbind\r\n[root@linuxprobe&nbsp;~]#&nbsp;systemctl&nbsp;start&nbsp;nfs-server\r\n[root@linuxprobe&nbsp;~]#&nbsp;systemctl&nbsp;enable&nbsp;nfs-server\r\nln&nbsp;-s&nbsp;&#39;\/usr\/lib\/systemd\/system\/nfs-server.service&#39;&nbsp;&#39;\/etc\/systemd\/system\/nfs.target.wants\/nfs-server.service&#39;<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">NFS\u5ba2\u6237\u7aef\u7684\u914d\u7f6e\u6b65\u9aa4\u4e5f\u5341\u5206\u7b80\u5355\u3002\u5148\u4f7f\u7528showmount\u547d\u4ee4\uff08\u4ee5\u53ca\u5fc5\u8981\u7684\u53c2\u6570\uff0c\u89c1\u886812-8\uff09\u67e5\u8be2NFS\u670d\u52a1\u5668\u7684\u8fdc\u7a0b\u5171\u4eab\u4fe1\u606f\uff0c\u5176\u8f93\u51fa\u683c\u5f0f\u4e3a\u201c\u5171\u4eab\u7684\u76ee\u5f55\u540d\u79f0 \u5141\u8bb8\u4f7f\u7528\u5ba2\u6237\u7aef\u5730\u5740\u201d\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u886812-8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; showmount\u547d\u4ee4\u4e2d\u53ef\u7528\u7684\u53c2\u6570\u4ee5\u53ca\u4f5c\u7528<\/p>\n<table id=\"tablepress-83\" class=\"tablepress tablepress-id-83\" width=\"712\">\n<tbody class=\"row-hover\" style=\"box-sizing: border-box;\">\n<tr class=\"row-1 odd firstRow\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u53c2\u6570<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-top-width: 0px; border-right-style: none; border-bottom-style: none; border-left-style: none; border-color: initial; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u4f5c\u7528<\/td>\n<\/tr>\n<tr class=\"row-2 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">-e<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u663e\u793aNFS\u670d\u52a1\u5668\u7684\u5171\u4eab\u5217\u8868<\/td>\n<\/tr>\n<tr class=\"row-3 odd\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">-a<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background: 0px 0px rgb(249, 249, 249);\">\u663e\u793a\u672c\u673a\u6302\u8f7d\u7684\u6587\u4ef6\u8d44\u6e90\u7684\u60c5\u51b5NFS\u8d44\u6e90\u7684\u60c5\u51b5<\/td>\n<\/tr>\n<tr class=\"row-4 even\" style=\"box-sizing: border-box;\">\n<td class=\"column-1\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">-v<\/td>\n<td class=\"column-2\" style=\"box-sizing: border-box; padding: 8px; border-right-style: none; border-bottom-style: none; border-left-style: none; vertical-align: top; float: none !important; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: 0px 0px; background-repeat: initial;\">\u663e\u793a\u7248\u672c\u53f7<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;showmount&nbsp;-e&nbsp;192.168.10.10\r\nExport&nbsp;list&nbsp;for&nbsp;192.168.10.10:\r\n\/nfsfile&nbsp;192.168.10.*<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u7136\u540e\u5728NFS\u5ba2\u6237\u7aef\u521b\u5efa\u4e00\u4e2a\u6302\u8f7d\u76ee\u5f55\u3002\u4f7f\u7528mount\u547d\u4ee4\u5e76\u7ed3\u5408-t\u53c2\u6570\uff0c\u6307\u5b9a\u8981\u6302\u8f7d\u7684\u6587\u4ef6\u7cfb\u7edf\u7684\u7c7b\u578b\uff0c\u5e76\u5728\u547d\u4ee4\u540e\u9762\u5199\u4e0a\u670d\u52a1\u5668\u7684IP\u5730\u5740\u3001\u670d\u52a1\u5668\u4e0a\u7684\u5171\u4eab\u76ee\u5f55\u4ee5\u53ca\u8981\u6302\u8f7d\u5230\u672c\u5730\u7cfb\u7edf\uff08\u5373\u5ba2\u6237\u7aef\uff09\u7684\u76ee\u5f55\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;mkdir&nbsp;\/nfsfile\r\n[root@linuxprobe&nbsp;~]#&nbsp;mount&nbsp;-t&nbsp;nfs&nbsp;192.168.10.10:\/nfsfile&nbsp;\/nfsfile<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u6302\u8f7d\u6210\u529f\u540e\u5c31\u5e94\u8be5\u80fd\u591f\u987a\u5229\u5730\u770b\u5230\u5728\u6267\u884c\u524d\u9762\u7684\u64cd\u4f5c\u65f6\u5199\u5165\u7684\u6587\u4ef6\u5185\u5bb9\u4e86\u3002\u5982\u679c\u5e0c\u671bNFS\u6587\u4ef6\u5171\u4eab\u670d\u52a1\u80fd\u4e00\u76f4\u6709\u6548\uff0c\u5219\u9700\u8981\u5c06\u5176\u5199\u5165\u5230fstab\u6587\u4ef6\u4e2d\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;cat&nbsp;\/nfsfile\/readme\r\nwelcome&nbsp;to&nbsp;linuxprobe.com\r\n[root@linuxprobe&nbsp;~]#&nbsp;vim&nbsp;\/etc\/fstab&nbsp;\r\n#\r\n#&nbsp;\/etc\/fstab\r\n#&nbsp;Created&nbsp;by&nbsp;anaconda&nbsp;on&nbsp;Wed&nbsp;May&nbsp;4&nbsp;19:26:23&nbsp;2017\r\n#\r\n#&nbsp;Accessible&nbsp;filesystems,&nbsp;by&nbsp;reference,&nbsp;are&nbsp;maintained&nbsp;under&nbsp;&#39;\/dev\/disk&#39;\r\n#&nbsp;See&nbsp;man&nbsp;pages&nbsp;fstab(5),&nbsp;findfs(8),&nbsp;mount(8)&nbsp;and\/or&nbsp;blkid(8)&nbsp;for&nbsp;more&nbsp;info\r\n#\r\n\/dev\/mapper\/rhel-root&nbsp;\/&nbsp;xfs&nbsp;defaults&nbsp;1&nbsp;1\r\nUUID=812b1f7c-8b5b-43da-8c06-b9999e0fe48b&nbsp;\/boot&nbsp;xfs&nbsp;defaults&nbsp;1&nbsp;2\r\n\/dev\/mapper\/rhel-swap&nbsp;swap&nbsp;swap&nbsp;defaults&nbsp;0&nbsp;0\r\n\/dev\/cdrom&nbsp;\/media\/cdrom&nbsp;iso9660&nbsp;defaults&nbsp;0&nbsp;0&nbsp;\r\n192.168.10.10:\/nfsfile&nbsp;\/nfsfile&nbsp;nfs&nbsp;defaults&nbsp;0&nbsp;0<\/pre>\n<h5 style=\"box-sizing: border-box; font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-weight: 100; line-height: 1.1; margin-top: 10px; margin-bottom: 10px; font-size: 14px; color: rgb(61, 68, 80); white-space: normal; background-color: rgb(255, 255, 255);\"><span id=\"123_AutoFs\" style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\"><strong style=\"box-sizing: border-box;\">12.3 AutoFs\u81ea\u52a8\u6302\u8f7d\u670d\u52a1<\/strong><\/span><\/span><\/h5>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u65e0\u8bba\u662fSamba\u670d\u52a1\u8fd8\u662fNFS\u670d\u52a1\uff0c\u90fd\u8981\u628a\u6302\u8f7d\u4fe1\u606f\u5199\u5165\u5230\/etc\/fstab\u4e2d\uff0c\u8fd9\u6837\u8fdc\u7a0b\u5171\u4eab\u8d44\u6e90\u5c31\u4f1a\u81ea\u52a8\u968f\u670d\u52a1\u5668\u5f00\u673a\u800c\u8fdb\u884c\u6302\u8f7d\u3002\u867d\u7136\u8fd9\u5f88\u65b9\u4fbf\uff0c\u4f46\u662f\u5982\u679c\u6302\u8f7d\u7684\u8fdc\u7a0b\u8d44\u6e90\u592a\u591a\uff0c\u5219\u4f1a\u7ed9\u7f51\u7edc\u5e26\u5bbd\u548c\u670d\u52a1\u5668\u7684\u786c\u4ef6\u8d44\u6e90\u5e26\u6765\u5f88\u5927\u8d1f\u8f7d\u3002\u5982\u679c\u5728\u8d44\u6e90\u6302\u8f7d\u540e\u957f\u671f\u4e0d\u4f7f\u7528\uff0c\u4e5f\u4f1a\u9020\u6210\u670d\u52a1\u5668\u786c\u4ef6\u8d44\u6e90\u7684\u6d6a\u8d39\u3002\u53ef\u80fd\u4f1a\u6709\u8bfb\u8005\u8bf4\uff0c\u201c\u53ef\u4ee5\u5728\u6bcf\u6b21\u4f7f\u7528\u4e4b\u524d\u6267\u884cmount\u547d\u4ee4\u8fdb\u884c\u624b\u52a8\u6302\u8f7d\u201d\u3002\u8fd9\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u4f46\u662f\u6bcf\u6b21\u90fd\u9700\u8981\u5148\u6302\u8f7d\u518d\u4f7f\u7528\uff0c\u60a8\u4e0d\u89c9\u5f97\u9ebb\u70e6\u5417\uff1f<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">autofs\u81ea\u52a8\u6302\u8f7d\u670d\u52a1\u53ef\u4ee5\u5e2e\u6211\u4eec\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u3002\u4e0emount\u547d\u4ee4\u4e0d\u540c\uff0cautofs\u670d\u52a1\u7a0b\u5e8f\u662f\u4e00\u79cdLinux\u7cfb\u7edf\u5b88\u62a4\u8fdb\u7a0b\uff0c\u5f53\u68c0\u6d4b\u5230\u7528\u6237\u8bd5\u56fe\u8bbf\u95ee\u4e00\u4e2a\u5c1a\u672a\u6302\u8f7d\u7684\u6587\u4ef6\u7cfb\u7edf\u65f6\uff0c\u5c06\u81ea\u52a8\u6302\u8f7d\u8be5\u6587\u4ef6\u7cfb\u7edf\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u6211\u4eec\u5c06\u6302\u8f7d\u4fe1\u606f\u586b\u5165\/etc\/fstab\u6587\u4ef6\u540e\uff0c\u7cfb\u7edf\u5728\u6bcf\u6b21\u5f00\u673a\u65f6\u90fd\u81ea\u52a8\u5c06\u5176\u6302\u8f7d\uff0c\u800cautofs\u670d\u52a1\u7a0b\u5e8f\u5219\u662f\u5728\u7528\u6237\u9700\u8981\u4f7f\u7528\u8be5\u6587\u4ef6\u7cfb\u7edf\u65f6\u624d\u53bb\u52a8\u6001\u6302\u8f7d\uff0c\u4ece\u800c\u8282\u7ea6\u4e86\u7f51\u7edc\u8d44\u6e90\u548c\u670d\u52a1\u5668\u7684\u786c\u4ef6\u8d44\u6e90\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;yum&nbsp;install&nbsp;autofs\r\nLoaded&nbsp;plugins:&nbsp;langpacks,&nbsp;product-id,&nbsp;subscription-manager\r\nThis&nbsp;system&nbsp;is&nbsp;not&nbsp;registered&nbsp;to&nbsp;Red&nbsp;Hat&nbsp;Subscription&nbsp;Management.&nbsp;You&nbsp;can&nbsp;use&nbsp;subscription-manager&nbsp;to&nbsp;register.\r\nrhel&nbsp;|&nbsp;4.1&nbsp;kB&nbsp;00:00&nbsp;\r\nResolving&nbsp;Dependencies\r\n--&gt;&nbsp;Running&nbsp;transaction&nbsp;check\r\n---&gt;&nbsp;Package&nbsp;autofs.x86_64&nbsp;1:5.0.7-40.el7&nbsp;will&nbsp;be&nbsp;installed\r\n--&gt;&nbsp;Processing&nbsp;Dependency:&nbsp;libhesiod.so.0()(64bit)&nbsp;for&nbsp;package:&nbsp;1:autofs-5.0.7-40.el7.x86_64\r\n--&gt;&nbsp;Running&nbsp;transaction&nbsp;check\r\n---&gt;&nbsp;Package&nbsp;hesiod.x86_64&nbsp;0:3.2.1-3.el7&nbsp;will&nbsp;be&nbsp;installed\r\n--&gt;&nbsp;Finished&nbsp;Dependency&nbsp;Resolution\r\nDependencies&nbsp;Resolved\r\n================================================================================\r\n&nbsp;Package&nbsp;Arch&nbsp;Version&nbsp;Repository&nbsp;Size\r\n================================================================================\r\nInstalling:\r\n&nbsp;autofs&nbsp;x86_64&nbsp;1:5.0.7-40.el7&nbsp;rhel&nbsp;550&nbsp;k\r\nInstalling&nbsp;for&nbsp;dependencies:\r\n&nbsp;hesiod&nbsp;x86_64&nbsp;3.2.1-3.el7&nbsp;rhel&nbsp;30&nbsp;k\r\nTransaction&nbsp;Summary\r\n================================================================================\r\nInstall&nbsp;1&nbsp;Package&nbsp;(+1&nbsp;Dependent&nbsp;package)\r\nTotal&nbsp;download&nbsp;size:&nbsp;579&nbsp;k\r\nInstalled&nbsp;size:&nbsp;3.6&nbsp;M\r\nIs&nbsp;this&nbsp;ok&nbsp;[y\/d\/N]:&nbsp;yDownloading&nbsp;packages:\r\n--------------------------------------------------------------------------------\r\nTotal&nbsp;9.4&nbsp;MB\/s&nbsp;|&nbsp;579&nbsp;kB&nbsp;00:00&nbsp;\r\nRunning&nbsp;transaction&nbsp;check\r\nRunning&nbsp;transaction&nbsp;test\r\nTransaction&nbsp;test&nbsp;succeeded\r\nRunning&nbsp;transaction\r\n&nbsp;Installing&nbsp;:&nbsp;hesiod-3.2.1-3.el7.x86_64&nbsp;1\/2&nbsp;\r\n&nbsp;Installing&nbsp;:&nbsp;1:autofs-5.0.7-40.el7.x86_64&nbsp;2\/2&nbsp;\r\n&nbsp;Verifying&nbsp;:&nbsp;hesiod-3.2.1-3.el7.x86_64&nbsp;1\/2&nbsp;\r\n&nbsp;Verifying&nbsp;:&nbsp;1:autofs-5.0.7-40.el7.x86_64&nbsp;2\/2&nbsp;\r\nInstalled:\r\n&nbsp;autofs.x86_64&nbsp;1:5.0.7-40.el7&nbsp;\r\nDependency&nbsp;Installed:\r\n&nbsp;hesiod.x86_64&nbsp;0:3.2.1-3.el7&nbsp;\r\nComplete!<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u5904\u4e8e\u751f\u4ea7\u73af\u5883\u4e2d\u7684Linux\u670d\u52a1\u5668\uff0c\u4e00\u822c\u4f1a\u540c\u65f6\u7ba1\u7406\u8bb8\u591a\u8bbe\u5907\u7684\u6302\u8f7d\u64cd\u4f5c\u3002\u5982\u679c\u628a\u8fd9\u4e9b\u8bbe\u5907\u6302\u8f7d\u4fe1\u606f\u90fd\u5199\u5165\u5230autofs\u670d\u52a1\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u65e0\u7591\u4f1a\u8ba9\u4e3b\u914d\u7f6e\u6587\u4ef6\u81c3\u80bf\u4e0d\u582a\uff0c\u4e0d\u5229\u4e8e\u670d\u52a1\u6267\u884c\u6548\u7387\uff0c\u4e5f\u4e0d\u5229\u4e8e\u65e5\u540e\u4fee\u6539\u91cc\u9762\u7684\u914d\u7f6e\u5185\u5bb9\uff0c\u56e0\u6b64\u5728autofs\u670d\u52a1\u7a0b\u5e8f\u7684\u4e3b\u914d\u7f6e\u6587\u4ef6\u4e2d\u9700\u8981\u6309\u7167\u201c\u6302\u8f7d\u76ee\u5f55 \u5b50\u914d\u7f6e\u6587\u4ef6\u201d\u7684\u683c\u5f0f\u8fdb\u884c\u586b\u5199\u3002\u6302\u8f7d\u76ee\u5f55\u662f\u8bbe\u5907\u6302\u8f7d\u4f4d\u7f6e\u7684\u4e0a\u4e00\u7ea7\u76ee\u5f55\u3002\u4f8b\u5982\uff0c\u5149\u76d8\u8bbe\u5907\u4e00\u822c\u6302\u8f7d\u5230\/media\/cdrom\u76ee\u5f55\u4e2d\uff0c\u90a3\u4e48\u6302\u8f7d\u76ee\u5f55\u5199\u6210\/media\u5373\u53ef\u3002\u5bf9\u5e94\u7684\u5b50\u914d\u7f6e\u6587\u4ef6\u5219\u662f\u5bf9\u8fd9\u4e2a\u6302\u8f7d\u76ee\u5f55\u5185\u7684\u6302\u8f7d\u8bbe\u5907\u4fe1\u606f\u4f5c\u8fdb\u4e00\u6b65\u7684\u8bf4\u660e\u3002\u5b50\u914d\u7f6e\u6587\u4ef6\u9700\u8981\u7528\u6237\u81ea\u884c\u5b9a\u4e49\uff0c\u6587\u4ef6\u540d\u5b57\u6ca1\u6709\u4e25\u683c\u8981\u6c42\uff0c\u4f46\u540e\u7f00\u5efa\u8bae\u4ee5.misc\u7ed3\u675f\u3002\u5177\u4f53\u7684\u914d\u7f6e\u53c2\u6570\u5982\u7b2c7\u884c\u7684\u52a0\u7c97\u5b57\u6240\u793a\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;vim&nbsp;\/etc\/auto.master\r\n#\r\n#&nbsp;Sample&nbsp;auto.master&nbsp;file\r\n#&nbsp;This&nbsp;is&nbsp;an&nbsp;automounter&nbsp;map&nbsp;and&nbsp;it&nbsp;has&nbsp;the&nbsp;following&nbsp;format\r\n#&nbsp;key&nbsp;[&nbsp;-mount-options-separated-by-comma&nbsp;]&nbsp;location\r\n#&nbsp;For&nbsp;details&nbsp;of&nbsp;the&nbsp;format&nbsp;look&nbsp;at&nbsp;autofs(5).\r\n#\/media&nbsp;\/etc\/iso.misc\/misc&nbsp;\/etc\/auto.misc\r\n#\r\n#&nbsp;NOTE:&nbsp;mounts&nbsp;done&nbsp;from&nbsp;a&nbsp;hosts&nbsp;map&nbsp;will&nbsp;be&nbsp;mounted&nbsp;with&nbsp;the\r\n#&nbsp;&quot;nosuid&quot;&nbsp;and&nbsp;&quot;nodev&quot;&nbsp;options&nbsp;unless&nbsp;the&nbsp;&quot;suid&quot;&nbsp;and&nbsp;&quot;dev&quot;\r\n#&nbsp;options&nbsp;are&nbsp;explicitly&nbsp;given.\r\n#\r\n\/net&nbsp;-hosts\r\n#\r\n#&nbsp;Include&nbsp;\/etc\/auto.master.d\/*.autofs\r\n#\r\n+dir:\/etc\/auto.master.d\r\n#\r\n#&nbsp;Include&nbsp;central&nbsp;master&nbsp;map&nbsp;if&nbsp;it&nbsp;can&nbsp;be&nbsp;found&nbsp;using\r\n#&nbsp;nsswitch&nbsp;sources.\r\n#\r\n#&nbsp;Note&nbsp;that&nbsp;if&nbsp;there&nbsp;are&nbsp;entries&nbsp;for&nbsp;\/net&nbsp;or&nbsp;\/misc&nbsp;(as\r\n#&nbsp;above)&nbsp;in&nbsp;the&nbsp;included&nbsp;master&nbsp;map&nbsp;any&nbsp;keys&nbsp;that&nbsp;are&nbsp;the\r\n#&nbsp;same&nbsp;will&nbsp;not&nbsp;be&nbsp;seen&nbsp;as&nbsp;the&nbsp;first&nbsp;read&nbsp;key&nbsp;seen&nbsp;takes\r\n#&nbsp;precedence.\r\n#\r\n+auto.master<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u5728\u5b50\u914d\u7f6e\u6587\u4ef6\u4e2d\uff0c\u5e94\u6309\u7167\u201c\u6302\u8f7d\u76ee\u5f55 \u6302\u8f7d\u6587\u4ef6\u7c7b\u578b\u53ca\u6743\u9650 :\u8bbe\u5907\u540d\u79f0\u201d\u7684\u683c\u5f0f\u8fdb\u884c\u586b\u5199\u3002\u4f8b\u5982\uff0c\u8981\u628a\u5149\u76d8\u8bbe\u5907\u6302\u8f7d\u5230\/media\/iso\u76ee\u5f55\u4e2d\uff0c\u53ef\u5c06\u6302\u8f7d\u76ee\u5f55\u5199\u4e3aiso\uff0c\u800c-fstype\u4e3a\u6587\u4ef6\u7cfb\u7edf\u683c\u5f0f\u53c2\u6570\uff0ciso9660\u4e3a\u5149\u76d8\u8bbe\u5907\u683c\u5f0f\uff0cro\u3001nosuid\u53canodev\u4e3a\u5149\u76d8\u8bbe\u5907\u5177\u4f53\u7684\u6743\u9650\u53c2\u6570\uff0c\/dev\/cdrom\u5219\u662f\u5b9a\u4e49\u8981\u6302\u8f7d\u7684\u8bbe\u5907\u540d\u79f0\u3002\u914d\u7f6e\u5b8c\u6210\u540e\u518d\u987a\u624b\u5c06autofs\u670d\u52a1\u7a0b\u5e8f\u542f\u52a8\u5e76\u52a0\u5165\u5230\u7cfb\u7edf\u542f\u52a8\u9879\u4e2d\uff1a<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;vim&nbsp;\/etc\/iso.misc\r\niso&nbsp;&nbsp;&nbsp;-fstype=iso9660,ro,nosuid,nodev&nbsp;:\/dev\/cdrom\r\n[root@linuxprobe&nbsp;~]#&nbsp;systemctl&nbsp;start&nbsp;autofs&nbsp;\r\n[root@linuxprobe&nbsp;~]#&nbsp;systemctl&nbsp;enable&nbsp;autofs&nbsp;\r\nln&nbsp;-s&nbsp;&#39;\/usr\/lib\/systemd\/system\/autofs.service&#39;&nbsp;&#39;\/etc\/systemd\/system\/multi-user.target.wants\/autofs.service&#39;<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">\u63a5\u4e0b\u6765\u5c06\u53d1\u751f\u4e00\u4ef6\u975e\u5e38\u6709\u8da3\u7684\u4e8b\u60c5\u3002\u6211\u4eec\u5148\u67e5\u770b\u5f53\u524d\u7684\u5149\u76d8\u8bbe\u5907\u6302\u8f7d\u60c5\u51b5\uff0c\u786e\u8ba4\u5149\u76d8\u8bbe\u5907\u6ca1\u6709\u88ab\u6302\u8f7d\u4e0a\uff0c\u800c\u4e14\/media\u76ee\u5f55\u4e2d\u6839\u672c\u5c31\u6ca1\u6709iso\u5b50\u76ee\u5f55\u3002\u4f46\u662f\uff0c\u6211\u4eec\u5374\u53ef\u4ee5\u4f7f\u7528cd\u547d\u4ee4\u5207\u6362\u5230\u8fd9\u4e2aiso\u5b50\u76ee\u5f55\u4e2d\uff0c\u800c\u4e14\u5149\u76d8\u8bbe\u5907\u4f1a\u88ab\u7acb\u5373\u81ea\u52a8\u6302\u8f7d\u4e0a\u3002\u6211\u4eec\u4e5f\u5c31\u80fd\u987a\u5229\u67e5\u770b\u5149\u76d8\u5185\u7684\u5185\u5bb9\u4e86\u3002<\/p>\n<pre style=\"box-sizing: border-box; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; white-space: pre-wrap; padding: 9.5px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-radius: 4px; background-color: rgb(245, 245, 245);\">[root@linuxprobe&nbsp;~]#&nbsp;df&nbsp;-h\r\nFilesystem&nbsp;Size&nbsp;Used&nbsp;Avail&nbsp;Use%&nbsp;Mounted&nbsp;on\r\n\/dev\/mapper\/rhel-root&nbsp;18G&nbsp;3.0G&nbsp;15G&nbsp;17%&nbsp;\/\r\ndevtmpfs&nbsp;905M&nbsp;0&nbsp;905M&nbsp;0%&nbsp;\/dev\r\ntmpfs&nbsp;914M&nbsp;140K&nbsp;914M&nbsp;1%&nbsp;\/dev\/shm\r\ntmpfs&nbsp;914M&nbsp;8.9M&nbsp;905M&nbsp;1%&nbsp;\/run\r\ntmpfs&nbsp;914M&nbsp;0&nbsp;914M&nbsp;0%&nbsp;\/sys\/fs\/cgroup\r\n\/dev\/sda1&nbsp;497M&nbsp;119M&nbsp;379M&nbsp;24%&nbsp;\/boot\r\n[root@linuxprobe&nbsp;~]#&nbsp;cd&nbsp;\/media\r\n[root@linuxprobe&nbsp;media]#&nbsp;ls\r\n[root@linuxprobe&nbsp;media]#&nbsp;cd&nbsp;iso\r\n[root@linuxprobe&nbsp;iso]#&nbsp;ls&nbsp;-l\r\ntotal&nbsp;812\r\ndr-xr-xr-x.&nbsp;4&nbsp;root&nbsp;root&nbsp;2048&nbsp;May&nbsp;7&nbsp;2017&nbsp;addons\r\ndr-xr-xr-x.&nbsp;3&nbsp;root&nbsp;root&nbsp;2048&nbsp;May&nbsp;7&nbsp;2017&nbsp;EFI\r\n-r--r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;8266&nbsp;Apr&nbsp;4&nbsp;2017&nbsp;EULA\r\n-r--r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;18092&nbsp;Mar&nbsp;6&nbsp;2012&nbsp;GPL\r\ndr-xr-xr-x.&nbsp;3&nbsp;root&nbsp;root&nbsp;2048&nbsp;May&nbsp;7&nbsp;2017&nbsp;images\r\ndr-xr-xr-x.&nbsp;2&nbsp;root&nbsp;root&nbsp;2048&nbsp;May&nbsp;7&nbsp;2017&nbsp;isolinux\r\ndr-xr-xr-x.&nbsp;2&nbsp;root&nbsp;root&nbsp;2048&nbsp;May&nbsp;7&nbsp;2017&nbsp;LiveOS\r\n-r--r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;108&nbsp;May&nbsp;7&nbsp;2017&nbsp;media.repo\r\ndr-xr-xr-x.&nbsp;2&nbsp;root&nbsp;root&nbsp;774144&nbsp;May&nbsp;7&nbsp;2017&nbsp;Packages\r\ndr-xr-xr-x.&nbsp;24&nbsp;root&nbsp;root&nbsp;6144&nbsp;May&nbsp;7&nbsp;2017&nbsp;release-notes\r\ndr-xr-xr-x.&nbsp;2&nbsp;root&nbsp;root&nbsp;4096&nbsp;May&nbsp;7&nbsp;2017&nbsp;repodata\r\n-r--r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;3375&nbsp;Apr&nbsp;1&nbsp;2017&nbsp;RPM-GPG-KEY-redhat-beta\r\n-r--r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;3211&nbsp;Apr&nbsp;1&nbsp;2017&nbsp;RPM-GPG-KEY-redhat-release\r\n-r--r--r--.&nbsp;1&nbsp;root&nbsp;root&nbsp;1568&nbsp;May&nbsp;7&nbsp;2017&nbsp;TRANS.TBL\r\n[root@linuxprobe&nbsp;~]#&nbsp;df&nbsp;-h\r\nFilesystem&nbsp;Size&nbsp;Used&nbsp;Avail&nbsp;Use%&nbsp;Mounted&nbsp;on\r\n\/dev\/mapper\/rhel-root&nbsp;18G&nbsp;3.0G&nbsp;15G&nbsp;17%&nbsp;\/\r\ndevtmpfs&nbsp;905M&nbsp;0&nbsp;905M&nbsp;0%&nbsp;\/dev\r\ntmpfs&nbsp;914M&nbsp;140K&nbsp;914M&nbsp;1%&nbsp;\/dev\/shm\r\ntmpfs&nbsp;914M&nbsp;8.9M&nbsp;905M&nbsp;1%&nbsp;\/run\r\ntmpfs&nbsp;914M&nbsp;0&nbsp;914M&nbsp;0%&nbsp;\/sys\/fs\/cgroup\/dev\/cdrom&nbsp;3.5G&nbsp;3.5G&nbsp;0&nbsp;100%&nbsp;\/media\/iso\/dev\/sda1&nbsp;497M&nbsp;119M&nbsp;379M&nbsp;24%&nbsp;\/boot<\/pre>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: center; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; color: #800080;\"><strong style=\"box-sizing: border-box;\"><span style=\"box-sizing: border-box; color: #008000;\">\u672c\u7ae0\u8282\u7684\u590d\u4e60\u4f5c\u4e1a<\/span><\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">1\uff0e\u8981\u60f3\u5b9e\u73b0Linux\u7cfb\u7edf\u4e0eWindows\u7cfb\u7edf\u4e4b\u95f4\u7684\u6587\u4ef6\u5171\u4eab\uff0c\u80fd\u5426\u4f7f\u7528NFS\u670d\u52a1\uff1f<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">\u4e0d\u53ef\u4ee5\uff0c\u5e94\u8be5\u4f7f\u7528Samba\u670d\u52a1\u7a0b\u5e8f\uff0cNFS\u670d\u52a1\u4ec5\u80fd\u5b9e\u73b0Linux\u7cfb\u7edf\u4e4b\u95f4\u7684\u6587\u4ef6\u5171\u4eab\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">2\uff0e\u7528\u4e8e\u7ba1\u7406Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u72ec\u7acb\u8d26\u6237\u4fe1\u606f\u6570\u636e\u5e93\u7684\u547d\u4ee4\u662f\u4ec0\u4e48\uff1f<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">pdbedit\u547d\u4ee4\u7528\u4e8e\u7ba1\u7406Samba\u670d\u52a1\u7a0b\u5e8f\u7684\u8d26\u6237\u4fe1\u606f\u6570\u636e\u5e93\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">3\uff0e\u7b80\u8ff0\u5728Windows\u7cfb\u7edf\u4e2d\u4f7f\u7528Samba\u670d\u52a1\u7a0b\u5e8f\u6765\u5171\u4eab\u8d44\u6e90\u7684\u65b9\u6cd5\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">\u5728\u5f00\u59cb\u83dc\u5355\u7684\u8f93\u5165\u6846\u4e2d\u6309\u7167\\\\192.168.10.10\u7684\u683c\u5f0f\u8f93\u5165\u8bbf\u95ee\u547d\u4ee4\u5e76\u56de\u8f66\u6267\u884c\u5373\u53ef\u3002\u5728Windows\u7684\u201c\u8fd0\u884c\u201d\u547d\u4ee4\u6846\u4e2d\u6309\u7167\u201c\\\\192.168.10.10\u201d\u7684\u683c\u5f0f\u8f93\u5165\u8bbf\u95ee\u547d\u4ee4\u5e76\u6309\u56de\u8f66\u952e\u5373\u53ef\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">4\uff0e\u7b80\u8ff0\u5728Linux\u7cfb\u7edf\u4e2d\u4f7f\u7528Samba\u670d\u52a1\u7a0b\u5e8f\u6765\u5171\u4eab\u8d44\u6e90\u7684\u6b65\u9aa4\u65b9\u6cd5\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">\u9996\u5148\u5e94\u521b\u5efa\u5bc6\u7801\u8ba4\u8bc1\u6587\u4ef6\u4ee5\u53ca\u6302\u8f7d\u76ee\u5f55\uff0c\u7136\u540e\u628a\u6302\u8f7d\u4fe1\u606f\u5199\u5165\u5230\/etc\/fstab\u6587\u4ef6\u4e2d\uff0c\u6700\u540e\u6267\u884cmount -a\u547d\u4ee4\u6302\u8f7d\u4f7f\u7528\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">5\uff0e\u5982\u679c\u5728Linux\u7cfb\u7edf\u4e2d\u9ed8\u8ba4\u6ca1\u6709\u5b89\u88c5NFS\u670d\u52a1\u7a0b\u5e8f\uff0c\u5219\u9700\u8981\u5b89\u88c5\u4ec0\u4e48\u8f6f\u4ef6\u5305\u5462\uff1f<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">NFS\u670d\u52a1\u7a0b\u5e8f\u7684\u8f6f\u4ef6\u5305\u540d\u5b57\u4e3anfs-utils\uff0c\u56e0\u6b64\u6267\u884cyum install nfs-utils\u547d\u4ee4\u5373\u53ef\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">6\uff0e\u5728\u4f7f\u7528NFS\u670d\u52a1\u5171\u4eab\u8d44\u6e90\u65f6\uff0c\u82e5\u5e0c\u671b\u65e0\u8bbaNFS\u5ba2\u6237\u7aef\u4f7f\u7528\u4ec0\u4e48\u5e10\u6237\u6765\u8bbf\u95ee\u5171\u4eab\u8d44\u6e90\uff0c\u90fd\u4f1a\u88ab\u6620\u5c04\u4e3a\u672c\u5730\u533f\u540d\u7528\u6237\uff0c\u5219\u9700\u8981\u6dfb\u52a0\u54ea\u4e2a\u53c2\u6570\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">\u9700\u8981\u6dfb\u52a0all_squash\u53c2\u6570\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u4fdd\u8bc1\u670d\u52a1\u5668\u7684\u5b89\u5168\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">7\uff0e\u5ba2\u6237\u7aef\u5728\u67e5\u770b\u5230\u8fdc\u7a0bNFS\u670d\u52a1\u5668\u4e0a\u7684\u5171\u4eab\u8d44\u6e90\u5217\u8868\u65f6\uff0c\u9700\u8981\u4f7f\u7528\u54ea\u4e2a\u547d\u4ee4\uff1f<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">\u4f7f\u7528showmount\u547d\u4ee4\u5373\u53ef\u770b\u5230NFS\u670d\u52a1\u5668\u4e0a\u7684\u8d44\u6e90\u5171\u4eab\u60c5\u51b5\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\">8\uff0e\u7b80\u8ff0autofs\u670d\u52a1\u7a0b\u5e8f\u7684\u4f5c\u7528\u3002<\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; text-align: justify; color: rgb(61, 68, 80); font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><strong style=\"box-sizing: border-box;\">\u7b54\uff1a<\/strong><span style=\"box-sizing: border-box; color: #FF0000;\">\u5b9e\u73b0\u52a8\u6001\u7075\u6d3b\u7684\u8bbe\u5907\u6302\u8f7d\u64cd\u4f5c\uff0c\u800c\u4e14\u53ea\u6709\u68c0\u6d4b\u5230\u7528\u6237\u8bd5\u56fe\u8bbf\u95ee\u4e00\u4e2a\u5c1a\u672a\u6302\u8f7d\u7684\u6587\u4ef6\u7cfb\u7edf\u65f6\uff0c\u624d\u81ea\u52a8\u6302\u8f7d\u8be5\u6587\u4ef6\u7cfb\u7edf\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-top: 0px; margin-bottom: 10px; line-height: 23px; text-indent: 1em; font-family: &quot;Microsoft Yahei&quot;, Helvetica, Arial, sans-serif; font-size: 12px; white-space: normal; color: rgb(136, 166, 164); background-color: rgb(255, 255, 255);\">\u672c\u6587\u539f\u521b\u5730\u5740\uff1a<a href=\"https:\/\/www.linuxprobe.com\/chapter-12.html\" target=\"_blank\" style=\"box-sizing: border-box; color: rgb(210, 50, 45); text-decoration: none;\" rel=\"noopener noreferrer\">https:\/\/www.linuxprobe.com\/chapter-12.html<\/a><\/p>\n<p><span style=\"color: #92D050;\"><br \/><\/span><\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u63a8\u8350\u7b80\u8ff0\uff1a \u8bf4\u5230Linux\u7cfb\u7edf\u4ece01\u5e74\u5f00\u59cb\u6211\u5c31\u4e00\u76f4\u5728\u63a5\u89e6\uff0c\u76f4\u523003\u5e74\u8fd8\u662f04\u5e74\u7684\u65f6\u5019\u5728\u60e0\u5dde\u65b0\u534e\u4e66\u5e97\u4e70\u4e86\u4e00\u672c\u300a\u9e1f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[35,99,157],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-1","tag-linux","tag-nfs","tag-samba"],"_links":{"self":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=60"}],"version-history":[{"count":1,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/60\/revisions"}],"predecessor-version":[{"id":3434,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=\/wp\/v2\/posts\/60\/revisions\/3434"}],"wp:attachment":[{"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fatesky.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}