{"id":246,"date":"2010-07-21T20:01:49","date_gmt":"2010-07-21T17:01:49","guid":{"rendered":"http:\/\/yousite.ru\/?p=246"},"modified":"2012-09-02T03:25:02","modified_gmt":"2012-09-01T23:25:02","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-%d0%b8-%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-samba-%d0%bd%d0%b0-ububnu","status":"publish","type":"post","link":"https:\/\/yousite.ru\/?p=246","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Samba \u043d\u0430 Ububnu."},"content":{"rendered":"<div>\n<p><strong>Samba<\/strong> \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u0441\u0435\u0442\u0435\u0432\u044b\u043c \u0434\u0438\u0441\u043a\u0430\u043c \u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445. <!--more-->\u0422\u043e \u0435\u0441\u0442\u044c, \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0441\u043e \u0441\u0432\u043e\u0435\u0433\u043e \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u043f\u043e\u0434 \u0432\u0438\u043d\u0434\u043e\u0439 \u0438\u043c\u0435\u0442\u044c<strong> \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0444\u0430\u0439\u043b\u0430\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043f\u043e\u0434 ubuntu<\/strong>, \u0442\u043e \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u0434\u043e \u0441\u0442\u0430\u0432\u0438\u0442\u044c smaba.<\/p>\n<p>\u041f\u043e\u0434 \u0443\u0431\u0443\u043d\u0442\u0443 samba \u0441\u0442\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/p>\n<div>\n<div>\n<pre>Sudo apt-get install samba<\/pre>\n<\/div>\n<\/div>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430\u0434\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c, \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 <strong>\/etc\/samba\/smb.conf<\/strong><\/p>\n<p>\u0421\u0430\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0440\u0430\u0437\u0431\u0438\u0442 \u043d\u0430 \u0431\u043b\u043e\u043a\u0438. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0432\u0441\u0451 \u0442\u0430\u043c \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0434\u0430 \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0438 \u044f\u0441\u043d\u043e. \u041f\u043e\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0441\u044c \u043d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0442\u0440\u043e\u0447\u043a\u0430<\/p>\n<div>\n<div>\n<pre>security = user<\/pre>\n<\/div>\n<\/div>\n<p>\u0414\u0435\u043b\u0430\u0435\u0442 \u0442\u0430\u043a, \u0447\u0442\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 samba \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0443\u0447\u0451\u0442\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0441\u043e\u043c\u043e\u0439 Ubuntu, \u0442\u043e \u0435\u0441\u0442\u044c \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c samba-\u044e\u0437\u0435\u0440\u0430 \u043d\u0430\u0434\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 Ubuntu<\/p>\n<div>\n<div>\n<pre>sudo adduser &lt;username&gt;<\/pre>\n<\/div>\n<\/div>\n<p>\u0430 \u043f\u043e\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u0442\u044c samba-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<\/p>\n<div>\n<div>\n<pre>sudo smbpasswd -a &lt;username&gt;<\/pre>\n<\/div>\n<\/div>\n<p>\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043d\u0430 \u043a\u0430\u043a\u0443\u044e-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u0430\u043f\u043a\u0443 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u043c\u044b \u0445\u043e\u0442\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0440\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430: <strong>usershare<\/strong> \u2013 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0439 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c, <strong>download<\/strong> \u2013 \u043e\u0442\u043a\u0443\u0434\u0430 \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0438 <strong>upload<\/strong> \u2013 \u043f\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u0437\u0430\u043a\u0430\u0447\u043a\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0442\u0440\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <strong>\/home\/share\/usershare<\/strong>, <strong>\/home\/share\/download <\/strong>\u0438 <strong>\/home\/share\/upload<\/strong>, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433<strong> upload<\/strong> \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438<\/p>\n<div>\n<div>\n<pre>sudo chmod 777 \/home\/share\/upload<\/pre>\n<\/div>\n<\/div>\n<p>\u0438 \u0437\u0430\u043f\u0438\u0448\u0435\u043c \u0432 \u043a\u043e\u043d\u0435\u0446 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 <strong>\/etc\/samba\/smb.conf<\/strong> \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0442\u0435\u043a\u0441\u0442.<\/p>\n<div>\n<div>\n<pre>[usershare]\r\ncomment = User share\r\npath = \/home\/shares\/usershare\r\nvalid users = username\r\ncreate mask = 0660\r\ndirectory mask = 0771\r\nwritable = yes\r\n\r\n[download]\r\ncomment = All users download\r\npath = \/home\/share\/download\r\ncreate mode = 0700\r\ndirectory mask = 0700\r\navailable = yes\r\nbrowsable = yes\r\npublic = yes\r\nwritable = no\r\n\r\n[upload]\r\ncomment = All users upload\r\npath = \/home\/share\/upload\r\ncreate mode = 0777\r\ndirectory mask = 0777\r\navailable = yes\r\nbrowsable = yes\r\npublic = yes\r\nwritable = yes<\/pre>\n<\/div>\n<\/div>\n<p>\u041d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c samba \u043f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433. \u0444\u0430\u0439\u043b\u0430.<\/p>\n<div>\n<div>\n<pre>sudo \/etc\/init.d\/samba restart<\/pre>\n<\/div>\n<\/div>\n<p>\u0422\u0430\u043a \u0436\u0435 \u0434\u043b\u044f \u043b\u0435\u043d\u0438\u0432\u044b\u0445 \u0438\u043c\u0435\u0435\u0442\u0441\u044f <strong>\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 samba<\/strong>, \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043d \u043d\u0435 \u043c\u043d\u043e\u0433\u043e \u0443\u043c\u0435\u0435\u0442. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <strong>GUI \u0434\u043b\u044f samba<\/strong> \u043c\u043e\u0436\u043d\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/p>\n<div>\n<div>\n<pre>sudo apt-get install system-config-samba<\/pre>\n<\/div>\n<\/div>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u043d\u0430\u0434\u043e \u043d\u0430 \u043a\u043e\u043c\u043f \u0441 \u0441\u0430\u043c\u0431\u043e\u0439 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043e\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043d\u0435\u0433\u043e \u0436\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0438 \u043e \u043a\u0430\u043a\u043e\u043c \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0433\u043e \u0440\u0435\u0447\u0438 \u043d\u0435 \u0438\u0434\u0451\u0442, \u043d\u043e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0435\u0439 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u0448\u0430\u0440\u043e\u0439 \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u0435\u043d. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043e\u043d \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/p>\n<div>\n<div>\n<pre>sudo system-config-samba<\/pre>\n<\/div>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Samba \u0447\u0435\u0440\u0435\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439  \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\" src=\"http:\/\/448dmg.ru\/wp-includes\/images\/Ubuntu-Samba\/samba-GUI.jpg\" alt=\"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Samba \u0447\u0435\u0440\u0435\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\" width=\"500\" height=\"169\" \/><\/p>\n<p>\u0412\u0441\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043e\u043d \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b samba.<\/p>\n<p>\u0414\u043b\u044f <strong> \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u0432\u0430\u043d\u0438\u044f<\/strong> \u0435\u0441\u0442\u044c web-GUI \u0442.\u0435.<strong> \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 samba \u0447\u0435\u0440\u0435\u0437 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/strong>, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043d SWAT (Samba Web Administration Tool), \u0434\u043b\u044f \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0443\u0436\u0435\u043d web-\u0441\u0435\u0440\u0432\u0435\u0440. \u0422\u0430\u043a \u0436\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 web-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f samba \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u0434\u043e\u0439\u0434\u0451\u0442 webmin.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Samba \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0431\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a \u0441\u0435\u0442\u0435\u0432\u044b\u043c \u0434\u0438\u0441\u043a\u0430\u043c \u043d\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[124],"class_list":["post-246","post","type-post","status-publish","format-standard","hentry","category-ubuntu","tag-ubuntu-2"],"_links":{"self":[{"href":"https:\/\/yousite.ru\/index.php?rest_route=\/wp\/v2\/posts\/246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yousite.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yousite.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yousite.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yousite.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=246"}],"version-history":[{"count":3,"href":"https:\/\/yousite.ru\/index.php?rest_route=\/wp\/v2\/posts\/246\/revisions"}],"predecessor-version":[{"id":1202,"href":"https:\/\/yousite.ru\/index.php?rest_route=\/wp\/v2\/posts\/246\/revisions\/1202"}],"wp:attachment":[{"href":"https:\/\/yousite.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yousite.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yousite.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}