{"id":3604,"date":"2026-01-01T15:10:53","date_gmt":"2026-01-01T06:10:53","guid":{"rendered":"https:\/\/www.freelifemakers.org\/wordpress\/?p=3604"},"modified":"2026-02-26T11:08:44","modified_gmt":"2026-02-26T02:08:44","slug":"linuxsamba-server","status":"publish","type":"post","link":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/2026\/01\/01\/linuxsamba-server\/","title":{"rendered":"[Linux,Xubuntu]Samba Server"},"content":{"rendered":"\n<p>\ud83d\udc49\ud83c\udffb Samba Server\ub294 \ub2e4\ub978 \uc6b4\uc601\uccb4\uc81c\ub098 \uae30\uae30\uc5d0\uc11c \ub124\ud2b8\uc6cc\ud06c\ub85c \uc11c\ubc84\uc5d0 \uc811\uc18d\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4.(\uc708\ub3c4\uc6b0 \ud30c\uc77c\uacf5\uc720)<br>Samba Server allows you to connect to a server over a network from other operating systems or devices (Windows file sharing).<\/p>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \uc124\uce58 \/ Install<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install samba<\/code><\/pre>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \uc124\uc815 \ud30c\uc77c \uc218\uc815 \/ Edit configuration file<\/p>\n\n\n\n<p>\u2714\ufe0f \ub2e4\uc74c \uc124\uc815 \ud30c\uc77c\uc744 \uc218\uc815\ud569\ub2c8\ub2e4. \/ Modify the following settings file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/samba\/smb.conf<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f \ud30c\uc77c \ub05d\uc5d0 \ub2e4\uc74c \ub0b4\uc6a9\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4. \/ Add the following to the end of the file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;share]\npath = \/home\/\uc0ac\uc6a9\uc790\/share\nbrowsable = yes\nwritable = yes\nvalid users = \uc0ac\uc6a9\uc790\uba85 \/ Username   \ncreate mask = 0664\ndirectory mask = 0775<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f \uac8c\uc2a4\ud2b8 \uc124\uc815 \/ Guest settings<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;share]\npath = \/home\/\uc0ac\uc6a9\uc790\/share\nbrowsable = yes\nwritable = yes\nguest ok = yes\nread only = no<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f samba \uc11c\ubc84 \ube44\ubc00\ubc88\ud638 \ucd94\uac00 \/ Add samba server password<\/p>\n\n\n\n<p>\u2b50\ufe0f sudo smbpasswd -a \uc0ac\uc6a9\uc790\uba85 \uba85\ub839\uc73c\ub85c Samba \uc804\uc6a9 \ube44\ubc00\ubc88\ud638\ub97c \uc124\uc815\ud558\uc9c0 \uc54a\uc73c\uba74, \ub2e4\ub978 \uc6b4\uc601\uccb4\uc81c(\ub9e5, \uc708\ub3c4\uc6b0, \uc548\ub4dc\ub85c\uc774\ub4dc \ub4f1)\uc5d0\uc11c \ube44\ubc00\ubc88\ud638 \uc778\uc99d\uc774 \ud544\uc694\ud55c \uacf5\uc720 \ud3f4\ub354\uc5d0 \uc811\uc18d\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<br>If you do not set a Samba-specific password using the sudo smbpasswd -a username command, you will not be able to access shared folders that require password authentication from other operating systems (Mac, Windows, Android, etc.).<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo smbpasswd -a \uc0ac\uc6a9\uc790\uba85\/Username   # Samba \ube44\ubc00\ubc88\ud638 \uc124\uc815 \/ Setting the Samba password<\/code><\/pre>\n\n\n\n<p>\u2714\ufe0f samba \uc11c\ubc84 \uc7ac\uc2dc\uc791 \/ Restart the Samba server<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart smbd<\/code><\/pre>\n\n\n\n<p>\ub610\ub294 \/ or<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudy service samba restart<\/code><\/pre>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb UFW \ubc29\ud654\ubcbd \uc624\ud508 \/ UFW firewall open<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ufw allow samba\nsudo ufw reload<\/code><\/pre>\n\n\n\n<p>\ud83d\udc49\ud83c\udffb \ub9e5\uc5d0\uc11c \uc811\uc18d \/ Connect from Mac<\/p>\n\n\n\n<p>\u2714\ufe0f \uc0c1\ub2e8 \uba54\ub274\uc5d0\uc11c \uc11c\ubc84\uc5f0\uacb0\uc744 \uc120\ud0dd\ud569\ub2c8\ub2e4. (\ub2e8\ucd95\ud0a4: Command + K)<br>Select Server Connection from the top menu (shortcut: Command + K)<\/p>\n\n\n\n<p>\u2714\ufe0f \uc11c\ubc84 \uc8fc\uc18c \uc785\ub825\ucc3d\uc774 \ub728\uba74 \ub2e4\uc74c \ucc98\ub7fc \uc8fc\uc18c\ub97c \uc785\ub825\ud569\ub2c8\ub2e4.<br>When the server address input window appears, enter the address as follows.<\/p>\n\n\n\n<p>&#8212; smb:\/\/Xubuntu-PC\uc758-IP-\uc8fc\uc18c \uc608: smb:\/\/192.168.1.100<\/p>\n\n\n\n<p>\u2714\ufe0f \uc5f0\uacb0 \ubc84\ud2bc\uc744 \ub204\ub974\uba74 \uc778\uc99d\ucc3d\uc774 \ub098\ud0c0\ub0a9\uc774\ub2e4.<br>When you click the connect button, an authentication window will appear.<\/p>\n\n\n\n<p>\u2714\ufe0f \ub9ac\ub205\uc2a4 \uc0ac\uc6a9\uc790\uc774\ub984\uacfc sudo smbpasswd -a\ub85c \uc124\uc815\ud55c samba\uc804\uc6a9 \ud328\uc2a4\uc6cc\ub4dc\ub97c \uc785\ub825\ud569\ub2c8\ub2e4.<br>Enter your Linux username and the Samba-specific password you set with sudo smbpasswd -a.<\/p>\n\n\n\n<p>\u2714\ufe0f \uc815\uc0c1\uc801\uc73c\ub85c \uc5f0\uacb0\ub418\uba74 \ub2e4\uc74c\uacfc \uac19\uc740 \ud654\uba74\uc744 \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br>If connected successfully, you will see the following screen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1004\" height=\"480\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb1-1.jpg\" alt=\"\" class=\"wp-image-4745\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb1-1.jpg 1004w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb1-1-300x143.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb1-1-768x367.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb1-1-400x191.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb1-1-800x382.jpg 800w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"656\" src=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb2-2-1024x656.jpg\" alt=\"\" class=\"wp-image-4746\" srcset=\"https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb2-2-1024x656.jpg 1024w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb2-2-300x192.jpg 300w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb2-2-768x492.jpg 768w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb2-2-1536x983.jpg 1536w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb2-2-400x256.jpg 400w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb2-2-800x512.jpg 800w, https:\/\/www.freelifemakers.org\/wordpress\/wp-content\/uploads\/2026\/01\/smb2-2.jpg 1812w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Screenshot<\/figcaption><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83d\udc49\ud83c\udffb Samba Server\ub294 \ub2e4\ub978 \uc6b4\uc601\uccb4\uc81c\ub098 \uae30\uae30\uc5d0\uc11c \ub124\ud2b8\uc6cc\ud06c\ub85c \uc11c\ubc84\uc5d0 \uc811\uc18d\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4.(\uc708\ub3c4\uc6b0 \ud30c\uc77c\uacf5\uc720)Samba Server allows you to connect to a server over a network from other operating systems or devices (Windows file sharing). \ud83d\udc49\ud83c\udffb \uc124\uce58 \/ Install \ud83d\udc49\ud83c\udffb \uc124\uc815 \ud30c\uc77c \uc218\uc815 \/ Edit configuration file \u2714\ufe0f \ub2e4\uc74c \uc124\uc815 \ud30c\uc77c\uc744 \uc218\uc815\ud569\ub2c8\ub2e4. \/ Modify the following settings [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,1],"tags":[],"class_list":["post-3604","post","type-post","status-publish","format-standard","hentry","category-linux","category-uncategorized","missing-thumbnail"],"_links":{"self":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=3604"}],"version-history":[{"count":18,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3604\/revisions"}],"predecessor-version":[{"id":4747,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/3604\/revisions\/4747"}],"wp:attachment":[{"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=3604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=3604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freelifemakers.org\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=3604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}