{"id":153,"date":"2021-08-10T09:52:04","date_gmt":"2021-08-10T00:52:04","guid":{"rendered":"https:\/\/kitayama.jp\/?p=153"},"modified":"2021-08-10T10:07:10","modified_gmt":"2021-08-10T01:07:10","slug":"ubuntu-%e3%81%ab%e3%80%80samba-%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"https:\/\/kitayama.jp\/?p=153","title":{"rendered":"Ubuntu \u306b\u3000samba \u3092\u8a2d\u5b9a\u3059\u308b\u3002"},"content":{"rendered":"\t\t<div data-elementor-type=\"post\" data-elementor-id=\"153\" class=\"elementor elementor-153\" data-elementor-settings=\"[]\">\n\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t<section class=\"elementor-element elementor-element-8c5ffb0 elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-top-section\" data-id=\"8c5ffb0\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8a086d7 elementor-column elementor-col-100 elementor-top-column\" data-id=\"8a086d7\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap  elementor-element-populated\">\n\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c387428 elementor-widget elementor-widget-heading\" data-id=\"c387428\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Ubuntu \u306bsamba\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-element elementor-element-f318af5 elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-top-section\" data-id=\"f318af5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t<div class=\"elementor-element elementor-element-60707a0 elementor-column elementor-col-100 elementor-top-column\" data-id=\"60707a0\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap  elementor-element-populated\">\n\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t<div class=\"elementor-element elementor-element-992077f elementor-widget elementor-widget-text-editor\" data-id=\"992077f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\"><p>\u4eca\u56de\u306f\u3001\u30e1\u30c7\u30a3\u30a2\u30b5\u30fc\u30d0\u30fc\u306e\u90fd\u5408\u3067\u3001Ubutu 18.0.5 \u3092\u4f7f\u3044\u307e\u3057\u305f\u3002<\/p><p>\u00a0<\/p><p>\u00a0<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-element elementor-element-0eb2b04 elementor-section-boxed elementor-section-height-default elementor-section-height-default elementor-section elementor-top-section\" data-id=\"0eb2b04\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6723db0 elementor-column elementor-col-100 elementor-top-column\" data-id=\"6723db0\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap  elementor-element-populated\">\n\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t<div class=\"elementor-element elementor-element-dfce32b elementor-widget elementor-widget-text-editor\" data-id=\"dfce32b\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\"><pre>$ sudo apt-get -y install samba <\/pre><pre>$ sudo mkdir \/home\/share\n$ sudo chmod 777 \/home\/share<\/pre><p>$ sudo vi \/etc\/samba\/smb.conf<\/p><p># 25\u884c\u76ee\uff1a\u4ee5\u4e0b2\u884c\u8ffd\u8a18 unix charset = UTF-8 dos charset = CP932<\/p><p># \u30b3\u30e1\u30f3\u30c8\u89e3\u9664 &amp; \u8ffd\u8a18 bind interfaces only = yes map to guest = Bad User<\/p><p># \u6700\u7d42\u884c\u306b\u8ffd\u8a18<\/p><p>[Share] # \u4efb\u610f\u306e\u5171\u6709\u540d\u79f0\u3092\u6307\u5b9a <br \/>path = \/home\/share # \u5171\u6709\u30d5\u30a9\u30eb\u30c0\u6307\u5b9a <br \/>writable = yes # \u66f8\u304d\u8fbc\u307fOK <br \/>guest ok = no # \u30b2\u30b9\u30c8\u30e6\u30fc\u30b6\u30fcNG <br \/>guest only = no # \u5168\u3066\u30b2\u30b9\u30c8\u3068\u3057\u3066\u6271\u308f\u306a\u3044 create mode = 0777 # \u30d5\u30eb\u30a2\u30af\u30bb\u30b9\u3067\u30d5\u30a1\u30a4\u30eb\u4f5c\u6210 <br \/>directory mode = 0777# \u30d5\u30eb\u30a2\u30af\u30bb\u30b9\u3067\u30d5\u30a9\u30eb\u30c0\u4f5c\u6210<br \/>hosts allow = 219.99.35.112 #ip\u30a2\u30c9\u30ec\u30b9\u5236\u9650<\/p><pre>sudo pdbedit -a [\u30e6\u30fc\u30b6\u30fc]<\/pre><p>\u30b5\u30f3\u30d0\u7528\u30e6\u30fc\u30b6\u30fc\u306e\u4f5c\u6210<\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Ubuntu \u306bsamba\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001\u30e1\u30c7\u30a3\u30a2\u30b5\u30fc\u30d0\u30fc\u306e\u90fd\u5408\u3067\u3001Ubutu 18.0.5 \u3092\u4f7f\u3044\u307e\u3057\u305f\u3002 \u00a0 \u00a0 $ sudo apt-get -y install samba $ sudo mkdir \/home\/share $ sudo chmod 777 \/home\/share $ sudo vi \/etc\/samba\/smb.conf # 25\u884c\u76ee\uff1a\u4ee5\u4e0b2\u884c\u8ffd\u8a18 unix charset = UTF-8 dos charset = CP932 # \u30b3\u30e1\u30f3\u30c8.. <a href=\"https:\/\/kitayama.jp\/?p=153\">\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/kitayama.jp\/index.php?rest_route=\/wp\/v2\/posts\/153"}],"collection":[{"href":"https:\/\/kitayama.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kitayama.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kitayama.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kitayama.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=153"}],"version-history":[{"count":7,"href":"https:\/\/kitayama.jp\/index.php?rest_route=\/wp\/v2\/posts\/153\/revisions"}],"predecessor-version":[{"id":160,"href":"https:\/\/kitayama.jp\/index.php?rest_route=\/wp\/v2\/posts\/153\/revisions\/160"}],"wp:attachment":[{"href":"https:\/\/kitayama.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kitayama.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kitayama.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}