{"id":198492,"date":"2013-10-22T02:55:03","date_gmt":"2013-10-21T22:55:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=198492"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=198492","title":{"rendered":"<span class=\"post_title\">\u0414\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 10 \u0412\u0430\u0442\u0442? \u0412\u043f\u043e\u043b\u043d\u0435!<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u041f\u0440\u0438\u0432\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0425\u0430\u0431\u0440\u0430.<\/p>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u043c\u0435\u0434\u0438\u0430-\u0446\u0435\u043d\u0442\u0440\u0430 (mp3, ip-tv, video, uPnP \u0438 \u0442.\u0434.).<\/p>\n<p>  \u0412\u0441\u0435 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u044f \u0443\u0436\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0434\u043b\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u043d\u0443\u0436\u0434 \u0441\u0435\u0440\u0432\u0435\u0440 HP MicroServer N36L \u0441 RAID5 \u043d\u0430 4 \u0442\u0435\u0440\u0430\u0431\u0430\u0439\u0442\u0430(3x2GB HDD WD Green + 8 Gb ECC RAM), \u0441 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c\u0438 \u043d\u0430 \u043e\u0440\u0430\u043a\u043b\u043e\u0432\u0441\u043a\u043e\u043c vBox, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0438 \u043d\u0435\u043f\u043b\u043e\u0445, \u043d\u043e \u0435\u0433\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0435 \u0436\u0443\u0436\u0436\u0430\u043d\u0438\u0435 \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u0438\u043b\u043e \u0447\u043b\u0435\u043d\u043e\u0432 \u0441\u0435\u043c\u044c\u0438 \u0432 \u0441\u043c\u044b\u0441\u043b\u0435 \u0437\u0440\u044f \u0441\u044a\u0435\u0434\u0430\u0435\u043c\u044b\u0445 \u043a\u0438\u043b\u043e\u0432\u0430\u0442\u0442 \u0432 \u0433\u043e\u0434 (\u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0435\u0441\u044f, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043d\u0435\u043c \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u043e\u0441\u0442\u043e\u0432).<br \/>  \u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0447\u0435\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0431\u043e\u043b\u0435\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e, \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u043c\u0435\u0434\u0438\u0430-\u0446\u0435\u043d\u0442\u0440\u0430 \u0441 \u043f\u0440\u044f\u043c\u044b\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043a \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u0443.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u041f\u043e\u0441\u043b\u0435 \u0434\u043e\u043b\u0433\u0438\u0445 \u043f\u043e\u0438\u0441\u043a\u043e\u0432 \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0439 \u043c\u043d\u043e\u044e \u0431\u044b\u043b \u0432\u044b\u0431\u0440\u0430\u043d \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0434\u0435\u0432\u0430\u0439\u0441 \u043d\u0430 rt3188-\u0447\u0438\u043f\u0441\u0435\u0442\u0435: K-R42, 4-\u0445 \u044f\u0434\u0435\u0440\u043d\u044b\u0439 \u0426\u041f\u0423, \u0441 2\u0413\u0431 \u043e\u0437\u0443 \u0438 4\u0413\u0431 \u0444\u043b\u0435\u0448-\u043f\u0430\u043c\u044f\u0442\u0438 (\u0445\u043e\u0442\u044f \u043d\u0430 \u043a\u043e\u0440\u043e\u0431\u043a\u0435 \u0431\u044b\u043b\u043e \u0433\u043e\u0440\u0434\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e 8\u0413\u0431) \u0438 4-\u0445 \u044f\u0434\u0435\u0440\u043d\u044b\u043c \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438 \u044f\u0434\u0440\u043e\u043c Mali400 \u043d\u0430 \u0430\u043d\u0434\u0440\u043e\u0438\u0434\u0435 4.2.2.<\/p>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0432\u0441\u0435 \u043d\u0438\u0436\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0438 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0445 \u0447\u0435\u0440\u0435\u0437 HDMI \u043a \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u0443, \u043d\u043e \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043f\u043b\u044e\u0441\u043e\u043c \u0432 \u0432\u044b\u0431\u043e\u0440\u0435 \u0431\u044b\u043b\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u0440\u043f\u0443\u0441\u0430 \u0434\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0442\u0435\u043f\u043b\u043e\u043e\u0431\u043c\u0435\u043d\u0430, \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u044a\u0435\u043c\u0430 SPDIF \u0434\u043b\u044f \u0437\u0432\u0443\u043a\u0430 \u0438 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e \u0447\u0438\u043f\u0441\u0435\u0442\u0430.<\/p>\n<p>  \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c K-R42 \u043a\u043e\u043b\u0435\u0431\u043b\u0435\u0442\u0441\u044f \u0432 \u0440\u0430\u0439\u043e\u043d\u0435 90-120$ (geekbuying.com, aliexpress.com \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043f\u0435\u0440\u0435\u0441\u044b\u043b\u043a\u043e\u0439), \u0447\u0442\u043e \u043f\u0440\u0430\u0432\u0434\u0430 \u0434\u043e\u0440\u043e\u0436\u0435 2-\u0445 \u044f\u0434\u0435\u0440\u043d\u044b\u0445 \u0441\u0442\u0438\u043a\u043e\u0432\/\u0431\u043e\u043a\u0441\u043e\u0432, \u043d\u043e \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043c\u043e \u0441\u043e \u043c\u043d\u043e\u0433\u0438\u043c\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u043d\u0430 \u0442\u043e\u043c \u0436\u0435 rt3188 \u0447\u0438\u043f\u0441\u0435\u0442\u0435.<\/p>\n<p>  \u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u043a\u0430\u043a \u043c\u0435\u0434\u0438\u0430-\u0446\u0435\u043d\u0442\u0440 \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u0443\u0440\u0430: \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f XBMC 12.2 Frodo \u043d\u0430 \u043d\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0441\u044f \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445-\u0431\u044b \u0442\u043e \u043d\u0438 \u0431\u044b\u043b\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441 \u043f\u0443\u043b\u044c\u0442\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0433\u043b\u0430\u0434\u043a\u043e\u0435 \u0438 \u0441 \u044d\u0442\u0438\u043c \u043e\u0441\u043e\u0431\u044b\u0445 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u043e. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u0430\u043d\u0442\u0435\u043d\u043d\u0435 \u0431\u0435\u0441\u043f\u0440\u043e\u0432\u043e\u0434\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e, \u043d\u0430\u0433\u0440\u0435\u0432\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435 \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u0441\u0438\u043b\u044c\u043d\u043e, \u043d\u043e \u043f\u043e\u0434 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u0442\u0435\u043f\u043b\u044b\u0439.<\/p>\n<h4>1. \u0421\u0442\u0430\u0432\u0438\u043c \u043b\u0438\u043d\u0443\u043a\u0441.<\/h4>\n<p>  \u041a\u0430\u043a\u043e\u0439 \u2013 \u043c\u043d\u0435 \u043e\u0441\u043e\u0431\u043e\u0439 \u0440\u0430\u0437\u043d\u0438\u0446\u044b \u043d\u0435 \u0431\u044b\u043b\u043e, \u043d\u043e \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u0432\u044b\u0431\u0440\u0430\u043b Debian wheezy.<\/p>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043f\u043e\u0434 Mali400 \u043d\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0445 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0435 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 3D-\u0433\u0440\u0430\u0444\u0438\u043a\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u043f\u043e\u043a\u0430 \u043d\u0435\u0442 \u2013 \u043d\u0430\u0434\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c chroot-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435, \u0432\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u0432\u0430\u0442\u044c \u0434\u0435\u0432\u0430\u0439\u0441 \u043d\u0430\u0447\u0438\u0441\u0442\u043e \u043d\u0430 \u043b\u0438\u043d\u0443\u043a\u0441 (\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0430 \u0435\u0441\u0442\u044c \u0443\u0436\u0435 \u0432 \u0441\u0435\u0442\u0438).<br \/>  \u0411\u043b\u0430\u0433\u043e \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434 \u0430\u043d\u0434\u0440\u043e\u0438\u0434 \u0435\u0441\u0442\u044c \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 app: Linux Deploy, \u0434\u0430\u044e\u0449\u0438\u0439 \u043d\u0430 \u0432\u044b\u0431\u043e\u0440 \u043b\u044e\u0431\u043e\u0439 \u0438\u0437 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043c\u044d\u0439\u043d\u0441\u0442\u0440\u0438\u043c-\u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432.<\/p>\n<p>  \u0414\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u0430: \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0436\u0435\u043b\u0430\u0435\u043c\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0438 \u043d\u0430\u0436\u0430\u0442\u044c \u0441\u0442\u0430\u0440\u0442.<br \/>  \u0412\u0441\u0442\u0430\u0432\u0438\u0432 \u0432 \u043c\u0435\u0434\u0438\u0430\u0431\u043e\u043a\u0441 microSD-\u043a\u0430\u0440\u0442\u0443 \u043d\u0430 8\u0413\u0431, \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u043d\u0430 \u0440\u0430\u0437\u0434\u0435\u043b SD-\u043a\u0430\u0440\u0442\u044b \u0431\u0435\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f(\u0435\u0441\u0442\u044c \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u0438 \u043e\u043f\u0446\u0438\u044f \u0434\u043b\u044f \u0436\u0435\u043b\u0430\u044e\u0449\u0438\u0445 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0434\u0435\u0441\u043a\u0442\u043e\u043f \u0447\u0435\u0440\u0435\u0437 VNC), \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0414\u0435\u0431\u0438\u0430\u043d, \u0441 \u0430\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 SSH \u0438 sudo-\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c <b>android<\/b> \u0441 \u043f\u0430\u0440\u043e\u043b\u0435\u043c <b>changeme<\/b>.<\/p>\n<p>  \u0417\u0430\u0445\u043e\u0434\u0438\u043c \u043f\u043e SSH \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438:<\/p>\n<p>  <code>ssh android@&lt;ip-of-the-box&gt;<\/code><\/p>\n<hr\/>\n<h4>2. \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0438 \u043f\u0440\u043e\u0447\u0430\u044f&#8230;<\/h4>\n<p>  \u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f android \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u0441 <b>changeme<\/b> \u043d\u0430 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043f\u043e\u0441\u0435\u0440\u044a\u0435\u0437\u043d\u0435\u0435:<\/p>\n<p>  <code>passwd<\/code><\/p>\n<p>  \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u0440\u0443\u0442\u0430 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043b\u043e\u0433\u0438\u043d\u0430 \u043f\u043e SSH \u0432 \/etc\/ssh\/sshd_config:<\/p>\n<p>  <code>sudo nano \/etc\/ssh\/sshd_config<\/code>  <\/p>\n<pre><code class=\"bash\">PermitRootLogin yes \u2192 PermitRootLogin no <\/code><\/pre>\n<p>  \u0435\u0441\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0442\u043e <\/p>\n<p>  <code>sudo adduser username<\/code><\/p>\n<p>  \u0438 \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u0433\u0440\u0443\u043f\u043f\u044b, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0432\u0443\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u201eandroid\u201c:<\/p>\n<p>  <code>sudo adduser username aid_system aid_radio aid_bluetooth aid_graphics aid_input aid_audio aid_camera aid_log aid_compass aid_mount aid_wifi aid_adb aid_install aid_media aid_dhcp aid_sdcard_rw aid_vpn aid_keystore aid_usb aid_drm aid_available aid_gps aid_media_rw aid_mtp aid_drmrpc aid_nfc aid_sdcard_r aid_shell aid_cache aid_diag aid_net_bt_admin aid_net_bt aid_inet aid_net_raw aid_net_admin aid_net_bw_stats aid_net_bw_acct<\/code><\/p>\n<p>  \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u0430\u0448 \u043d\u043e\u0432\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u0438\u043c\u0435\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\/\u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443 \u0438 \u0442.\u043f.<br \/>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e<\/p>\n<p>  <code>groups android <\/code><\/p>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0435\u043c \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0432\u0435\u0436\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b:  <\/p>\n<pre><code class=\"bash\">sudo apt-get update sudo apt-get dist-upgrade <\/code><\/pre>\n<p>  \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u0438\u0440\u0443\u0435\u043c \u0442\u0430\u0441\u043a\u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440:<\/p>\n<p>  <code>sudo apt-get install cron<\/code><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0430\u0448\u0435\u043c\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0443 \u0438\u0437\u0432\u043d\u0435, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f \u043d\u0430 \u043a\u0430\u043a\u043e\u043c-\u043d\u0438\u0431\u0443\u0434\u044c DynDNS-\u0441\u0430\u0439\u0442\u0435 (dyn.com, noip.com \u0438 \u0442.\u043f.), \u0438 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e IP-\u0430\u0434\u0440\u0435\u0441\u0430(\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b ddclient):<\/p>\n<p>  <code>sudo apt-get install ddclient<\/code><\/p>\n<p>  \u041d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044c Port Forwarding \u0438\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0430 \u0434\u043b\u044f \u043f\u043e\u0440\u0442\u043e\u0432 22(SSH), 80(HTTP), 443(HTTPS) \u043d\u0430 IP \u043d\u0430\u0448\u0435\u0433\u043e \u201e\u043c\u0438\u043a\u0440\u043e\u201c-\u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<hr\/>\n<h4>3. \u0421\u0442\u0430\u0432\u0438\u043c LAMP<\/h4>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0432\u0441\u0435 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e:  <\/p>\n<pre><code class=\"bash\">sudo apt-get update sudo apt-get install apache2 mysql-server php5 php5-curl php5-gd php5-mysql php-apc <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0441\u0442\u0430\u0432\u0438\u043c \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c (\u0432\u0435\u0431\u043c\u0438\u043d)  <\/p>\n<pre><code class=\"bash\">cd \/tmp wget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin_1.660_all.deb sudo dpkg -i webmin_1.660_all.deb sudo apt-get -f install sudo service webmin start <\/code><\/pre>\n<p>  <i>(\u0412 \u0446\u0435\u043b\u044f\u0445 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432 \u0432\u0435\u0431\u043c\u0438\u043d \u044f \u0432\u0441\u0435 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u044e \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e)<\/i><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 <i>https:\/\/&lt;ip-of-the-box&gt;:10000<\/i> \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c android \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0447\u0442\u043e \u0434\u0443\u0448\u0435 \u0443\u0433\u043e\u0434\u043d\u043e.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0435\u0449\u0435 \u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u043d\u043e, \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u0438:<\/p>\n<p>  <code>sudo service apache2 restart<\/code><\/p>\n<hr\/>\n<h4>4. \u0410\u0432\u0442\u043e\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430<\/h4>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0448\u0438 \u0441\u043b\u0443\u0436\u0431\u044b-\u0434\u0435\u043c\u043e\u043d\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b\u0438\u0441\u044c \u0432 chroot-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u043d\u0430\u0448\u0435\u0433\u043e \u0431\u043e\u043a\u0441\u0430, \u0432 Linux Deploy \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043a\u0440\u0438\u043f\u0442 \/etc\/init.d\/myscrypt <\/p>\n<p>  \u041c\u043e\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"bash\">#!\/bin\/sh case &quot;$1&quot; in   start)     \/bin\/mount -a     \/etc\/init.d\/mysql start     \/etc\/init.d\/apache2 start     \/etc\/init.d\/ddclient start     \/etc\/init.d\/cron start ;;   stop)     \/etc\/init.d\/apache2 stop     \/etc\/init.d\/mysql stop     \/etc\/init.d\/ddclient stop     \/etc\/init.d\/cron stop     \/bin\/umount \/mnt\/usb ;;   *)      echo &quot;Usage: $0 {start|stop}&quot; ;; esac <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u201e\u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438\u201c \u043c\u0435\u0434\u0438\u0430\u043f\u043b\u0435\u0435\u0440\u0430 \u0441 \u043f\u0443\u043b\u044c\u0442\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u0432 \u0434\u0435\u0436\u0443\u0440\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c(\u043c\u043d\u043e\u0433\u0438\u0435 \u0432 \u0441\u0435\u0442\u0438 \u0441\u0447\u0438\u0442\u0430\u044e\u0442 \u044d\u0442\u0443 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u043e\u043c, \u043d\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043e\u0441\u043f\u043e\u0440\u0438\u043c\u044b\u043c \u0434\u043e\u0441\u0442\u043e\u0438\u043d\u0441\u0442\u0432\u043e\u043c!), \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u0441\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0435 \u0441\u043b\u0443\u0436\u0431\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. \u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u043e\u0440\u0430 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 5%, \u0438 \u0432\u0441\u0435\u0433\u043e \u043d\u0430 \u043e\u0434\u043d\u043e \u044f\u0434\u0440\u043e \u0438\u0437 4-\u0445!<\/p>\n<hr\/>\n<h4>5. \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c ownCloud<\/h4>\n<p>  5-\u043e\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u043c\u043e\u0436\u043d\u043e \u0443\u0436\u0435 \u0432\u043f\u043e\u043b\u043d\u0435 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u041e\u0447\u0435\u043d\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 owncloud \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435(http:\/\/doc.owncloud.org\/server\/5.0\/admin_manual\/), \u0437\u0434\u0435\u0441\u044c \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0448\u0430\u0433\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u043d\u0430\u0448\u0435\u0439 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0446\u0438\u0438:<\/p>\n<ul>\n<li> \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431\u043c\u0438\u043d-\u043f\u0430\u043d\u0435\u043b\u044c, \u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0439 \u0431\u0430\u0437\u044b \u0441 \u043f\u043e\u043b\u043d\u044b\u043c\u0438 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u043d\u0430 \u043d\u0435\u0435.<\/li>\n<li> \u0418\u043d\u0441\u0442\u0430\u043b\u043b\u0438\u0440\u0443\u0435\u043c owncloud. \u041d\u0430 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441:<\/li>\n<\/ul>\n<p>  <\/p>\n<pre><code class=\"bash\">sudo echo 'deb http:\/\/download.opensuse.org\/repositories\/isv:ownCloud:community\/Debian_7.0\/ \/' &gt;&gt; \/etc\/apt\/sources.list.d\/owncloud.list  sudo apt-get update sudo apt-get install owncloud <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u0445\u043e\u0434\u0438\u043c \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0430 <\/p>\n<p>  http:\/\/&lt;ip-of-the-box&gt;\/owncloud\/ <\/p>\n<p>  \u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u043c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 owncloud: \u0432\u0432\u043e\u0434\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0430\u0437\u044b MySQL.<br \/>  \u0412 \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0438\u043d\u0441\u0442\u0430\u043b\u043b\u044f\u0442\u043e\u0440 \u0436\u0430\u043b\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f .htaccess, <br \/>  \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c \u0432 \u0444\u0430\u0439\u043b\u0435 \/etc\/apache2\/sites-enabled\/000-default AllowOverride \u043d\u0430 All: <\/p>\n<p>  <code>sudo nano \/etc\/apache2\/sites-enabled\/000-default <\/code>  <\/p>\n<pre><code class=\"bash\"> &lt;Directory \/var\/www\/&gt;  \u2026       AllowOverride None \u2192 AllowOverride All \u2026  &lt;\/Directory&gt;  <\/code><\/pre>\n<p>  \u0430 \u0442\u0430\u043a\u0436\u0435 \u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 \/etc\/apache2\/sites-enabled\/default-ssl, \u0435\u0441\u043b\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c owncloud \u0441 SSL:<\/p>\n<p>  <code>sudo nano \/etc\/apache2\/sites-enabled\/default-ssl <\/code>  <\/p>\n<pre><code class=\"bash\">&lt;Directory \/var\/www\/&gt;  \u2026       AllowOverride None \u2192 AllowOverride All \u2026  &lt;\/Directory&gt; <\/code><\/pre>\n<p>  \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0432\u0435\u0431\u0441\u0435\u0440\u0432\u0435\u0440:<\/p>\n<p>  <code>sudo service apache2 restart<\/code><\/p>\n<p>  \u0414\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 owncloud \u043e\u0431\u044b\u0447\u043d\u043e \u043d\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0438 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0432 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u0430\u0434\u043c\u043d\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430.<\/p>\n<h5>5.1 \u0415\u0441\u043b\u0438 \u043c\u0430\u043b\u043e \u043c\u0435\u0441\u0442\u0430<\/h5>\n<p>  \u0420\u0430\u0437\u043c\u0435\u0440 \u201e\u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0433\u043e\u201c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043f\u0440\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u043c \u043c\u0435\u0441\u0442\u043e\u043c \u043d\u0430 SD-\u043a\u0430\u0440\u0442\u0435. \u0423\u0434\u043e\u0431\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442 \u043e\u0431\u044a\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u0438\u0435 \u043f\u0430\u043f\u043a\u0438 owncloud\/data \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 USB-HDD.<br \/>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u0443\u0435\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 USB-\u0434\u0438\u0441\u043a (\u0435\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b) \u043a\u0430\u043a ext4, \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \/etc\/fstab:  <\/p>\n<pre><code class=\"bash\">sudo mkdir \/mnt\/usb_hdd sudo chmod a+rwx \/mnt\/usb_hdd sudo nano \/etc\/fstab <\/code><\/pre>\n<p>  <\/p>\n<pre><code class=\"bash\">\u2026 \/dev\/block\/sda1 \/mnt\/usb_hdd             ext4       noatime,acl,user_xattr        1 1 \u2026 <\/code><\/pre>\n<p>  \u041c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0434\u0438\u0441\u043a<\/p>\n<p>  <code>mount \/mnt\/usb_hdd<\/code><\/p>\n<p>  \u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c owncloud\/data \u043d\u0430 \u043d\u0435\u0433\u043e:  <\/p>\n<pre><code class=\"bash\">sudo mv \/var\/www\/owncloud\/data \/mnt\/usb_hdd\/ sudo ln -s \/mnt\/usb_hdd\/data \/var\/www\/owncloud\/data <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0431\u044a\u0435\u043c \u043d\u0430\u0448\u0435\u0433\u043e \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u044b\u043c \u043c\u0435\u0441\u0442\u043e\u043c \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0435\u043c USB-\u0434\u0438\u0441\u043a\u0435.<\/p>\n<hr\/>\n<h4>6. \u0411\u044d\u043a\u0430\u043f \u043f\u043e \u043f\u043b\u0430\u043d\u0443<\/h4>\n<p>  \u041b\u0435\u0433\u043a\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e duplicity, \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0439 backup \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0442\u0430\u043a\u0436\u0435 \u0441 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c.<br \/>  \u0415\u0441\u043b\u0438 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0444\u0430\u0439\u043b-\u0441\u0435\u0440\u0432\u0435\u0440 \u043a\u0430\u043a \u0443 \u043c\u0435\u043d\u044f \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u0432 \u0442\u043e\u0439 \u0436\u0435 \u0441\u0435\u0442\u0438 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 wake-on-lan, \u0442\u043e \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c(\u0437\u0430\u043f\u0443\u0441\u043a \u0444\u0430\u0439\u043b-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e).<\/p>\n<p>  <code>sudo apt-get install wakeonlan duplicity <\/code><\/p>\n<p>  \u041f\u0443\u0441\u0442\u044c \u043f\u0430\u043f\u043a\u0430 \u0434\u043b\u044f \u0431\u044d\u043a\u0430\u043f\u043e\u0432 \u043d\u0430 \u0444\u0430\u0439\u043b-\u0441\u0435\u0440\u0432\u0435\u0440\u0435 192.168.0.2 s mac-address 33:d0:ab:dd:11:c1 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \/media\/backup\/owncloud,<br \/>  \u0430 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441 \u043f\u0440\u0430\u0432\u043c\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u0432 \u043d\u0435\u0435 user1.<br \/>  \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0431\u0435\u0441\u043f\u0430\u0440\u043e\u043b\u044c\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f root \u043f\u043e SSH \u043d\u0430 \u0444\u0430\u0439\u043b-\u0441\u0435\u0440\u0432\u0435\u0440:  <\/p>\n<pre><code class=\"bash\">sudo su ssh-keygen -t rsa (\u043f\u0430\u0440\u043e\u043b\u044c \u043d\u0435 \u0432\u0432\u043e\u0434\u0438\u043c, \u043f\u0440\u043e\u0441\u0442\u043e \u0436\u043c\u0435\u043c \u0432\u0432\u043e\u0434) ssh-copy-id -i .ssh\/id_rsa.pub user1@192.168.0.2 exit <\/code><\/pre>\n<p>  \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u043d\u0435\u0441\u0442\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u0434\u043b\u044f \u0442\u0430\u0441\u043a\u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u0432 crontab:<\/p>\n<p>  <code>sudo crontab -e<\/code>  <\/p>\n<pre><code class=\"bash\">49 23 * * * \t\/usr\/bin\/wakeonlan  33:d0:ab:dd:11:c1  0 0 * * sun     \/usr\/bin\/duplicity full --no-encryption --volsize 100 --exclude \/tmp --exclude \/proc --exclude \/sys \/ rsync:\/\/rus@192.168.178.5\/\/media\/backup\/owncloud 0 0 * * 1-6     \/usr\/bin\/duplicity --no-encryption --volsize 100 --exclude \/tmp --exclude \/proc --exclude \/sys \/ rsync:\/\/rus@192.168.178.5\/\/media\/backup\/owncloud 0 1 * * sun     \/usr\/bin\/duplicity remove-all-but-n-full 2 --force rsync:\/\/rus@192.168.178.5\/\/media\/backup\/owncloud <\/code><\/pre>\n<p>  \u041f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u043b\u0430\u043d\u0443 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0431\u044d\u043a\u0430\u043f \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u0448\u0435\u0433\u043e chroot-\u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f, \u043f\u043e \u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u0438\u044f\u043c \u043f\u043e\u043b\u043d\u044b\u0439, \u0432 \u0434\u0440\u0443\u0433\u0438\u0435 \u0434\u043d\u0438 \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u044b\u0439, \u0441 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435\u043c \u0441\u0442\u0430\u0440\u044b\u0445. \u0415\u0441\u043b\u0438 \u0444\u0430\u0439\u043b-\u0441\u0435\u0440\u0432\u0435\u0440 \u0441\u043f\u0438\u0442, \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0431\u0443\u0436\u0435\u043d \u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u043f\u043e \u0441\u0435\u0442\u0438 (\u0435\u0441\u043b\u0438 \u043e\u043d \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e).<\/p>\n<hr\/>\n<p>  \u041d\u0443 \u0432\u043e\u0442, \u0438\u043c\u0435\u0435\u043c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u043c\u0435\u0434\u0438\u0430-\u0446\u0435\u043d\u0442\u0435\u0440 \u0438 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435\u043c. <br \/>  \u041a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u043a\u0440\u0438\u0442\u0438\u043a\u0430 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/198492\/\"> http:\/\/habrahabr.ru\/post\/198492\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u041f\u0440\u0438\u0432\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c \u0425\u0430\u0431\u0440\u0430.<\/p>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u0439 \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u043c\u0435\u0434\u0438\u0430-\u0446\u0435\u043d\u0442\u0440\u0430 (mp3, ip-tv, video, uPnP \u0438 \u0442.\u0434.).<\/p>\n<p>  \u0412\u0441\u0435 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u044f \u0443\u0436\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0434\u043b\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0445 \u043d\u0443\u0436\u0434 \u0441\u0435\u0440\u0432\u0435\u0440 HP MicroServer N36L \u0441 RAID5 \u043d\u0430 4 \u0442\u0435\u0440\u0430\u0431\u0430\u0439\u0442\u0430(3x2GB HDD WD Green + 8 Gb ECC RAM), \u0441 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c\u0438 \u043d\u0430 \u043e\u0440\u0430\u043a\u043b\u043e\u0432\u0441\u043a\u043e\u043c vBox, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0438 \u043d\u0435\u043f\u043b\u043e\u0445, \u043d\u043e \u0435\u0433\u043e \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0435 \u0436\u0443\u0436\u0436\u0430\u043d\u0438\u0435 \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u0438\u043b\u043e \u0447\u043b\u0435\u043d\u043e\u0432 \u0441\u0435\u043c\u044c\u0438 \u0432 \u0441\u043c\u044b\u0441\u043b\u0435 \u0437\u0440\u044f \u0441\u044a\u0435\u0434\u0430\u0435\u043c\u044b\u0445 \u043a\u0438\u043b\u043e\u0432\u0430\u0442\u0442 \u0432 \u0433\u043e\u0434 (\u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0443\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0449\u0438\u0435\u0441\u044f, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u043e \u043d\u0435\u043c \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0445 \u043f\u043e\u0441\u0442\u043e\u0432).<br \/>  \u041a \u0442\u043e\u043c\u0443 \u0436\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0447\u0435\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0431\u043e\u043b\u0435\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0433\u043e, \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u043c\u0435\u0434\u0438\u0430-\u0446\u0435\u043d\u0442\u0440\u0430 \u0441 \u043f\u0440\u044f\u043c\u044b\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u043a \u0442\u0435\u043b\u0435\u0432\u0438\u0437\u043e\u0440\u0443.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-198492","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/198492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=198492"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/198492\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=198492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=198492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=198492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}