{"id":128,"date":"2021-01-06T16:40:58","date_gmt":"2021-01-06T13:40:58","guid":{"rendered":"http:\/\/adm.zavodngo.com\/?page_id=128"},"modified":"2021-01-10T15:18:56","modified_gmt":"2021-01-10T12:18:56","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-ftp-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80%d0%b0-proftpd-%d0%b2-ubuntu","status":"publish","type":"page","link":"https:\/\/adm.zavodngo.com\/?page_id=128","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 FTP \u0441\u0435\u0440\u0432\u0435\u0440\u0430 ProFTPD \u0432 Ubuntu"},"content":{"rendered":"\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e\u0434\u043d\u044f\u0442\u044c FTP-\u0441\u0435\u0440\u0432\u0435\u0440 + \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043a \u043d\u0435\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430. \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0431\u044b\u043b \u0432\u044b\u0431\u0440\u0430\u043d \u0441\u0435\u0440\u0432\u0435\u0440&nbsp;<em>proftpd<\/em>.  \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:<\/p>\n\n\n\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 proftpd:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install proftpd<\/pre>\n\n\n\n<p>\u041e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043d\u0430 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430: \u00ab\u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u00bb. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \/etc\/shells:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo gedit \/etc\/shells<\/pre>\n\n\n\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043d\u0435\u0433\u043e \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/bin\/false<\/pre>\n\n\n\n<p>\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0432 \/HOME \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u043f\u0430\u043f\u043a\u0443 FTP-shared(\u041d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043a\u043e\u0440\u043d\u0435 \/HOME \u0438 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u0430\u043a\u043e\u0435 \u0438\u043c\u044f \u043f\u0430\u043f\u043a\u0438, \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mkdir \/home\/FTP-shared<\/pre>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0441 \u0438\u043c\u0435\u043d\u0435\u043c userftp(\u043d\u0443 \u0438\u043b\u0438 \u0447\u0442\u043e \u043f\u043e\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0435\u0439):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo useradd userftp -d \/home\/FTP-shared -s \/bin\/false\nsudo passwd userftp<\/pre>\n\n\n\n<p><strong>\u0412\u043c\u0435\u0441\u0442\u043e \u00abpass\u00bb \u2013 \u0432\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0438\u043b\u0438 \u0444\u0440\u0430\u0437\u0443 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0430\u0440\u043e\u043b\u044f(\u043d\u0435 \u0432\u0432\u043e\u0434\u0438\u0442\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0446\u0438\u0444\u0440\u044b, \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442).<\/strong> \u0412 \u043f\u0430\u043f\u043a\u0435 FTP-shared \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0434\u0432\u0435 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u043f\u0430\u043f\u043a\u0438(\u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u0430\u043a \u0445\u043e\u0442\u0438\u043c):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mkdir \/home\/FTP-shared\/public\nsudo mkdir \/home\/FTP-shared\/upload<\/pre>\n\n\n\n<p>\u041f\u0440\u0438\u0441\u0432\u043e\u0438\u043c \u043f\u0440\u0430\u0432\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0430\u043f\u043a\u0430\u043c:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo chmod 755 \/home\/FTP-shared\nsudo chmod 755 \/home\/FTP-shared\/public\nsudo chmod 777 \/home\/FTP-shared\/upload<\/pre>\n\n\n\n<p><em>FTP-shared<\/em> \u0438&nbsp;<em>public<\/em> \u2013 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u0435\u043d\u0438\u0435.&nbsp;<em>upload<\/em> \u2013 \u0437\u0430\u043f\u0438\u0441\u044c. \u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0438\u043c\u0435\u044e\u0449\u0438\u0439\u0441\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b proftpd.conf \u0438 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mv \/etc\/proftpd\/proftpd.conf \/etc\/proftpd\/proftpd.conf.old\nsudo gedit \/etc\/proftpd\/proftpd.conf<\/pre>\n\n\n\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043d\u0435\u0433\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u044e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\nUseIPv6 off\n\nAllowOverwrite on\nAuthAliasOnly on\n\n# \u0417\u0434\u0435\u0441\u044c \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f alias \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e (\u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u043e \u0438\u043c\u044f test, \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0435)\nUserAlias test userftp\n\nServerName \"server\"\nServerType standalone\nDeferWelcome on\n\nMultilineRFC2228 on\nDefaultServer on\nShowSymlinks off\n\nTimeoutNoTransfer 600\nTimeoutStalled 100\nTimeoutIdle 2200\n\nDisplayChdir .message\nListOptions \"-l\"\n\nRequireValidShell off\n\nTimeoutLogin 20\n\nRootLogin off\n\n# \u043f\u0443\u0442\u0438 \u0434\u043b\u044f \u043b\u043e\u0433\u043e\u0432\nExtendedLog \/var\/log\/ftp.log\nTransferLog \/var\/log\/xferlog\nSystemLog \/var\/log\/syslog.log\n\n#DenyFilter \\*.*\/\n\n# \u042f \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0444\u0430\u0439\u043b \/etc\/ftpusers (\u0437\u0434\u0435\u0441\u044c \u0432\u0432\u043e\u0434\u0438\u043c \u0438\u043c\u0435\u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u0434\u043b\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0438\u0445 \u0434\u043e\u0441\u0442\u0443\u043f\u0430)\nUseFtpUsers off\n\n# Users require a valid shell listed in \/etc\/shells to login.\n# Use this directive to release that constrain.\nRequireValidShell        off\n\n# Allow to restart a download\nAllowStoreRestart on\n\n# \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 \u0434\u043b\u044f \u0444\u0442\u043f 21, \u0434\u043b\u044f \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u044f \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u043e\u0439 (\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439):\nPort 21\n\n# \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438\nMaxInstances 8\n\n# \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0438 \u0433\u0440\u0443\u043f\u043f\u0430\nUser nobody\nGroup nogroup\n\n# Umask 022 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043f\u0430\u043f\u043e\u043a\nUmask 022 022\n\nPersistentPasswd off\n\nMaxClients 8 \"\u0414\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442 \u043f\u0440\u0435\u0434\u0435\u043b \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432\"\nMaxClientsPerHost 8 \"\u0414\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442 \u043f\u0440\u0435\u0434\u0435\u043b \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0441 \u0412\u0430\u0448\u0435\u0433\u043e \u0445\u043e\u0441\u0442\u0430\"\nMaxClientsPerUser 8 \"\u0414\u043e\u0441\u0442\u0438\u0433\u043d\u0443\u0442 \u043f\u0440\u0435\u0434\u0435\u043b \u043d\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439 (%m)\"\nMaxHostsPerUser 8 \"\u0411\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u043b\u044c\u0437\u044f\"\n\n# \u0432\u044b\u0432\u043e\u0434 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u0432\u0445\u043e\u0434\u0430\nAccessGrantMsg \"\u0414\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c!!!\"\n# \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f\nServerIdent on \"\u041c\u043e\u0439 \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\"\n\n# \u0434\u0435\u043b\u0430\u0435\u043c \/home\/FTP-shared \u043f\u0430\u043f\u043a\u0443 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439\nDefaultRoot \/home\/FTP-shared\n\n# \u0437\u0430\u043f\u0440\u0435\u0449\u0430\u0435\u043c \u0432\u044b\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u043f\u0430\u043f\u043a\u0438 (\u0441\u0442\u0440\u043e\u0433\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f)\nDefaultRoot ~\n\nMaxLoginAttempts 5 \"\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u043e\u043f\u044b\u0442\u043e\u043a \u0432\u0445\u043e\u0434\u0430 \u0438\u0441\u0447\u0435\u0440\u043f\u0430\u043d\u043e - \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u043e\u0436\u0434\u0430\u0442\u044c, \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043f\u043e\u0434\u0435\u043b\u0430\u0435\u0448\u044c, \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u0435\u0432\u044b\u0448\u0435 \u0432\u0441\u0435\u0433\u043e\"\n\n#VALID LOGINS\n&lt;Limit LOGIN>\nAllowUser userftp\nDenyALL\n&lt;\/Limit>\n \n&lt;Directory \/home\/FTP-shared>\nUmask 022 022\nAllowOverwrite off\n&lt;Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD>\nAllowUser userftp\nDenyAll\n&lt;\/Limit>\n&lt;\/Directory>\n \n&lt;Directory \/home\/FTP-shared\/public\/*>\nUmask 022 022\nAllowOverwrite off\n&lt;Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD>\nAllowUser userftp\nDenyAll\n&lt;\/Limit>\n&lt;\/Directory>\n \n&lt;Directory> \/home\/FTP-shared\/upload\/>\nUmask 022 022\nAllowOverwrite on\n&lt;Limit READ RMD DELE>\nAllowUser userftp\nDenyAll\n&lt;\/Limit>\n \n&lt;Limit STOR CWD MKD>\nAllowAll\n&lt;\/Limit>\n&lt;\/Directory>\n \n# # \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\n#&lt;Anonymous \/\u043f\u0430\u043f\u043a\u0430\/\u0434\u043b\u044f\/\u0434\u043e\u0441\u0442\u0443\u043f\u0430>\n# User userftp\n# Group nogroup\n# UserAlias anonymous userftp\n# MaxClients 8 \"\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c %m \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 - \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u043e\u0437\u0436\u0435\"\n# DisplayChdir .message\n#\n# &lt;Directory *>\n# &lt;Limit WRITE>\n# DenyAll\n# &lt;\/Limit>\n# &lt;\/Directory>\n#&lt;\/Anonymous><\/pre>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0412\u044b \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u043f\u0430\u043f\u043e\u043a, \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u043b\u044f \u0438 \u0442.\u0434 \u043d\u0435 \u043a\u0430\u043a \u0432 \u0441\u0442\u0430\u0442\u044c\u0435, \u0442\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043f\u043e\u0434 \u0441\u0435\u0431\u044f. \u041f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0444\u0442\u043f-\u0441\u0435\u0440\u0432\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0438\u043c\u0435\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u0430:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">user (\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c): test\npassword (\u043f\u0430\u0440\u043e\u043b\u044c): pass (\u0442\u043e\u0442, \u0447\u0442\u043e \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d \u0434\u043b\u044f userftp)<\/pre>\n\n\n\n<p>\u041c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043d\u043e \u0432\u0441\u0435 \u043e\u043d\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043d\u044b \u0432 \u0444\u0430\u0439\u043b\u0435&nbsp;<em>proftpd.conf<\/em>. \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f, \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0437\u0430\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0435 \u0441\u0435\u043a\u0446\u0438\u0438 \u0434\u043b\u044f&nbsp;<em>test<\/em> \u0438 \u0440\u0430\u0441\u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u043a\u0446\u0438\u044e \u0434\u043b\u044f Anonymous. \u0421\u0435\u0440\u0432\u0435\u0440 \u0437\u0430\u043f\u0443\u0449\u0435\u043d, \u043d\u043e \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0435\u0433\u043e:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo \/etc\/init.d\/proftpd restart<\/pre>\n\n\n\n<p>\u0427\u0442\u043e \u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c, \u043a\u0442\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u043a \u0444\u0442\u043f-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430&nbsp;<em>ftptop<\/em> (\u043a\u043b\u0430\u0432\u0438\u0448\u0430 t \u043c\u0435\u043d\u044f\u0435\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, q \u2013 \u0432\u044b\u0445\u043e\u0434). <strong>\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b:<\/strong> \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a\u0430\u043a\u0443\u044e-\u043b\u0438\u0431\u043e \u043f\u0430\u043f\u043a\u0443 \u043a \u0444\u0442\u043f-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0442\u043f-\u0441\u0435\u0440\u0432\u0435\u0440\u0430) \u0431\u0435\u0437 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mount -o bind \/\u0437\u0434\u0435\u0441\u044c\/\u043f\u0443\u0442\u044c\/\u043f\u0430\u043f\u043a\u0438\/\u0447\u0442\u043e\/\u044f\/\u0445\u043e\u0447\u0443\/\u0440\u0430\u0441\u0448\u0430\u0440\u0438\u0442\u044c\/ \/home\/FTP-shared\/public<\/pre>\n\n\n\n<p>\u0438\u043b\u0438 \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043e\u043c \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mount -o bind \/\u0437\u0434\u0435\u0441\u044c\/\u043f\u0443\u0442\u044c\/\u043f\u0430\u043f\u043a\u0438\/\u0447\u0442\u043e\/\u044f\/\u0445\u043e\u0447\u0443\/\u0440\u0430\u0441\u0448\u0430\u0440\u0438\u0442\u044c\/ \/home\/FTP-shared\/upload<\/pre>\n\n\n\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0432 \u0441\u0440\u043e\u0447\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0430\u043f\u043a\u0443 \u0438\u043b\u0438 \u0434\u0438\u0441\u043a \u0438 \u043f\u043e\u0442\u043e\u043c \u043e\u0442\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo umount \/home\/FTP-shared\/public\nsudo umount \/home\/FTP-shared\/upload<\/pre>\n\n\n\n<p>\u0414\u043b\u044f \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043d\u0443\u0436\u043d\u044b\u043c \u043f\u0430\u043f\u043a\u0430\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0438\u0445 \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c fstab. \u0411\u044d\u043a\u0430\u043f \u0444\u0430\u0439\u043b\u0430 fstab:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo cp \/etc\/fstab \/etc\/fstab.old<\/pre>\n\n\n\n<p>\u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \/etc\/fstab:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo gedit \/etc\/fstab<\/pre>\n\n\n\n<p>\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0435 \u043f\u0443\u0442\u0438:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\u0437\u0434\u0435\u0441\u044c\/\u043f\u0443\u0442\u044c\/\u043f\u0430\u043f\u043a\u0438\/\u0447\u0442\u043e\/\u044f\/\u0445\u043e\u0447\u0443\/\u0440\u0430\u0441\u0448\u0430\u0440\u0438\u0442\u044c \/home\/FTP-shared\/public none bind 0 0<\/pre>\n\n\n\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u0440\u0435\u0441\u0442\u0430\u0440\u0442\u0435 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430, \u0435\u0441\u043b\u0438 \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u043e\u043c \u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438. \u0427\u0442\u043e \u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0444\u0442\u043f-\u0441\u0435\u0440\u0432\u0435\u0440 \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u043d\u0443\u0436\u043d\u043e \u0434\u0430\u0442\u044c \u0435\u043c\u0443 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 ip-\u0430\u0434\u0440\u0435\u0441. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043d\u0443\u0436\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 (\u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 21) \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u0441\u0430 (\u0432\u0438\u0434\u0430 192.168.xxx.xxx) \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u0438\u0441\u0438\u0442 \u0441\u0435\u0440\u0432\u0435\u0440, \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0438\u0437\u0432\u043d\u0435. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u043d\u0443\u0436\u043d\u043e \u0434\u0430\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0435\u043c\u0443 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 IP-\u0430\u0434\u0440\u0435\u0441\u0443 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0439 \u0430\u0434\u0440\u0435\u0441. \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430 DynDNS.com(\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f), \u0441\u043e\u0437\u0434\u0430\u0432 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u0435\u0433\u043e \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0430\u0434\u0440\u0435\u0441 (\u0432\u0438\u0434\u0430 moi-server.homeip.net). \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c&nbsp;<em>ddclient<\/em>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install ddclient<\/pre>\n\n\n\n<p>\u0412\u0432\u043e\u0434\u0438\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 DynDNS.com \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u0430\u043a\u0435\u0442\u0430. \u0418\u0437\u043c\u0435\u043d\u044f\u0435\u043c&nbsp;<em>ServerName<\/em> \u00abserver\u00bb \u0432 \u0444\u0430\u0439\u043b\u0435&nbsp;<em>proftpd.conf<\/em> \u043d\u0430&nbsp;<em>ServerName<\/em> \u00abmoi-server.homeip.net\u00bb. \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0444\u0442\u043f-\u0441\u0435\u0440\u0432\u0435\u0440:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo \/etc\/init.d\/proftpd restart<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u043f\u043e\u0434\u043d\u044f\u0442\u044c FTP-\u0441\u0435\u0440\u0432\u0435\u0440 + \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043a \u043d\u0435\u043c\u0443 \u0434\u043e\u0441\u0442\u0443\u043f \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430. \u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0431\u044b\u043b \u0432\u044b\u0431\u0440\u0430\u043d \u0441\u0435\u0440\u0432\u0435\u0440&nbsp;proftpd. \u0412 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043f\u043e\u0448\u0430\u0433\u043e\u0432\u043e \u043a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c: \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043a\u0435\u0442 proftpd: sudo apt-get install proftpd \u041e\u0442\u0432\u0435\u0447\u0430\u0435\u043c \u043d\u0430 \u043f\u043e\u044f\u0432\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u0441\u043f\u043e\u0441\u043e\u0431\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430: \u00ab\u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u00bb. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c &hellip; <a href=\"https:\/\/adm.zavodngo.com\/?page_id=128\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-128","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/adm.zavodngo.com\/index.php?rest_route=\/wp\/v2\/pages\/128","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adm.zavodngo.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/adm.zavodngo.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/adm.zavodngo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adm.zavodngo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=128"}],"version-history":[{"count":3,"href":"https:\/\/adm.zavodngo.com\/index.php?rest_route=\/wp\/v2\/pages\/128\/revisions"}],"predecessor-version":[{"id":158,"href":"https:\/\/adm.zavodngo.com\/index.php?rest_route=\/wp\/v2\/pages\/128\/revisions\/158"}],"wp:attachment":[{"href":"https:\/\/adm.zavodngo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}