{"id":198110,"date":"2013-10-18T19:57:03","date_gmt":"2013-10-18T15:57:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=198110"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=198110","title":{"rendered":"<span class=\"post_title\">\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043a\u0430 pyload \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 standalone \u043a\u0430\u0447\u0430\u043b\u043a\u0438 \u0434\u043b\u044f ReadyNAS DUO v2<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043b\u044f \u0437\u0430\u043a\u0430\u0447\u043a\u0438 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u043e\u0432 ReadyNAS-\u043e\u043c \u043d\u0430 \u0440\u043e\u0434\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u0432 addons \u0435\u0441\u0442\u044c transmission, \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430. <br \/>  \u041d\u043e, \u0432 \u0442\u043e\u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0439 ftp\/http \u043a\u0430\u0447\u0430\u043b\u043a\u0438, \u043a \u043c\u043e\u0435\u043c\u0443 \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u0438 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u044e \u044f \u0442\u0430\u043c \u043d\u0435 \u043d\u0430\u0448\u0435\u043b. \u042d\u0442\u043e \u043d\u0435\u0434\u043e\u0440\u0430\u0437\u0443\u043c\u0435\u043d\u0438\u0435 \u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/90f\/50f\/e89\/90f50fe8906454acccba6d4811ec56f7.jpg\" alt=\"Pyload WebGUI\"\/><br \/>  <a name=\"habracut\"><\/a><br \/>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0437 addons EnableROOT \u0434\u043b\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e ssh.<br \/>  \u0412\u044b\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c <a href=\"http:\/\/www.readynas.com\/download\/addons\/arm\/5.3\/EnableRootSSH_1.0-arm.bin\">EnableRootSSH_1.0-arm.bin<\/a> \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0447\u0435\u0440\u0435\u0437 \u0430\u0434\u043c\u0438\u043d-\u043f\u0430\u043d\u0435\u043b\u044c ReadyNAS.<br \/>  \u041d\u0430\u0441 \u043f\u043e\u043f\u0440\u043e\u0441\u044f\u0442 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e ssh \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043d\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u0442\u0443 \u0441 \u043b\u043e\u0433\u0438\u043d\u043e\u043c root \u0438 \u0432\u0430\u0448\u0438\u043c \u0442\u0435\u043a\u0443\u0449\u0438\u043c \u043f\u0430\u0440\u043e\u043b\u0435\u043c \u043e\u0442 \u0430\u0434\u043c\u0438\u043d-\u043f\u0430\u043d\u0435\u043b\u0438.<\/p>\n<p>  \u0414\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f kitty. \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0432\u043c\u0435\u0441\u0442\u043e putty \u2014 \u0442.\u043a. \u0443 \u043d\u0435\u0435 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0430 utf8 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0434\u043b\u044f \u043d\u043e\u0432\u044b\u0445 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0439.<\/p>\n<p>  \u0412\u043e\u0442 \u0442\u043e, \u0447\u0442\u043e \u0438\u0437 \u0441\u0435\u0431\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043d\u0430\u0447\u0438\u043d\u043a\u0430 ReadyNAS DUO v2 (\u0432\u0435\u0440\u0441\u0438\u044f FW 5.3.8):<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">cat \/etc\/debian_version<\/b><\/p>\n<div class=\"spoiler_text\">6.0.3  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">uname -a<\/b><\/p>\n<div class=\"spoiler_text\">Linux nas 2.6.31.8.duov2 #1 Thu Apr 18 18:24:47 HKT 2013 armv5tel GNU\/Linux  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">cat \/proc\/cpuinfo<\/b><\/p>\n<div class=\"spoiler_text\">Processor: Feroceon 88FR131 rev 1 (v5l)<br \/>  BogoMIPS: 1599.07<br \/>  Features: swp half thumb fastmult edsp<br \/>  CPU implementer: 0x56<br \/>  CPU architecture: 5TE<br \/>  CPU variant: 0x2<br \/>  CPU part: 0x131<br \/>  CPU revision: 1<br \/>  Hardware: Feroceon-KW<br \/>  Revision: 0000<br \/>  Serial: 0000000000000000  <\/div>\n<\/div>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">cat \/proc\/meminfo<\/b><\/p>\n<div class=\"spoiler_text\">MemTotal: 246820 kB<br \/>  MemFree: 24188 kB<br \/>  Buffers: 6056 kB<br \/>  Cached: 104700 kB<br \/>  SwapCached: 12 kB<br \/>  Active: 96728 kB<br \/>  Inactive: 101508 kB<br \/>  Active(anon): 36812 kB<br \/>  Inactive(anon): 51176 kB<br \/>  Active(file): 59916 kB<br \/>  Inactive(file): 50332 kB<br \/>  Unevictable: 16 kB<br \/>  Mlocked: 4 kB<br \/>  SwapTotal: 524268 kB<br \/>  SwapFree: 524256 kB<br \/>  Dirty: 92 kB<br \/>  Writeback: 0 kB<br \/>  AnonPages: 87504 kB<br \/>  Mapped: 28332 kB<br \/>  Slab: 15456 kB<br \/>  SReclaimable: 3764 kB<br \/>  SUnreclaim: 11692 kB<br \/>  PageTables: 2052 kB<br \/>  NFS_Unstable: 0 kB<br \/>  Bounce: 0 kB<br \/>  WritebackTmp: 0 kB<br \/>  CommitLimit: 647676 kB<br \/>  Committed_AS: 610212 kB<br \/>  VmallocTotal: 385024 kB<br \/>  VmallocUsed: 940 kB<br \/>  VmallocChunk: 382812 kB  <\/div>\n<\/div>\n<blockquote><p><b>\u041d\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0443 <\/b><\/p>\n<p>  ReadyNAS-\u043e\u0432\u0441\u043a\u0438\u0435 \u043c\u0430\u0440\u043a\u0435\u0442\u043e\u043b\u043e\u0433\u0438 \u0442\u043e\u043b\u043a\u0430\u044e\u0442 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c FLEX-RAID &#038; X-RAID2\u2026 mdadm. \u0422\u043e\u043b\u044c\u043a\u043e \u0442\u0441\u0441!<\/p><\/blockquote>\n<p>  \u041e\u0431\u043d\u043e\u0432\u0438\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0438\u0437 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u043f\u0430\u043a\u0435\u0442\u044b \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438:  <\/p>\n<pre><code class=\"bash\">#apt-get update #apt-get install python python-beaker python-crypto python-imaging python-jinja2 python-openssl python-pycurl tesseract-ocr-eng unzip nano <\/code><\/pre>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0441\u043a\u0430\u0447\u0430\u043d\u043d\u044b\u043c \u0444\u0430\u0439\u043b\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c samba \u2014 \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043a\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u043d\u0430\u0448\u0438 \u0444\u0430\u0439\u043b\u044b \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\/\u0433\u0440\u0443\u043f\u043f\u044b, \u0447\u0442\u043e \u0438 samba \u2014 nobody:nogroup. \u0415\u0441\u0442\u044c \u0442\u0430\u043a\u0436\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 (\u043c\u0435\u043d\u0435\u0435 \u0433\u0435\u043c\u043e\u0440\u0440\u043e\u0439\u043d\u044b\u0439) \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0441\u0435 \u043a\u0430\u043a \u0435\u0441\u0442\u044c, \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c pyload \u0438\u0437-\u043f\u043e\u0434 root, \u043d\u043e \u043c\u0435\u043d\u044f\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\/\u0433\u0440\u0443\u043f\u043f\u0443 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0441\u0430\u043c\u043e\u0433\u043e pyload. \u0414\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (\u0434\u0430, \u0433\u0435\u043d\u0442\u0443\u0448\u043d\u0438\u043a).<\/p>\n<p>  \u0412\u044b\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 pyload:  <\/p>\n<pre><code class=\"bash\">#cd \/opt #wget https:\/\/github.com\/pyload\/pyload\/archive\/stable.zip #unzip stable.zip && mv pyload-stable pyload #touch \/opt\/pyload\/pyload.pid && chown \u2013R nobody:nogroup \/opt\/pyload #usermod \u2013s \/bin\/bash nobody <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 pyload.<br \/>  \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u2013 \u0437\u0430\u0431\u043e\u0442\u043b\u0438\u0432\u044b\u0439 pyload \u0441\u0430\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0435\u043c\u0443 \u0444\u0438\u0447\u0438 \u0438 \u043e\u0442\u0440\u0430\u043f\u043e\u0440\u0442\u0443\u0435\u0442 \u043e\u0431 \u044d\u0442\u043e\u043c.<\/p>\n<p>  <code>#cd \/opt\/pyload && su nobody -c &quot;python pyLoadCore.py \u2013s&quot;<\/code>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0412\u044b\u0445\u043b\u043e\u043f \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0441\u0445\u043e\u0436\u0438\u043c (\u043f\u0440\u043e\u0441\u0442\u044b\u043d\u043a\u0430):<\/b><\/p>\n<div class=\"spoiler_text\">Choose your Language \/ W\u00e4hle deine Sprache ([en], de, fr, it, es, nl, sv, ru, pl, cs, sr, pt_BR): <i>Enter<\/i><\/p>\n<p>  <i>\/\/ \u041c\u043e\u0436\u043d\u043e \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u044f\u0437\u044b\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438.<\/i><\/p>\n<p>  Welcome to the pyLoad Configuration Assistent.<br \/>  It will check your system and make a basic setup in order to run pyLoad.<\/p>\n<p>  The value in brackets [] always is the default value,<br \/>  in case you don&#8217;t want to change it or you are unsure what to choose, just hit enter.<br \/>  Don&#8217;t forget: You can always rerun this assistent with &#8212;setup or -s parameter, when you start pyLoadCore.<br \/>  If you have any problems with this assistent hit STRG-C,<br \/>  to abort and don&#8217;t let him start with pyLoadCore automatically anymore.<\/p>\n<p>  When you are ready for system check, hit enter. <i>Enter<\/i><\/p>\n<p>  ## System Check ##<br \/>  Python Version: OK<br \/>  pycurl: OK<br \/>  sqlite3: OK<\/p>\n<p>  pycrypto: OK<br \/>  py-OpenSSL: OK<\/p>\n<p>  py-imaging: OK<br \/>  tesseract: OK<\/p>\n<p>  PyQt4: missing<\/p>\n<p>  jinja2: OK<br \/>  beaker: OK<br \/>  JS engine: missing<\/p>\n<p>  System check finished, hit enter to see your status report.<i>Enter<\/i><\/p>\n<p>  ## Status ##<\/p>\n<p>  Features available: container decrypting, ssl connection, automatic captcha decryption, Webinterface<\/p>\n<p>  Featues missing:<\/p>\n<p>  Gui not available<br \/>  The Graphical User Interface.<\/p>\n<p>  no JavaScript engine found<br \/>  You will need this for some Click&#8217;N&#8217;Load links. Install Spidermonkey, ossp-js, pyv8 or rhino<br \/>  You can abort the setup now and fix some dependicies if you want.<br \/>  Continue with setup? ([y]\/n):<i>Enter<\/i><\/p>\n<p>  <i>\/\/ \u042f \u0437\u0430\u0436\u0430\u043b \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0438 \u043d\u0435\u0437\u0430\u0445\u043e\u0442\u0435\u043b \u043f\u0435\u0440\u0435\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443. \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c rhino \u0438\u043b\u0438 spidermonkey.<\/i><\/p>\n<p>  Do you want to change the config path? Current is \/root\/pyload\/.pyload<br \/>  If you use pyLoad on a server or the home partition lives on an iternal flash it may be a good idea to change it.<br \/>  Change config path? (y\/[n]):<i>Enter<\/i><\/p>\n<p>  <i>\/\/ \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0434\u0442\u044f\u043d\u0443\u043b\u0441\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u0439 \u043f\u0443\u0442\u044c. \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0441\u0432\u043e\u0439 \u2014 \/root\/pyload\/.pyload<\/i><\/p>\n<p>  Do you want to configure login data and basic settings?<br \/>  This is recommend for first run.<br \/>  Make basic setup? ([y]\/n):<i>Enter<\/i><\/p>\n<p>  ## Basic Setup ##<\/p>\n<p>  The following logindata is valid for CLI, GUI and webinterface.<br \/>  Username [User]: <i>pyload<\/i><br \/>  Password:<br \/>  Password (again):<\/p>\n<p>  <i>\/\/ \u0412\u0431\u0438\u0432\u0430\u0435\u043c \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c admin \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0435\u0441\u0442\u044c \u043f\u0435\u0440\u043c\u0430\u043d\u0435\u043d\u0442\u043d\u043e, \u0438 \u0435\u0433\u043e \u043d\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c.<\/i><\/p>\n<p>  External clients (GUI, CLI or other) need remote access to work over the network.<br \/>  However, if you only want to use the webinterface you may disable it to save ram.<br \/>  Enable remote access ([y]\/n): <i>n<\/i><\/p>\n<p>  <i>\/\/ \u0415\u0441\u043b\u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c rpc-\u043a\u043b\u0438\u0435\u043d\u0442 \u0441 \u041f\u041a, \u0442\u043e \u0432\u0438\u0434\u0438\u043c\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c (\u043e\u0431 \u044d\u0442\u043e\u043c \u0434\u0430\u043b\u0435\u0435).<\/i><\/p>\n<p>  Language ([en], de, fr, it, es, nl, sv, ru, pl, cs, sr, pt_BR):<i>Enter<\/i><br \/>  Downloadfolder [Downloads]: <i>\/d\/media2\/pyload<\/i><\/p>\n<p>  <i>\/\/ \u0423 \u043c\u0435\u043d\u044f \u0434\u0438\u0441\u043a \u0440\u0430\u0437\u0431\u0438\u0442 \u043d\u0430 2 \u0442\u043e\u043c\u0430 \u043f\u043e 2 \u0422\u0431. \u0416\u0430\u0434\u043d\u044b\u0439 \u044f, \u0447\u0442\u043e \u0436 \u043f\u043e\u0434\u0435\u043b\u0430\u0442\u044c.<\/i><\/p>\n<p>  Max parallel downloads [3]:<i>Enter<\/i><br \/>  Use Reconnect? (y\/[n]):<i>Enter<\/i><\/p>\n<p>  Do you want to configure ssl?<br \/>  Configure ssl? (y\/[n]):<i>Enter<\/i><\/p>\n<p>  <i>\/\/ \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0432\u044b\u0431\u043e\u0440\u043e\u043c threaded \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u2014 \u043d\u0443\u0436\u043d\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c, \u0438 \u043d\u0435 \u0437\u0430\u0431\u044b\u0442\u044c \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043b\u044e\u0447\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u043f\u043b\u044e\u043d\u0435\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0442\u043e\u0440 (\u043e\u0431 \u044d\u0442\u043e\u043c \u0434\u0430\u043b\u0435\u0435).<\/i><\/p>\n<p>  Do you want to configure webinterface?<br \/>  Configure webinterface? ([y]\/n):<i>Enter<\/i><\/p>\n<p>  ## Webinterface Setup ##<\/p>\n<p>  Activate webinterface? ([y]\/n):<i>Enter<\/i><\/p>\n<p>  Listen address, if you use 127.0.0.1 or localhost, the webinterface will only accessible locally.<br \/>  Address [0.0.0.0]:<i>Enter<\/i><br \/>  Port [8000]:<i>Enter<\/i><\/p>\n<p>  <i>\/\/ \u041f\u043e\u0440\u0442 \u043f\u043e \u0432\u043a\u0443\u0441\u0443, \u043b\u0438\u0448\u044c \u0431\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0441\u0435\u043a\u0430\u043b\u0441\u044f \u0441 \u0443\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438.<\/i><\/p>\n<p>  pyLoad offers several server backends, now following a short explanation.<br \/>  builtin: Default server, best choice if you dont know which one to choose.<br \/>  threaded: This server offers SSL and is a good alternative to builtin.<br \/>  fastcgi: Can be used by apache, lighttpd, requires you to configure them, which is not too easy job.<br \/>  lightweight: Very fast alternative written in C, requires libev and linux knowlegde.<br \/>   Get it from here: <a href=\"https:\/\/github.com\/jonashaag\/bjoern\">github.com\/jonashaag\/bjoern<\/a>, compile it<br \/>   and copy bjoern.so to module\/lib<\/p>\n<p>  Attention: In some rare cases the builtin server is not working, if you notice problems with the webinterface<br \/>  come back here and change the builtin server to the threaded one here.<br \/>  Server ([builtin], threaded, fastcgi, lightweight):Enter<\/p>\n<p>  <i>\/\/ \u041c\u043d\u043e\u044e \u0431\u044b\u043b\u0438 \u0438\u0441\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043d\u044b \u0440\u0430\u0437\u043d\u044b\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432:  <\/p>\n<ul>\n<li>builtin: \u041f\u0440\u043e\u0431\u043e\u0432\u0430\u043b. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u043d\u0435\u043c, \u043a\u0430\u043a \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u043d\u0435\u043f\u0440\u0438\u0442\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435.<\/li>\n<li>threaded: \u041f\u0440\u043e\u0431\u043e\u0432\u0430\u043b. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/li>\n<li>fastcgi: \u041d\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b. \u041d\u0430 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u043c \u0444\u043e\u0440\u0443\u043c\u0435 \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0445 \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 wcgi. \u0413\u0435\u043c\u043e\u0440\u0440\u043e\u0439-way. Skip<\/li>\n<li>lightweight: \u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u0438 libev. \u041f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u0443\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u0432 \u043e\u0448\u0438\u0431\u043a\u0443, \u043e\u0442\u0447\u0435\u0433\u043e \u043f\u043b\u044e\u043d\u0443\u043b \u043d\u0430 \u044d\u0442\u043e \u0434\u0435\u043b\u043e. \u041c\u043e\u0436\u0435\u0442 \u0443 \u043a\u043e\u0433\u043e-\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f (\u044f \u043f\u043e\u0434\u0433\u043b\u044f\u0434\u044b\u0432\u0430\u043b <a href=\"http:\/\/pyload.org\/install_bjoern\">\u0441\u044e\u0434\u0430<\/a>).<\/li>\n<\/ul>\n<p><\/i><\/p>\n<p>  Setup finished successfully.<br \/>  Hit enter to exit and restart pyLoad   <\/div>\n<\/div>\n<p>  \u041f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u044e, \u043c\u044b \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043c\u044b \u043d\u0430\u0432\u043e\u0440\u043e\u0442\u0438\u043b\u0438.<\/p>\n<p>  \u0421\u043f\u0435\u0440\u0432\u0430 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u0439\u0442\u0438 \u0432 \u043b\u043e\u0431 \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0443\u0441\u0442\u0430\u0440\u043d\u044b\u0439 \u0430\u0432\u0442\u043e\u0440\u0430\u043d \u2014 \u0437\u0430\u0441\u0443\u043d\u0443\u043b \u0432 crontab \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c:<br \/>  <code>@reboot sh \/root\/pyload-start.sh<\/code><\/p>\n<pre><code class=\"bash\">root@nas:~# cat pyload-start.sh #!\/bin\/sh sleep 30 su nobody -c &quot;\/usr\/bin\/python \/opt\/pyload\/pyLoadCore.py --daemon&quot; <\/code><\/pre>\n<p>  \u041f\u043e\u0442\u043e\u043c, \u0432\u0441\u0435 \u0436\u0435, \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043b \u0431\u043e\u043b\u0435\u0435 \u0446\u0438\u0432\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u043e. \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f:  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\/etc\/init.d\/pyload<\/b><\/p>\n<div class=\"spoiler_text\">#!\/bin\/sh<\/p>\n<p>  ### BEGIN INIT INFO<br \/>  # Provides: pyload<br \/>  # Required-Start: $syslog $local_fs $network $remote_fs<br \/>  # Required-Stop: $syslog $local_fs $network $remote_fs<br \/>  # Should-Start: $remote_fs $named<br \/>  # Should-Stop: $remote_fs $named<br \/>  # Default-Start: 2 3 4 5<br \/>  # Default-Stop: 0 1 6<br \/>  # Short-Description: Starts pyload daemon<br \/>  # Description: This script runs the pyload service<br \/>  ### END INIT INFO<\/p>\n<p>  # Starts and stops the pyload daemon.<\/p>\n<p>  PATH=\/bin:\/usr\/bin:\/sbin:\/usr\/sbin<br \/>  DAEMON=&quot;\/usr\/bin\/python \/opt\/pyload\/pyLoadCore.py&quot;<br \/>  PIDFILE=&quot;\/opt\/pyload\/pyload.pid&quot;<\/p>\n<p>  . \/lib\/lsb\/init-functions<\/p>\n<p>  start() {<br \/>   log_daemon_msg \u00abStarting pyLoad server\u00bb<\/p>\n<p>  su nobody -c &quot;$DAEMON &#8212;daemon&quot;<\/p>\n<p>  if [ $? != 0 ]; then<br \/>   log_end_msg 1<br \/>   exit 1<br \/>   else<br \/>   log_end_msg 0<br \/>   fi<br \/>  }<\/p>\n<p>  stop() {<br \/>   log_daemon_msg \u00abStoping pyLoad server\u00bb<\/p>\n<p>  su nobody -c &quot;$DAEMON &#8212;quit&quot;<\/p>\n<p>  if [ $? != 0 ]; then<br \/>   log_end_msg 1<br \/>  # exit 1<br \/>   else<br \/>   log_end_msg 0<br \/>   fi<br \/>  }<\/p>\n<p>  case &quot;$1&quot; in<br \/>   start)<br \/>   start<br \/>   ;;<\/p>\n<p>  stop)<br \/>   stop<br \/>   ;;<\/p>\n<p>  force-reload)<br \/>   stop<br \/>   sleep 5<br \/>   start<br \/>   ;;<\/p>\n<p>  restart)<br \/>   stop<br \/>   sleep 2<br \/>   start<br \/>   ;;<\/p>\n<p>  *)<br \/>   echo \u00abUsage: $0 {start|stop|restart|force-reload}\u00bb<br \/>   exit 1<br \/>   ;;<br \/>  esac<\/p>\n<p>  exit 0  <\/div>\n<\/div>\n<p>  \u0414\u0435\u043b\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u043c:   <\/p>\n<pre><code class=\"bash\">#chmod +x \/etc\/init.d\/pyload <\/code><\/pre>\n<p>  \u0418 \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u043e\u0439 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435:  <\/p>\n<pre><code class=\"bash\">#update-rc.d pyload start 20 2 3 4 5 . stop 10 0 1 6 . <\/code><\/pre>\n<p>  \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u0442\u044c \u0438 \u0442\u0443\u0448\u0438\u0442\u044c \u0441\u043b\u0443\u0436\u0431\u0443 \u0447\u0435\u0440\u0435\u0437 init-\u0441\u043a\u0440\u0438\u043f\u0442:  <\/p>\n<pre><code class=\"bash\">\/etc\/init.d\/pyload start \/etc\/init.d\/pyload stop <\/code><\/pre>\n<p>  \u042f \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b openvpn \u0442\u0443\u043d\u0435\u043b\u044c \u0434\u043e \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0440\u043e\u0443\u0442\u0435\u0440\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0431-\u043c\u043e\u0440\u0434\u0430 pyload \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u043f\u043e \u0441\u0432\u043e\u0435\u043c\u0443 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u043c\u0443 \u0430\u0434\u0440\u0435\u0441\u0443. \u0415\u0441\u043b\u0438 \u043d\u0435\u043e\u0445\u043e\u0442\u0430 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0441 openvpn \u2014 \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0431\u0440\u043e\u0441\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0440\u0442 \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/5cc\/6d3\/621\/5cc6d36217ac5d543eb709cab212fd54.jpg\" alt=\"Pyload PyQT GUI\"\/><\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0437\u0430\u043a\u0430\u0447\u043a\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e RPC (\u0441 SSL, \u0435\u0441\u043b\u0438 \u0432\u044b \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438) \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c pyload. \u0412\u044b\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a\u0438 \u0434\u043b\u044f \u0432\u0438\u043d\u0434\u044b <a href=\"http:\/\/get.pyload.org\/get\/win\">pyload-v0.4.9-win.zip<\/a> \u041d\u0430\u0441 \u0443\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u044e\u0442, \u0447\u0442\u043e PyQT GUI \u0441\u0435\u0439 \u043d\u0435\u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u044b\u0439, \u0438 \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c webGUI. \u0423 \u043c\u0435\u043d\u044f \u0432\u0440\u043e\u0434\u0435 \u043d\u0435 \u043f\u0430\u0434\u0430\u043b \u0438 \u043d\u0435 \u0432\u0438\u0441 \u2014 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u044f \u043c\u0430\u043b\u043e \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043b.<\/p>\n<blockquote><p>\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 ssl \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u0443\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0442\u043e\u0440\u0435, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0430\u043c\u043e\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0442\u0438\u0444\u0438\u043a\u0430\u0442:  <\/p>\n<pre><code class=\"bash\">openssl genrsa -out ssl.key 1024 openssl req -new -key ssl.key -out ssl.csr openssl req -days 36500 -x509 -key ssl.key -in ssl.csr &gt; ssl.crt <\/code><\/pre>\n<\/blockquote>\n<p>  \u041f\u0440\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0431\u044b\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u044b:<br \/>  <a href=\"http:\/\/pyload.org\">Pyload site<\/a><br \/>  <a href=\"http:\/\/pyload.org\/install_bjoern\">Pyload site: Install bjoern<\/a><br \/>  <a href=\"http:\/\/forum.pyload.org\/viewtopic.php?f=7&amp;t=916\">Pyload forum: Script modification for booting Debian<\/a> <br \/>  <a href=\"http:\/\/forum.pyload.org\/viewtopic.php?f=7&amp;t=1957\">Pyload forum: Running pyload on startup as a specified user<\/a> <\/p>\n<p>  \u0412\u0441\u0435\u043c \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u0430 \u0438 \u0443\u0434\u0430\u0447\u0438! \t\t\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\/198110\/\"> http:\/\/habrahabr.ru\/post\/198110\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t\u0414\u043b\u044f \u0437\u0430\u043a\u0430\u0447\u043a\u0438 \u0442\u043e\u0440\u0440\u0435\u043d\u0442\u043e\u0432 ReadyNAS-\u043e\u043c \u043d\u0430 \u0440\u043e\u0434\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u0432 addons \u0435\u0441\u0442\u044c transmission, \u0438 \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u043d\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430. <br \/>  \u041d\u043e, \u0432 \u0442\u043e\u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0439 ftp\/http \u043a\u0430\u0447\u0430\u043b\u043a\u0438, \u043a \u043c\u043e\u0435\u043c\u0443 \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u0438 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u044e \u044f \u0442\u0430\u043c \u043d\u0435 \u043d\u0430\u0448\u0435\u043b. \u042d\u0442\u043e \u043d\u0435\u0434\u043e\u0440\u0430\u0437\u0443\u043c\u0435\u043d\u0438\u0435 \u044f \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habr.habrastorage.org\/post_images\/90f\/50f\/e89\/90f50fe8906454acccba6d4811ec56f7.jpg\" alt=\"Pyload WebGUI\"\/>  <\/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-198110","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/198110","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=198110"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/198110\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=198110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=198110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=198110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}