{"id":40412,"date":"2025-05-29T00:01:14","date_gmt":"2025-05-28T16:01:14","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/40412.html"},"modified":"2025-05-29T00:01:14","modified_gmt":"2025-05-28T16:01:14","slug":"%e9%85%8d%e7%bd%ae%e4%b8%8e%e7%ae%a1%e7%90%86nfs%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%88%e5%ae%9e%e8%b7%b5%e9%a1%b9%e7%9b%ae%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/40412.html","title":{"rendered":"\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668\uff08\u5b9e\u8df5\u9879\u76ee\uff09"},"content":{"rendered":"<\/p>\n<h4>\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668(\u5b9e\u8df5\u9879\u76ee<\/h4>\n<ul>\n<li>\u9879\u76ee\u63cf\u8ff0<\/li>\n<li>\u4e00\u3001\u57fa\u672c\u914d\u7f6e<\/li>\n<li>\n<ul>\n<li>1.NFS \u670d\u52a1\u5668\u4fee\u6539\u4e3b\u673a\u540d\u548cIP \u5730\u5740<\/li>\n<li>2.NFS \u5ba2\u6237\u673a\u4fee\u6539\u4e3b\u673a\u540d\u548cIP \u5730\u5740<\/li>\n<li>3.\u8bbe\u7f6e\u57df\u540d<\/li>\n<\/ul>\n<\/li>\n<li>\u4e8c\u3001\u5b89\u88c5NFS\u8f6f\u4ef6\u5305<\/li>\n<li>\u4e09\u3001\u4fee\u6539NFS\u670d\u52a1\u7aef\u914d\u7f6e\u6587\u4ef6<\/li>\n<li>\n<ul>\n<li>1. \u521b\u5efa\u5171\u4eab\u6587\u4ef6\u5939<\/li>\n<li>2.\u914d\u7f6e\/etc\/exports\u6587\u4ef6<\/li>\n<\/ul>\n<\/li>\n<li>\u56db\u3001\u5ba2\u6237\u7aef\u8bbf\u95eeNFS\u670d\u52a1<\/li>\n<li>\n<ul>\n<li>1.\u67e5\u770b\u670d\u52a1\u5668\u7aef\u53ef\u7528\u7684NFS\u670d\u52a1<\/li>\n<li>2.\u8bbe\u7f6e\u5ba2\u6237\u673a\u81ea\u52a8\u6302\u8f7d<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<h2>\u9879\u76ee\u63cf\u8ff0<\/h2>\n<p>\u67d0\u4f01\u4e1a\u7684\u9500\u552e\u90e8\u6709\u4e00\u4e2a\u5c40\u57df\u7f51&#xff0c;\u57df\u540d\u4e3aszhvs.com\u3002\u7f51\u7edc\u62d3\u6251\u56fe\u5982\u4e0b\u56fe\u6240\u793a\u3002\u7f51\u5185\u6709\u4e00\u53f0Linux\u7684\u5171\u4eab\u8d44\u6e90\u670d\u52a1\u5668\u4e3b\u673a\u540d\u4e3aServer&#043;\u5b66\u53f7&#xff0c;\u57df\u540d\u4e3aNFS-Server&#043;\u5b66\u53f7.szhvs.com\u3002\u73b0\u8981\u5728\u8be5\u670d\u52a1\u5668\u4e0a\u914d\u7f6eNFS\u670d\u52a1\u5668&#xff0c;\u4f7f\u9500\u552e\u90e8\u5185\u7684\u6240\u6709\u4e3b\u673a\u90fd\u53ef\u4ee5\u8bbf\u95eeNFS-Server&#043;\u5b66\u53f7\u670d\u52a1\u5668\u4e2d\u7684\/share\u5171\u4eab\u76ee\u5f55\u4e2d\u7684\u5185\u5bb9&#xff0c;\u4f46\u4e0d\u5141\u8bb8\u5ba2\u6237\u673a\u66f4\u6539\u5171\u4eab\u8d44\u6e90\u7684\u5185\u5bb9\u3002 \u5ba2\u6237\u4e3b\u673a&#xff13;&#xff08;\u4e3b\u673a\u540d\u4e3aClient&#043;\u5b66\u53f7&#xff0c;\u57df\u540d\u4e3aNFS-Client&#043;\u5b66\u53f7&#xff0c;IP \u4e3a192.168.\u5b66\u53f7.100&#xff09;\u5728\u6bcf\u6b21\u7cfb\u7edf\u542f\u52a8\u65f6\u81ea\u52a8\u6302\u8f7d\u670d\u52a1\u5668\u4e0a\u7684\/share\u76ee\u5f55\u4e2d\u7684private\u5185\u5bb9\u5230\u5ba2\u6237\u673a3\u7684\/share1\u76ee\u5f55,\u5e76\u5bf9\u8be5\u76ee\u5f55\u5177\u4f53\u6709\u8bfb\u5199\u7684\u6743\u9650\u3002<\/p>\n<p>\u8981\u6c42&#xff1a; 1\u3001\u5b8c\u6210\u9879\u76ee\u63cf\u8ff0\u4e2d\u8981\u6c42\u7684\u914d\u7f6e&#xff0c;\u64b0\u5199\u5ba2\u6237\u4ea4\u4ed8\u6587\u6863 2\u3001\u5c06\u670d\u52a1\u5668\u7aef\u548c\u5ba2\u6237\u7aef\u7684\u914d\u7f6e\u5206\u522b\u7f16\u8f91\u4e3a2\u4e2a\u6279\u5904\u7406\u811a\u672c\u3002&#xff08;\u5305\u62ecIP\u5730\u5740\u548c\u4e3b\u673a\u540d\u7684\u4fee\u6539&#xff09; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250528160113-683733490531f.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>\u4e00\u3001\u57fa\u672c\u914d\u7f6e<\/h2>\n<h3>1.NFS \u670d\u52a1\u5668\u4fee\u6539\u4e3b\u673a\u540d\u548cIP \u5730\u5740<\/h3>\n<p>nmcli general <span class=\"token function\">hostname<\/span> Server60<br \/>\nnmcli connection modify ens160 ipv4.method manual ipv4.addresses <span class=\"token number\">192.168<\/span>.60.200\/24 gw4 <span class=\"token number\">192.168<\/span>.60.2 ipv4.dns <span class=\"token number\">61.177<\/span>.7.1<br \/>\nnmcli connection up ens160<br \/>\n<span class=\"token function\">bash<\/span> <\/p>\n<h3>2.NFS \u5ba2\u6237\u673a\u4fee\u6539\u4e3b\u673a\u540d\u548cIP \u5730\u5740<\/h3>\n<p>nmcli general <span class=\"token function\">hostname<\/span> Client60<br \/>\nnmcli connection modify ens160 ipv4.method manual ipv4.addresses <span class=\"token number\">192.168<\/span>.60.100\/24 gw4 <span class=\"token number\">192.168<\/span>.60.2 ipv4.dns <span class=\"token number\">61.177<\/span>.7.1<br \/>\nnmcli connection up ens160<br \/>\n<span class=\"token function\">bash<\/span> <\/p>\n<h3>3.\u8bbe\u7f6e\u57df\u540d<\/h3>\n<p>(1)\u5728NFS\u670d\u52a1\u5668\u4e0a\u7f16\u8f91\/etc\/hosts\u6587\u4ef6&#xff0c;\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0IP\u4e0e\u57df\u540d\u7684\u5bf9\u5e94\u5173\u7cfb\u3002<\/p>\n<p><span class=\"token function\">cat<\/span> <span class=\"token operator\">&gt;&gt;<\/span>\/etc\/hosts<span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">EOF<span class=\"token bash punctuation\">    <span class=\"token comment\">#\u4f7f\u7528cat \u547d\u4ee4\u5728\/etc\/hosts\u6587\u4ef6\u7684\u672b\u5c3e\u6dfb\u52a0EOF\u6807\u8bb0\u4e4b\u524d\u7684\u5185\u5bb9\u3002<\/span><\/span><br \/>\n192.168.60.200  Server60 NFS-Server60.szhvs.com  #\u5c06\u4e3b\u673a\u540d\u548c\u57df\u540d\u7ed1\u5b9a\u5230\u76f8\u5e94\u7684IP\u5730\u5740\u3002<br \/>\n192.168.60.100  Client60 NFS-Client60.szhvs.com<br \/>\nEOF<\/span> <\/p>\n<p>(2)\u5728\u670d\u52a1\u5668\u4e0a\u5c06\/etc\/hosts\u6587\u4ef6\u590d\u5236\u5230\u5ba2\u6237\u673a<\/p>\n<p><span class=\"token function\">scp<\/span> \/etc\/hosts <span class=\"token number\">192.168<\/span>.60.100:\/etc  <span class=\"token comment\">#\u4f7f\u7528scp \u547d\u4ee4\u5b9e\u73b0\u8de8\u4e3b\u673a\u7684\u6587\u4ef6\u590d\u5236<\/span><\/p>\n<p>(3)\u5728\u5ba2\u6237\u7aef\u6d4b\u8bd5\u914d\u7f6e<\/p>\n<p><span class=\"token function\">ping<\/span> Server60<br \/>\n<span class=\"token function\">ping<\/span> NFS-server60.szhvs.com<\/p>\n<h2>\u4e8c\u3001\u5b89\u88c5NFS\u8f6f\u4ef6\u5305<\/h2>\n<p>\u5728\u670d\u52a1\u5668\u548c\u5ba2\u6237\u673a\u4e0a\u914d\u7f6e\u5b89\u88c5\u6e90&#xff0c;\u8fc7\u7a0b\u7565&#xff01; &#xff08;1&#xff09;\u670d\u52a1\u5668\u7aef\u5b89\u88c5NFS\u670d\u52a1\u5668\u8f6f\u4ef6\u53ca\u76f8\u5173\u652f\u6301\u5305\u3002\u542f\u52a8\u670d\u52a1&#xff0c;\u5e76\u8bbe\u7f6e\u9632\u706b\u5899<\/p>\n<p>yum <span class=\"token function\">install<\/span> rpcbind nfs-utils <span class=\"token parameter variable\">-y<\/span>    <span class=\"token comment\">#\u5b89\u88c5 rpcbind \u548c nfs-utils \u4e24\u4e2a\u8f6f\u4ef6\u5305<\/span><br \/>\nsystemctl start rpcbind            <span class=\"token comment\">#\u542f\u52a8\u670d\u52a1,3\u4e2a\u670d\u52a1\u7684\u542f\u52a8\u987a\u5e8f \u4e0d\u80fd\u641e\u9519\u3002<\/span><br \/>\nsystemctl start nfs-utils<br \/>\nsystemctl start nfs-server<br \/>\nsystemctl <span class=\"token builtin class-name\">enable<\/span> rpcbind          <span class=\"token comment\">#\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<\/span><br \/>\nsystemctl <span class=\"token builtin class-name\">enable<\/span> nfs-server<br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;permanent<\/span> &#8211;add-service<span class=\"token operator\">&#061;<\/span>rpc-bind   <span class=\"token comment\">#\u8bbe\u7f6e\u9632\u706b\u5899<\/span><br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;permanent<\/span> &#8211;add-service<span class=\"token operator\">&#061;<\/span>mountd<br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;permanent<\/span> &#8211;add-service<span class=\"token operator\">&#061;<\/span>nfs<br \/>\nfirewall-cmd <span class=\"token parameter variable\">&#8211;reload<\/span><\/p>\n<p>&#xff08;2&#xff09;\u5ba2\u6237\u7aef\u5b89\u88c5NFS\u5ba2\u6237\u7aef\u8f6f\u4ef6<\/p>\n<p>yum <span class=\"token function\">install<\/span> nfs-utils <span class=\"token parameter variable\">-y<\/span>    <span class=\"token comment\">#\u5b89\u88c5nfs-utils\u8f6f\u4ef6\u5305<\/span><br \/>\nsystemctl start nfs-utils<\/p>\n<h2>\u4e09\u3001\u4fee\u6539NFS\u670d\u52a1\u7aef\u914d\u7f6e\u6587\u4ef6<\/h2>\n<h3>1. \u521b\u5efa\u5171\u4eab\u6587\u4ef6\u5939<\/h3>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> \/share \/share\/private <span class=\"token comment\">#\u521b\u6587\u4ef6\u5939<\/span><br \/>\n<span class=\"token function\">chmod<\/span> <span class=\"token number\">777<\/span> \/share <span class=\"token parameter variable\">-R<\/span><br \/>\n<span class=\"token function\">touch<\/span> \/share\/test1 \/share\/test2 \/share\/private\/test3   <span class=\"token comment\">#\u5728\/share \u6587\u4ef6\u5939\u4e2d\u521b\u5efa3\u4e2a\u6d4b\u8bd5\u6587\u4ef6&#xff0c;test1\u3001test2\u3001test3<\/span><\/p>\n<h3>2.\u914d\u7f6e\/etc\/exports\u6587\u4ef6<\/h3>\n<p>\u4fee\u6539\u670d\u52a1\u5668\u7aef\u7684\u914d\u7f6e\u6587\u4ef6\/etc\/exports<\/p>\n<p><span class=\"token function\">cat<\/span> <span class=\"token operator\">&gt;&gt;<\/span>\/etc\/exports<span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">EOF<br \/>\n\/share   192.168.60.0\/24(ro,sync)  #\u8bbe\u7f6e192.168.60.0\/24\u7f51\u6bb5\u6240\u6709\u4e3b\u673a\u5bf9\u5171\u4eab\u8d44\u6e90\u6709ro\u6743\u9650<br \/>\n\/share\/private   192.168.60.100(rw,sync)  #\u8bbe\u7f6e192.168.60.100\u4e3b\u673a\u5bf9\u5171\u4eab\u8d44\u6e90\u6709rw\u6743\u9650<\/p>\n<p>EOF<\/span><\/p>\n<p>\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u540e\u91cd\u65b0\u626b\u63cf\u914d\u7f6e\u6587\u4ef6&#xff0c;\u8bbe\u5b9a\u52a0\u8f7d\u3002<\/p>\n<p>exportfs <span class=\"token parameter variable\">-r<\/span><\/p>\n<h2>\u56db\u3001\u5ba2\u6237\u7aef\u8bbf\u95eeNFS\u670d\u52a1<\/h2>\n<h3>1.\u67e5\u770b\u670d\u52a1\u5668\u7aef\u53ef\u7528\u7684NFS\u670d\u52a1<\/h3>\n<p>showmount <span class=\"token parameter variable\">-e<\/span> <span class=\"token number\">192.168<\/span>.60.200   <span class=\"token comment\">#\u67e5\u770b\u670d\u52a1\u5668\u7aef\u7684\u5171\u4eab\u8d44\u6e90<\/span><br \/>\n<span class=\"token function\">mkdir<\/span> \/share1     <span class=\"token comment\"># \u521b\u65b0\u6587\u4ef6\u5939&#xff0c;\u7528\u4e8e\u6302\u8f7dNFS\u5171\u4eab\u8d44\u6e90 <\/span><br \/>\n<span class=\"token function\">chmod<\/span> <span class=\"token number\">777<\/span> \/share1<br \/>\n<span class=\"token function\">mount<\/span> <span class=\"token parameter variable\">-a<\/span> <span class=\"token parameter variable\">-t<\/span> nfs4 <span class=\"token number\">192.168<\/span>.60.200:\/share\/private \/share1 <span class=\"token comment\">#\u4f7f\u7528nfs4\u683c\u5f0f&#xff0c;\u5c06\u670d\u52a1\u5668\u5171\u4eab\u7684\/share\u6302\u8f7d\u5230\u672c\u673a\u7684\/share1<\/span><\/p>\n<h3>2.\u8bbe\u7f6e\u5ba2\u6237\u673a\u81ea\u52a8\u6302\u8f7d<\/h3>\n<p>\u4fee\u6539\/etc\/fstab\u6587\u4ef6&#xff0c;\u5728\u6587\u672b\u6dfb\u52a0\u6302\u8f7d\u4fe1\u606f<\/p>\n<p><span class=\"token function\">cat<\/span> <span class=\"token operator\">&gt;&gt;<\/span>\/etc\/fstab<span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">EOF<br \/>\n192.168.60.200:\/share\/private   \/share1   nfs4  defaults  0  0<\/p>\n<p>EOF<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.3k\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u73b0\u8981\u5728\u8be5\u670d\u52a1\u5668\u4e0a\u914d\u7f6eNFS\u670d\u52a1\u5668\uff0c\u4f7f\u9500\u552e\u90e8\u5185\u7684\u6240\u6709\u4e3b\u673a\u90fd\u53ef\u4ee5\u8bbf\u95eeNFS-Server+\u5b66\u53f7\u670d\u52a1\u5668\u4e2d\u7684\/share\u5171\u4eab\u76ee\u5f55\u4e2d\u7684\u5185\u5bb9\uff0c\u4f46\u4e0d\u5141\u8bb8\u5ba2\u6237\u673a\u66f4\u6539\u5171\u4eab\u8d44\u6e90\u7684\u5185\u5bb9\u3002\u5ba2\u6237\u4e3b\u673a\uff13\uff08\u4e3b\u673a\u540d\u4e3aClient+\u5b66\u53f7\uff0c\u57df\u540d\u4e3aNFS-Client+\u5b66\u53f7\uff0cIP \u4e3a192.168.\u5b66\u53f7.100\uff09\u5728\u6bcf\u6b21\u7cfb\u7edf\u542f\u52a8\u65f6\u81ea\u52a8\u6302\u8f7d\u670d\u52a1\u5668\u4e0a\u7684\/share\u76ee\u5f55\u4e2d\u7684private\u5185\u5bb9\u5230\u5ba2\u6237\u673a3\u7684\/share1\u76ee\u5f55,\u5e76\u5bf9\u8be5\u76ee\u5f55\u5177\u4f53\u6709\u8bfb\u5199\u7684\u6743\u9650\u3002(1)\u5728NFS\u670d\u52a1\u5668\u4e0a\u7f16\u8f91\/etc\/hosts\u6587\u4ef6\uff0c\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0IP\u4e0e\u57df\u540d\u7684\u5bf9\u5e94\u5173\u7cfb\u3002_nfs\u670d\u52a1\u5668\u901a\u8fc7\u57df\u7ba1\u7406\u4e3b\u673a<\/p>\n","protected":false},"author":2,"featured_media":40411,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[43,44],"topic":[],"class_list":["post-40412","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668\uff08\u5b9e\u8df5\u9879\u76ee\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/40412.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668\uff08\u5b9e\u8df5\u9879\u76ee\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.3k\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u73b0\u8981\u5728\u8be5\u670d\u52a1\u5668\u4e0a\u914d\u7f6eNFS\u670d\u52a1\u5668\uff0c\u4f7f\u9500\u552e\u90e8\u5185\u7684\u6240\u6709\u4e3b\u673a\u90fd\u53ef\u4ee5\u8bbf\u95eeNFS-Server+\u5b66\u53f7\u670d\u52a1\u5668\u4e2d\u7684\/share\u5171\u4eab\u76ee\u5f55\u4e2d\u7684\u5185\u5bb9\uff0c\u4f46\u4e0d\u5141\u8bb8\u5ba2\u6237\u673a\u66f4\u6539\u5171\u4eab\u8d44\u6e90\u7684\u5185\u5bb9\u3002\u5ba2\u6237\u4e3b\u673a\uff13\uff08\u4e3b\u673a\u540d\u4e3aClient+\u5b66\u53f7\uff0c\u57df\u540d\u4e3aNFS-Client+\u5b66\u53f7\uff0cIP \u4e3a192.168.\u5b66\u53f7.100\uff09\u5728\u6bcf\u6b21\u7cfb\u7edf\u542f\u52a8\u65f6\u81ea\u52a8\u6302\u8f7d\u670d\u52a1\u5668\u4e0a\u7684\/share\u76ee\u5f55\u4e2d\u7684private\u5185\u5bb9\u5230\u5ba2\u6237\u673a3\u7684\/share1\u76ee\u5f55,\u5e76\u5bf9\u8be5\u76ee\u5f55\u5177\u4f53\u6709\u8bfb\u5199\u7684\u6743\u9650\u3002(1)\u5728NFS\u670d\u52a1\u5668\u4e0a\u7f16\u8f91\/etc\/hosts\u6587\u4ef6\uff0c\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0IP\u4e0e\u57df\u540d\u7684\u5bf9\u5e94\u5173\u7cfb\u3002_nfs\u670d\u52a1\u5668\u901a\u8fc7\u57df\u7ba1\u7406\u4e3b\u673a\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/40412.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-28T16:01:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250528160113-683733490531f.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40412.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/40412.html\",\"name\":\"\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668\uff08\u5b9e\u8df5\u9879\u76ee\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-28T16:01:14+00:00\",\"dateModified\":\"2025-05-28T16:01:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/40412.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/40412.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/40412.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668\uff08\u5b9e\u8df5\u9879\u76ee\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668\uff08\u5b9e\u8df5\u9879\u76ee\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/40412.html","og_locale":"zh_CN","og_type":"article","og_title":"\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668\uff08\u5b9e\u8df5\u9879\u76ee\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.3k\u6b21\uff0c\u70b9\u8d5e13\u6b21\uff0c\u6536\u85cf16\u6b21\u3002\u73b0\u8981\u5728\u8be5\u670d\u52a1\u5668\u4e0a\u914d\u7f6eNFS\u670d\u52a1\u5668\uff0c\u4f7f\u9500\u552e\u90e8\u5185\u7684\u6240\u6709\u4e3b\u673a\u90fd\u53ef\u4ee5\u8bbf\u95eeNFS-Server+\u5b66\u53f7\u670d\u52a1\u5668\u4e2d\u7684\/share\u5171\u4eab\u76ee\u5f55\u4e2d\u7684\u5185\u5bb9\uff0c\u4f46\u4e0d\u5141\u8bb8\u5ba2\u6237\u673a\u66f4\u6539\u5171\u4eab\u8d44\u6e90\u7684\u5185\u5bb9\u3002\u5ba2\u6237\u4e3b\u673a\uff13\uff08\u4e3b\u673a\u540d\u4e3aClient+\u5b66\u53f7\uff0c\u57df\u540d\u4e3aNFS-Client+\u5b66\u53f7\uff0cIP \u4e3a192.168.\u5b66\u53f7.100\uff09\u5728\u6bcf\u6b21\u7cfb\u7edf\u542f\u52a8\u65f6\u81ea\u52a8\u6302\u8f7d\u670d\u52a1\u5668\u4e0a\u7684\/share\u76ee\u5f55\u4e2d\u7684private\u5185\u5bb9\u5230\u5ba2\u6237\u673a3\u7684\/share1\u76ee\u5f55,\u5e76\u5bf9\u8be5\u76ee\u5f55\u5177\u4f53\u6709\u8bfb\u5199\u7684\u6743\u9650\u3002(1)\u5728NFS\u670d\u52a1\u5668\u4e0a\u7f16\u8f91\/etc\/hosts\u6587\u4ef6\uff0c\u5728\u6587\u4ef6\u4e2d\u6dfb\u52a0IP\u4e0e\u57df\u540d\u7684\u5bf9\u5e94\u5173\u7cfb\u3002_nfs\u670d\u52a1\u5668\u901a\u8fc7\u57df\u7ba1\u7406\u4e3b\u673a","og_url":"https:\/\/www.wsisp.com\/helps\/40412.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-28T16:01:14+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250528160113-683733490531f.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/40412.html","url":"https:\/\/www.wsisp.com\/helps\/40412.html","name":"\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668\uff08\u5b9e\u8df5\u9879\u76ee\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-28T16:01:14+00:00","dateModified":"2025-05-28T16:01:14+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/40412.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/40412.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/40412.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u914d\u7f6e\u4e0e\u7ba1\u7406NFS\u670d\u52a1\u5668\uff08\u5b9e\u8df5\u9879\u76ee\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=40412"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/40412\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/40411"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=40412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=40412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=40412"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=40412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}