{"id":908,"date":"2020-02-02T21:50:45","date_gmt":"2020-02-02T12:50:45","guid":{"rendered":"https:\/\/www.kwonline.org\/memo2\/?p=908"},"modified":"2020-02-02T21:50:45","modified_gmt":"2020-02-02T12:50:45","slug":"nfs-server-on-debian10","status":"publish","type":"post","link":"https:\/\/www.kwonline.org\/memo2\/2020\/02\/02\/nfs-server-on-debian10\/","title":{"rendered":"Debian10\u3092NFS\u30b5\u30fc\u30d0\u30fc\u306b\u3059\u308b"},"content":{"rendered":"<p>Debian\u3092NFS\u9bd6\u306b\u3057\u305f\u306e\u3067\u30e1\u30e2<\/p>\n<p>\u307e\u305a\u306f\u30b5\u30fc\u30d0\u30fc\u5074\u306b\u5fc5\u8981\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo apt install nfs-kernel-server portmap -y\n<\/pre>\n<p>\/etc\/exports \u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u8a2d\u5b9a\u3092\u8a18\u8ff0<br \/>\n\u3053\u306e\u4f8b\u3067\u306f\/share\u3092\u5171\u6709<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\/share\t10.0.0.0\/255.255.255.0(rw,sync,no_subtree_check)\n<\/pre>\n<p>\/etc\/hosts.allow\u306b\u8a31\u53ef\u8a2d\u5b9a\u3092\u8ffd\u52a0<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nportmap: 10.0.0.0\/255.255.255.0\n<\/pre>\n<p>\u305d\u306e\u5f8cnfs-kernel-server\u3092\u518d\u8d77\u52d5\u3059\u308c\u3070\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3055\u308c\u308b\u3002<br \/>\n\u3082\u3057\u304f\u306f exportfs -r \u3067\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u76f4\u3059\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo exportfs -r\n<\/pre>\n<p>\u7d9a\u3044\u3066\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u5074\u3002<br \/>\n\u4e0b\u8a18\u306fUbuntu\u3067\u306e\u4f8b\u3002<br \/>\nnfs-common\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo apt install nfs-common\n<\/pre>\n<p>\u305d\u308c\u304b\u3089\u30de\u30a6\u30f3\u30c8\u3059\u308c\u3070OK<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo mount -t nfs 10.0.0.101:\/share \/mnt\/nfs\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Debian\u3092NFS\u9bd6\u306b\u3057\u305f\u306e\u3067\u30e1\u30e2 \u307e\u305a\u306f\u30b5\u30fc\u30d0\u30fc\u5074\u306b\u5fc5\u8981\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb sudo apt install nfs-kernel-server portmap -y \/etc\/exports \u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u8a2d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-908","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/comments?post=908"}],"version-history":[{"count":0,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/posts\/908\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/media?parent=908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/categories?post=908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kwonline.org\/memo2\/wp-json\/wp\/v2\/tags?post=908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}