
{"id":678,"date":"2015-12-15T15:25:49","date_gmt":"2015-12-15T07:25:49","guid":{"rendered":"https:\/\/www.webteach.tw\/?p=678"},"modified":"2015-12-15T15:25:49","modified_gmt":"2015-12-15T07:25:49","slug":"linux-samba-%e5%ae%89%e8%a3%9d%e8%a8%ad%e5%ae%9a%e5%90%abwindows%e7%ab%af","status":"publish","type":"post","link":"https:\/\/www.webteach.tw\/?p=678","title":{"rendered":"[ LINUX ] &#8211; Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef)"},"content":{"rendered":"<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div><div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-share-buttons\" ><\/div><p>\t\t\t\t\u6307\u4ee4\uff1aapt-get install samba<br \/>\n\u6307\u4ee4\uff1avi \/etc\/samba\/smb.conf<br \/>\n[\u8cc7\u6599\u593e\u540d\u7a31]<br \/>\npath=\u8cc7\u6599\u593e\u6240\u5728\u4f4d\u7f6e\u7684\u7d55\u5c0d\u8def\u5f91(\/var\/www\/html)<br \/>\nbrowsable=yes<br \/>\nwriteable=yes<br \/>\nread only=no<br \/>\n\u5b58\u6a94\u91cd\u65b0\u555f\u52d5samba<br \/>\n\u6307\u4ee4\uff1asudo \/etc\/init.d\/samba restart<br \/>\n\u8a2d\u5b9asmb\u767b\u5165\u5e33\u865f \u5047\u8a2d\u4f60\u7684\u4e3b\u6a5f\u4e2d\u5df2\u7d93\u5b58\u5728 jeff \u9019\u500b\u5e33\u865f<br \/>\n\u6307\u4ee4\uff1asudo smbpasswd -a jeff<br \/>\n\u8f38\u5165\u5f8c\u6703\u51fa\u73fe \u5bc6\u78bc\u8f38\u5165\u7684\u8a0a\u606f \u8acb\u8f38\u5165\u5169\u6b21<br \/>\nNew SMB password:<br \/>\nRetype new SMB password:<br \/>\n\u8a3b\uff1a\u539f\u4f7f\u7528\u8005jeff\u7684\u5bc6\u78bc\u7121\u6cd5\u5728SMB\u4e2d\u4f7f\u7528\uff0c\u6240\u4ee5\u8981\u53e6\u5efa\u65b0\u7684\u5bc6\u78bc<br \/>\nWINDOWS\u7684\u8a2d\u5b9a\u90e8\u4efd<br \/>\n\u8acb\u5148\u9ede\u9078\u96fb\u8166\u5716\u793a(\u6703\u9032\u5165\u672c\u6a5f\u78c1\u789f(C:))\u90a3\u500b\u756b\u9762\uff0c<br \/>\n\u5728\u4efb\u4e00\u8655\u9ede\u9078\u53f3\u9375 \u7136\u5f8c\u9ede\u9078 \u65b0\u589e\u4e00\u500b\u7db2\u8def\u4f4d\u7f6e<br \/>\n\u5728\u6307\u5b9a\u7db2\u7ad9\u4f4d\u7f6e \u6709\u7db2\u969b\u7db2\u8def\u6216\u7db2\u8def\u4f4d\u5740\u6b04\u4f4d\u4e2d\u8f38\u5165<br \/>\n\\\\123.120.1.23\\\u8cc7\u6599\u593e\u540d\u7a31<br \/>\n\u8a2d\u597d\u5f8c\u5c31\u6703\u5728\u96fb\u8166\u4e2d\u7684 \u7db2\u8def\u4f4d\u7f6e\u51fa\u73fe\u4f60\u525b\u8a2d\u5b9a\u7684\u8cc7\u6599\u593e \u9ede\u9032\u53bb\u5f8c \u8f38\u5165\u4f60\u8a2d\u5b9a\u7684\u5e33\u865f\u5bc6\u78bc<br \/>\n\u8a3b\uff1a\u5047\u8a2dUbuntu\u4e3b\u6a5f\u4f4d\u7f6e\u662f 123.120.1.23<br \/>\nAWS Security Group \u7684inbound \u4e0a\u8acb\u8a18\u5f97\u958b\u555f 445\u9019\u500bport\t\t<\/p>\n<div style='text-align:center' class='yasr-auto-insert-overall'><\/div><div style='text-align:center' class='yasr-auto-insert-visitor'><\/div>","protected":false},"excerpt":{"rendered":"<p>\u6307\u4ee4\uff1aapt-get install s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"","footnotes":""},"categories":[32],"tags":[498],"class_list":["post-678","post","type-post","status-publish","format-standard","hentry","category-linux","tag-samba"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[ LINUX ] - Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef) - \u6df7\u6c34\u6478\u9b5a<\/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.webteach.tw\/?p=678\" \/>\n<meta property=\"og:locale\" content=\"zh_TW\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[ LINUX ] - Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef) - \u6df7\u6c34\u6478\u9b5a\" \/>\n<meta property=\"og:description\" content=\"\u6307\u4ee4\uff1aapt-get install s [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webteach.tw\/?p=678\" \/>\n<meta property=\"og:site_name\" content=\"\u6df7\u6c34\u6478\u9b5a\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-15T07:25:49+00:00\" \/>\n<meta name=\"author\" content=\"jeff\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005:\" \/>\n\t<meta name=\"twitter:data1\" content=\"jeff\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=678#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=678\"},\"author\":{\"name\":\"jeff\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#\\\/schema\\\/person\\\/d434d754fd581338113eecfa923d7520\"},\"headline\":\"[ LINUX ] &#8211; Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef)\",\"datePublished\":\"2015-12-15T07:25:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=678\"},\"wordCount\":53,\"commentCount\":0,\"keywords\":[\"samba\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.webteach.tw\\\/?p=678#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=678\",\"url\":\"https:\\\/\\\/www.webteach.tw\\\/?p=678\",\"name\":\"[ LINUX ] - Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef) - \u6df7\u6c34\u6478\u9b5a\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#website\"},\"datePublished\":\"2015-12-15T07:25:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#\\\/schema\\\/person\\\/d434d754fd581338113eecfa923d7520\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=678#breadcrumb\"},\"inLanguage\":\"zh-TW\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.webteach.tw\\\/?p=678\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/?p=678#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9801\",\"item\":\"https:\\\/\\\/www.webteach.tw\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[ LINUX ] &#8211; Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#website\",\"url\":\"https:\\\/\\\/www.webteach.tw\\\/\",\"name\":\"\u6df7\u6c34\u6478\u9b5a\",\"description\":\"\u5b78\u7121\u6b62\u5883,\u6559\u5b78\u76f8\u9577\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.webteach.tw\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-TW\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.webteach.tw\\\/#\\\/schema\\\/person\\\/d434d754fd581338113eecfa923d7520\",\"name\":\"jeff\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-TW\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g\",\"caption\":\"jeff\"},\"sameAs\":[\"http:\\\/\\\/35.72.55.111\"],\"url\":\"https:\\\/\\\/www.webteach.tw\\\/?author=1\"},false]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[ LINUX ] - Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef) - \u6df7\u6c34\u6478\u9b5a","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.webteach.tw\/?p=678","og_locale":"zh_TW","og_type":"article","og_title":"[ LINUX ] - Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef) - \u6df7\u6c34\u6478\u9b5a","og_description":"\u6307\u4ee4\uff1aapt-get install s [&hellip;]","og_url":"https:\/\/www.webteach.tw\/?p=678","og_site_name":"\u6df7\u6c34\u6478\u9b5a","article_published_time":"2015-12-15T07:25:49+00:00","author":"jeff","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005:":"jeff"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webteach.tw\/?p=678#article","isPartOf":{"@id":"https:\/\/www.webteach.tw\/?p=678"},"author":{"name":"jeff","@id":"https:\/\/www.webteach.tw\/#\/schema\/person\/d434d754fd581338113eecfa923d7520"},"headline":"[ LINUX ] &#8211; Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef)","datePublished":"2015-12-15T07:25:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webteach.tw\/?p=678"},"wordCount":53,"commentCount":0,"keywords":["samba"],"articleSection":["Linux"],"inLanguage":"zh-TW","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webteach.tw\/?p=678#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webteach.tw\/?p=678","url":"https:\/\/www.webteach.tw\/?p=678","name":"[ LINUX ] - Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef) - \u6df7\u6c34\u6478\u9b5a","isPartOf":{"@id":"https:\/\/www.webteach.tw\/#website"},"datePublished":"2015-12-15T07:25:49+00:00","author":{"@id":"https:\/\/www.webteach.tw\/#\/schema\/person\/d434d754fd581338113eecfa923d7520"},"breadcrumb":{"@id":"https:\/\/www.webteach.tw\/?p=678#breadcrumb"},"inLanguage":"zh-TW","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webteach.tw\/?p=678"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webteach.tw\/?p=678#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9801","item":"https:\/\/www.webteach.tw\/"},{"@type":"ListItem","position":2,"name":"[ LINUX ] &#8211; Samba \u5b89\u88dd\u8a2d\u5b9a(\u542bwindows\u7aef)"}]},{"@type":"WebSite","@id":"https:\/\/www.webteach.tw\/#website","url":"https:\/\/www.webteach.tw\/","name":"\u6df7\u6c34\u6478\u9b5a","description":"\u5b78\u7121\u6b62\u5883,\u6559\u5b78\u76f8\u9577","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webteach.tw\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-TW"},{"@type":"Person","@id":"https:\/\/www.webteach.tw\/#\/schema\/person\/d434d754fd581338113eecfa923d7520","name":"jeff","image":{"@type":"ImageObject","inLanguage":"zh-TW","@id":"https:\/\/secure.gravatar.com\/avatar\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5797200e421b670a2ce64d6e7382054c69b231d4aab55742c96bb1e51bc9fefc?s=96&d=mm&r=g","caption":"jeff"},"sameAs":["http:\/\/35.72.55.111"],"url":"https:\/\/www.webteach.tw\/?author=1"},false]}},"views":650,"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"_links":{"self":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=678"}],"version-history":[{"count":0,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=\/wp\/v2\/posts\/678\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webteach.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}