{"id":262609,"date":"2015-07-30T14:52:02","date_gmt":"2015-07-30T10:52:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=262609"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=262609","title":{"rendered":"\u041a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f Django \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439"},"content":{"rendered":"<br \/>\n<h4><b>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/b><\/h4>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435 \u0432\u0435\u0431 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u044f\u044e\u0442 \u043e \u0442\u043e\u043c, \u0433\u0434\u0435 \u0431\u044b \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0441\u0432\u043e\u0435 \u0442\u0432\u043e\u0440\u0435\u043d\u0438\u0435. \u041e\u0431\u044b\u0447\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043c\u0430\u0448\u0438\u043d\u044b \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c *NIX \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c. \u041c\u043e\u0439 \u0432\u044b\u0431\u043e\u0440 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 Raspberry PI, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u0430\u043b\u0438\u043d\u043a\u0430:  <\/p>\n<ul>\n<li>\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e Linux,<\/li>\n<li>\u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043b\u0435\u0436\u0438\u0442 \u043d\u0430 \u0441\u0442\u043e\u043b\u0435 \u0438 \u043f\u044b\u043b\u0438\u0442\u0441\u044f.<\/li>\n<\/ul>\n<p>  \u042f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0432 \u0441\u0435\u0442\u0438 \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u043c IP \u0430\u0434\u0440\u0435\u0441\u043e\u043c. \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043a\u0440\u0443\u043f\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0435 \u0433\u043e\u0434\u0438\u0442\u0441\u044f, \u0430 \u0434\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u043e\u0440\u0442\u0444\u043e\u043b\u0438\u043e \u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ed8\/927\/406\/ed89274069f54f5d8a5f57b4c9cfef9a.jpg\" alt=\"image\"\/><\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<h4><b>\u041d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f<\/b><\/h4>\n<p>  <\/p>\n<ol>\n<li> Raspberry PI \u043c\u043e\u0434\u0435\u043b\u0438 B, B+ \u0438\u043b\u0438 Raspberry PI 2 (\u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043d\u0430 \u043f\u043b\u0430\u0442\u0430\u0445 \u044d\u0442\u0438\u0445 \u043c\u043e\u0434\u0435\u043b\u0435\u0439 \u0438\u043c\u0435\u0435\u0442\u0441\u044f Ethernet) \u0441 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 Raspbian \u0438 \u0430\u043a\u0442\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c SSH \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c. \u041e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/www.raspberrypi.org\/documentation\/installation\/installing-images\/README.md\">\u0437\u0434\u0435\u0441\u044c<\/a>, <a href=\"http:\/\/www.kaloshin.me\/2014\/02\/install-os-raspberry-without-monitor-and-keyboard.html\">\u0437\u0434\u0435\u0441\u044c<\/a> \u0438\u043b\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/149890\/\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u041f\u043e\u043c\u0438\u043c\u043e Raspian \u0434\u043b\u044f \u043c\u0430\u043b\u0438\u043d\u043a\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e <a href=\"http:\/\/habrahabr.ru\/sandbox\/66194\/\">\u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0445<\/a> <a href=\"http:\/\/www.armlinux.ru\/%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B5-%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D1%8B-%D0%B4%D0%BB%D1%8F-raspberry-pi\/\">\u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432<\/a>. \u0422\u0443\u0442, \u043a\u0430\u043a \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f, \u00ab\u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u0432\u043a\u0443\u0441 \u0438 \u0446\u0432\u0435\u0442\u00bb.<\/li>\n<li>\u0420\u0430\u0431\u043e\u0447\u0435\u0435 Django \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<\/li>\n<li>\u0420\u043e\u0443\u0442\u0435\u0440 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 DDNS. \u042d\u0442\u043e\u0442 \u043f\u0443\u043d\u043a\u0442 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u0435\u043d, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 DDNS \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430 \u0441\u0430\u043c\u043e\u0439 \u043c\u0430\u043b\u0438\u043d\u043a\u0435.<\/li>\n<\/ol>\n<p>  \u042f \u0431\u0443\u0434\u0443 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043c\u0430\u043b\u0438\u043d\u043a\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 B+.  <\/p>\n<h4><b>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/b><\/h4>\n<p>  \u041d\u0430 \u043c\u0430\u043b\u0438\u043d\u043a\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 Raspbian 7.8.<br \/>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0439\u0442\u0438 \u043c\u0430\u043b\u0438\u043d\u043a\u0443 \u0432 \u0441\u0435\u0442\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u043a \u043d\u0435\u0439 \u043f\u043e ssh. <br \/>  <code> nmap -sP 192.168.1.1\/24 | grep raspberry <\/code><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3a6\/dcd\/b93\/3a6dcdb939e242078a0b35aa2b0e9be8.png\" alt=\"image\"\/><\/p>\n<p>  \u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u0441\u0435\u0442\u0438 \u0434\u0432\u0435 \u043c\u0430\u043b\u0438\u043d\u043a\u0438, \u043e\u0434\u043d\u0430 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u044f \u0441 IP \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.1.100. \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u0435\u0442\u044f\u0445 nmap \u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0438\u043c\u0435\u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432. <br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/098\/f18\/1b8\/098f181b8dec4e228a111f01017e6af0.png\"\/><br \/>  \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0430\u0439\u0442\u0438 raspberry pi \u043c\u043e\u0436\u043d\u043e \u043f\u043e MAC-\u0430\u0434\u0440\u0435\u0441\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u0435\u0444\u0438\u043a\u0441 B8:27:EB. <br \/>  <code> sudo nmap -sP -n 192.168.1.1\/24 | grep -B 2 B8:27:EB <\/code><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/aa2\/11a\/278\/aa211a27862e4d48a31e67d87b0c5fb0.png\"\/><br \/>  \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 -B \u0434\u043b\u044f grep \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043a\u0430\u043a\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0441\u0442\u0440\u043e\u043a \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0432\u044b\u0432\u0435\u0441\u0442\u0438. <\/p>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043a \u043c\u0430\u043b\u0438\u043d\u043a\u0435 \u043f\u043e ssh.<br \/>  <code> ssh pi@192.168.1.100 <\/code><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/427\/2f3\/486\/4272f3486ccc4e6c9cc51cb0ad95e1b4.png\"\/><br \/>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0437\u0433\u043e\u043d\u0438\u043c \u043c\u0430\u043b\u0438\u043d\u043a\u0443 \u0434\u043e 1 \u0413\u0413\u0446 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"https:\/\/www.raspberrypi.org\/documentation\/configuration\/raspi-config.md\">raspi-config<\/a>.<br \/>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0438\u0442\u043e\u043d\u043e\u0432\u0441\u043a\u0438\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u043f\u0430\u043a\u0435\u0442\u043e\u0432<br \/>  <code> sudo apt-get install python-pip <\/code><br \/>  \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432. \u0412 \u043c\u043e\u0435\u043c web \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0421\u0423\u0411\u0414 MySQL. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 Frontend \u0438 Backend \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f nginx \u0438 gunicorn \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. <br \/>  <code> sudo apt-get install nginx gunicorn mysql-client mysql-server python-mysqldb  <\/code><br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/229\/159\/687\/229159687734433bbc754389c01cd8be.png\"\/><br \/>  \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 mysql \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u0432\u0435\u0441\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f root \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0421\u0423\u0411\u0414. <b>python-mysqldb<\/b> \u2014 \u0434\u0440\u0430\u0439\u0432\u0435\u0440, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043c\u043e\u0434\u0435\u043b\u044f\u043c\u0438 \u0432 Django. Django \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0438\u0437 \u043f\u0438\u0442\u043e\u043d\u043e\u0432\u0441\u043a\u0438\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432.<br \/>  <code> sudo pip install django <\/code><br \/>  \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0430\u0442\u044c\u0438 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 nginx \u0438 gunicorn \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 \u0434\u043b\u044f \u043c\u0430\u043b\u0438\u043d\u043a\u0438 1.2.1 \u0438 0.14.5 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u0412\u0435\u0440\u0441\u0438\u044f MySQL \u0434\u043b\u044f \u043c\u0430\u043b\u0438\u043d\u043a\u0438 5.5. \u0422\u0430\u043a \u0436\u0435 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Django \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <a href=\"https:\/\/ru.wikipedia.org\/wiki\/SciPy\">SciPy<\/a>.<br \/>  <code> sudo apt-get install python-scipy <\/code><br \/>  nginx 1.2.1 \u0443\u0441\u0442\u0430\u0440\u0435\u043b. \u0411\u043e\u043b\u0435\u0435 \u043d\u043e\u0432\u044b\u0439 \u043c\u043e\u0436\u043d\u043e <a href=\"http:\/\/insalesclub.ru\/other\/2014\/06\/10\/ustanovka-nginx-iz-ishodnikov-i-storonnimi-modulyami-na-debian-ubuntu-s-nulya.html\">\u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432<\/a>. \u0421\u0432\u0435\u0436\u0438\u0439 gunicorn \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u0437 \u043f\u0438\u0442\u043e\u043d\u043e\u0432\u0441\u043a\u0438\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432.<\/p>\n<h4><b>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/b><\/h4>\n<p>  \u0420\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043c\u0430\u043b\u0438\u043d\u043a\u0435 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 \/home\/pi).<br \/>  \u0415\u0441\u043b\u0438 \u0443 \u0412\u0430\u0441 \u0435\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0438, \u0442\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0438\u0445 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438:  <\/p>\n<ul>\n<li>\u0434\u043b\u044f nginx \/etc\/nginx\/sites-enabled\/<\/li>\n<li>\u0434\u043b\u044f gunicorn \/etc\/gunicorn.d\/<\/li>\n<\/ul>\n<p>  C nginx \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e \u043d\u0435\u0442. \u042f \u0431\u044b \u0445\u043e\u0442\u0435\u043b \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f gunicorn.  <\/p>\n<pre><code class=\"bash\">CONFIG = {     'mode': 'wsgi',     'working_dir': '\/home\/pi\/project',      #'working_dir': '\/home\/pi\/project\/project',     'user': 'www-data',       'group': 'www-data',       'python': '\/usr\/bin\/python',     'args': (         '--bind=127.0.0.1:8081',         '--workers=5', # 5 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u043c\u0430\u043b\u0438\u043d\u043a\u0438         '--graceful-timeout=60',         '--timeout=60',         #'--debug',         #'wsgi:application', \t'project.wsgi',     ), } <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 working_dir (\u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 wsgy.py) \u0443\u043a\u0430\u0437\u0430\u0442\u044c <code>'\/home\/pi\/project\/project'<\/code>, \u0430 \u0432 args \u0443\u043a\u0430\u0437\u0430\u0442\u044c <code>'wsgi:application'<\/code>, \u0442\u043e \u043d\u0430 \u043c\u0430\u043b\u0438\u043d\u043a\u0435 \u0432\u043e\u0440\u043a\u0435\u0440\u044b \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0442\u0430\u0440\u0442\u0443\u044e\u0442, \u043f\u043e\u0442\u043e\u043c \u0443\u043c\u0438\u0440\u0430\u044e\u0442 \u0431\u0435\u0437 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u0447\u0438\u043d\u044b (\u043f\u043e\u0434 Ubuntu, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, gunicorn \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u043e\u0431\u043e\u0438\u043c\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a).<\/p>\n<h4><b>\u041f\u0435\u0440\u0435\u043d\u043e\u0441 MySQL<\/b><\/h4>\n<p>  \u0414\u0430\u043c\u043f \u0438\u043c\u0435\u044e\u0449\u0435\u0439\u0441\u044f \u0411\u0414 \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b <a href=\"https:\/\/dev.mysql.com\/doc\/refman\/5.5\/en\/mysqldump.html\">mysqldump<\/a>. <br \/>  <code> mysqldump -u root -p dbname &gt; dbname.sql <\/code><br \/>  \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u043d\u0430\u0431\u043e\u0440\u0430 SQL-\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443, \u0430 \u0442\u0430\u043a \u0436\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0445\u0440\u0430\u043d\u0438\u043c\u0443\u044e \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445. <br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/6ac\/bae\/bf9\/6acbaebf94ba414b8b31da037fc3a817.png\"\/><br \/>  \u041d\u0430 \u043c\u0430\u043b\u0438\u043d\u043a\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c mysql shell.<br \/>   <code> mysql -u root -p <\/code><br \/>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043d\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u0434\u0430\u043d\u043d\u044b\u0445.  <\/p>\n<pre><code class=\"bash\">mysql&gt; create database dbname character set utf8 collate utf8_general_ci; mysql&gt; grant all privileges on dbname.* to someusr@localhost identified by 'somepassword'; <\/code><\/pre>\n<p>  \u0412\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 \u0434\u0430\u043c\u043f\u0430. \u041f\u0440\u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u0435 \u0434\u0430\u043c\u043f\u0430 \u0432 162 \u041c\u0431 \u0432\u0440\u0435\u043c\u044f \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u043e \u043e\u043a\u043e\u043b\u043e 10 \u043c\u0438\u043d\u0443\u0442.<br \/>   <code> mysql -u root -p dbname &lt; dbname.sql <\/code><br \/>  \u0421\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043b\u0443\u0447\u0448\u0435 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u043d\u0430 \u0432\u043d\u0435\u0448\u043d\u0435\u043c \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u0435, \u0438\u043d\u0430\u0447\u0435 micro SD \u043a\u0430\u0440\u0442\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u0438\u0434\u0442\u0438 \u0432 \u043d\u0435\u0433\u043e\u0434\u043d\u043e\u0441\u0442\u044c \u0438\u0437-\u0437\u0430 \u0447\u0430\u0441\u0442\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0437\u0430\u043f\u0438\u0441\u0438. \u041a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/rusadmin.biz\/bloknot\/perenos-baz-dannyx-mysql-v-druguyu-papku-ili-razdel\/\">\u0437\u0434\u0435\u0441\u044c<\/a>. \u041a\u043e\u043d\u0444\u0438\u0433 mysql \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d \u043f\u043e \u043f\u0443\u0442\u0438 \/etc\/mysql\/my.cnf <\/p>\n<h4><b>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430<\/b><\/h4>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c nginx \u0438 gunicorn. \u0415\u0441\u043b\u0438 frontend \u0438 backend \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u044b \u0432\u0435\u0440\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043d\u0430\u0448\u0435 web \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. <br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/412\/873\/4a9\/4128734a95604dd2a636bae004816fec.png\"\/><br \/>  \u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u043d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u043c\u0443 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c apache benchmark. <br \/>  <code> sudo apt-get install apache2-utils <\/code><br \/>  \u041f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u0432 4 \u043f\u043e\u0442\u043e\u043a\u0430 1000 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u043c\u0438 Raspberry PI \u043c\u043e\u0434\u0435\u043b\u044c B+.<br \/>  <code> ab -c 4 -n 1000 http:\/\/192.168.1.100\/ <\/code>  <\/p>\n<pre><code class=\"bash\">vladislav@vladislav-N53SV:~$ ab -c 4 -n 1000 http:\/\/192.168.1.100\/ This is ApacheBench, Version 2.3 &lt;$Revision: 1528965 $&gt; Copyright 1996 Adam Twiss, Zeus Technology Ltd, http:\/\/www.zeustech.net\/ Licensed to The Apache Software Foundation, http:\/\/www.apache.org\/  Benchmarking 192.168.1.100 (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Completed 900 requests Completed 1000 requests Finished 1000 requests   Server Software:        nginx\/1.8.0 Server Hostname:        192.168.1.100 Server Port:            80  Document Path:          \/ Document Length:        24839 bytes  Concurrency Level:      4 Time taken for tests:   1309.607 seconds Complete requests:      1000 Failed requests:        0 Total transferred:      25018000 bytes HTML transferred:       24839000 bytes Requests per second:    0.76 [#\/sec] (mean) Time per request:       5238.429 [ms] (mean) Time per request:       1309.607 [ms] (mean, across all concurrent requests) Transfer rate:          18.66 [Kbytes\/sec] received  Connection Times (ms)               min  mean[+\/-sd] median   max Connect:        0    1   0.1      1       1 Processing:  4924 5237  91.4   5227    6419 Waiting:     4919 5227  91.3   5217    6403 Total:       4925 5238  91.4   5228    6420  Percentage of the requests served within a certain time (ms)   50%   5228   66%   5245   75%   5255   80%   5265   90%   5296   95%   5335   98%   5382   99%   5667  100%   6420 (longest request) <\/code><\/pre>\n<p>  \u0417\u0430\u043f\u0440\u043e\u0441\u044b \u0438\u0434\u0443\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0411\u0414. \u041a\u043e \u043c\u043d\u0435 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u043f\u0440\u0438\u0448\u043b\u0430 Raspberry PI 2 \u043c\u043e\u0434\u0435\u043b\u044c B. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0447\u0442\u043e \u043e\u043d\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u0430 c \u0442\u0435\u043c\u0438 \u0436\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438 \u0438 \u0434\u0430\u043d\u043d\u044b\u043c\u0438.   <\/p>\n<pre><code class=\"bash\">vladislav@vladislav-N53SV:~$ ab -c 4 -n 1000 http:\/\/192.168.1.14\/ This is ApacheBench, Version 2.3 &lt;$Revision: 1528965 $&gt; Copyright 1996 Adam Twiss, Zeus Technology Ltd, http:\/\/www.zeustech.net\/ Licensed to The Apache Software Foundation, http:\/\/www.apache.org\/  Benchmarking 192.168.1.14 (be patient) Completed 100 requests Completed 200 requests Completed 300 requests Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests Completed 800 requests Completed 900 requests Completed 1000 requests Finished 1000 requests   Server Software:        nginx\/1.8.0 Server Hostname:        192.168.1.14 Server Port:            80  Document Path:          \/ Document Length:        24838 bytes  Concurrency Level:      4 Time taken for tests:   170.083 seconds Complete requests:      1000 Failed requests:        0 Total transferred:      25017000 bytes HTML transferred:       24838000 bytes Requests per second:    5.88 [#\/sec] (mean) Time per request:       680.330 [ms] (mean) Time per request:       170.083 [ms] (mean, across all concurrent requests) Transfer rate:          143.64 [Kbytes\/sec] received  Connection Times (ms)               min  mean[+\/-sd] median   max Connect:        0    1   0.1      1       1 Processing:   569  678 104.6    650    1338 Waiting:      567  676 104.1    647    1334 Total:        569  679 104.6    651    1338  Percentage of the requests served within a certain time (ms)   50%    651   66%    682   75%    708   80%    727   90%    796   95%    890   98%   1045   99%   1138  100%   1338 (longest request) <\/code><\/pre>\n<p>  Raspberry PI 2 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0432 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u0432 6,16 \u0440\u0430\u0437 \u0431\u044b\u0441\u0442\u0440\u0435\u0435. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043c\u0430\u043b\u0438\u043d\u043a\u0438 \u043d\u0435 \u043e\u0431\u043c\u0430\u043d\u0443\u043b\u0438.<\/p>\n<h4><b>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 DDNS<\/b><\/h4>\n<p>  \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c DDNS \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435 \u0438\u043b\u0438 \u043d\u0430 \u0441\u0430\u043c\u043e\u0439 \u043c\u0430\u043b\u0438\u043d\u043a\u0435. \u042f \u0432\u044b\u0431\u0438\u0440\u0430\u044e <a href=\"http:\/\/www.noip.com\/\">No IP<\/a>, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0441\u044c \u0438\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043b\u0435\u0442. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0445\u043e\u0441\u0442\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0443\u0447\u0435\u0442\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u2014 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u043c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e, \u0438\u043d\u0430\u0447\u0435 <a href=\"https:\/\/www.noip.com\/sign-up\">\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u043c\u0441\u044f<\/a>. \u041f\u043e\u0441\u043b\u0435 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u043c <a href=\"http:\/\/www.noip.com\/members\/\">\u0441\u044e\u0434\u0430<\/a>.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/614\/447\/96a\/61444796ac244daca68d6046f3b73c8f.png\"\/><br \/>  \u041a\u043b\u0438\u043a\u0430\u0435\u043c AddHost \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0435\u043c \u0444\u043e\u0440\u043c\u0443.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/a93\/12d\/694\/a9312d6948ef4a50b5dde353f16430b0.png\"\/><br \/>  \u0412\u043d\u0438\u0437\u0443 \u043a\u043b\u0438\u043a\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 AddHost<br \/>  \u0425\u043e\u0441\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u0421\u043f\u0440\u0430\u0432\u0430 \u043e\u0442 \u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0432\u043d\u0435\u0448\u043d\u0438\u0439 IP \u0430\u0434\u0440\u0435\u0441 \u0412\u0430\u0448\u0435\u0439 \u0441\u0435\u0442\u0438.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/d2f\/0ad\/d90\/d2f0add902a64a6794be0b910909a772.png\"\/>  <\/div>\n<\/div>\n<p>  <\/p>\n<h5><b>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c DDNS \u043d\u0430 \u0440\u043e\u0443\u0442\u0435\u0440\u0435<\/b><\/h5>\n<p>  \u0414\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u044f \u043d\u0430\u0441\u0442\u0440\u043e\u044e DDNS \u043d\u0430 ASUS RT-N56U \u0441 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u043e\u0439 \u043e\u0442 padavan \u0432\u0435\u0440\u0441\u0438\u0438 3.4.3.9-091. \u041e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043c\u0435\u043d\u044e \u0440\u043e\u0443\u0442\u0435\u0440\u0430<br \/>  (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 192.168.1.1). WAN-&gt;DDNS.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/1dd\/72f\/16d\/1dd72f16dd624f55bd1ec7667f65bd73.png\"\/><br \/>  \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441 no-ip.com, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435, \u0430 \u0442\u0430\u043a \u0436\u0435 \u043d\u0430\u0448 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0445\u043e\u0441\u0442 (technopark-test.ddns.net).<br \/>  \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u043c\u0443 \u0436\u0435\u043b\u0430\u043d\u0438\u044e.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2ca\/eea\/316\/2caeea316fa9470484816ed30037431f.png\"\/><br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0440\u0438 \u0441\u043c\u0435\u043d\u0435 \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e IP \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0432 \u0441\u0435\u0442\u0438.  <\/p>\n<h6><b>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u0438 \u043f\u043e\u0440\u0442\u043e\u0432<\/b><\/h6>\n<p>  \u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043a \u0445\u043e\u0441\u0442\u0443 \u043c\u0430\u043b\u0438\u043d\u043a\u0430 \u043e\u0442\u0434\u0430\u0432\u0430\u043b\u0430 \u0432\u0435\u0431 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u0420\u043e\u0443\u0442\u0435\u0440 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u043f\u0440\u0438\u0448\u0435\u0434\u0448\u0438\u0445 \u0438\u0437 \u0432\u043d\u0435 \u0441 \u043f\u043e\u0440\u0442\u0430 X \u043d\u0430 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u0440\u0442 Y. \u0412 \u043c\u0435\u043d\u044e \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c WAN-&gt;\u041f\u0435\u0440\u0435\u0430\u0434\u0440\u0435\u0441\u0430\u0446\u0438\u044f \u043f\u043e\u0440\u0442\u043e\u0432. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 80 \u043f\u043e\u0440\u0442 \u043d\u0430 80 \u043f\u043e\u0440\u0442 \u043c\u0430\u043b\u0438\u043d\u043a\u0438. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u043e\u0432\u043e\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f25\/16f\/f2c\/f2516ff2cbdf4a0c8758f6dc0236a842.png\"\/><br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u0430\u043b\u0438\u043d\u043a\u0430 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043d\u0430 80 \u043f\u043e\u0440\u0442\u0443. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0432\u0432\u0435\u0434\u044f \u0432 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0445\u043e\u0441\u0442, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0432 No IP.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f65\/f5e\/d5f\/f65f5ed5ff234c5fb559631500d9e212.png\"\/><br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448\u0435 \u0432\u0435\u0431 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441\u0435\u0442\u0438 \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442.  <\/p>\n<h5><b>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c DDNS \u043d\u0430 \u043c\u0430\u043b\u0438\u043d\u043a\u0435<\/b><\/h5>\n<p>  \u042d\u0442\u043e\u0442 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442, \u0435\u0441\u043b\u0438 \u043c\u0430\u043b\u0438\u043d\u043a\u0430 \u0438\u043c\u0435\u0435\u0442 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A7%D0%B0%D1%81%D1%82%D0%BD%D1%8B%D0%B9_IP-%D0%B0%D0%B4%D1%80%D0%B5%D1%81\">\u0447\u0430\u0441\u0442\u043d\u044b\u0439 IP<\/a>, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043e\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0441\u0432\u043e\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 IP \u0430\u0434\u0440\u0435\u0441 \u043d\u0430 \u043d\u0430 \u0441\u0435\u0440\u0432\u0438\u0441 No IP. <s>\u042d\u0442\u043e \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0441\u043f\u043e\u0441\u043e\u0431 \u0443\u0437\u043d\u0430\u0442\u044c IP \u0430\u0434\u0440\u0435\u0441 \u043c\u0430\u043b\u0438\u043d\u043a\u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438.<\/s> \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c DDNS \u043a\u043b\u0438\u0435\u043d\u0442.<br \/>  <code> sudo apt-get install ddclient <\/code><br \/>  \u0412\u043e \u0432\u0440\u0435\u043c\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441. \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c other \u0438 \u0432\u0432\u043e\u0434\u0438\u043c dynupdate.no-ip.com, \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b dyndns2, \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043f\u0430\u0440\u043e\u043b\u044c, \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u2014 eth0, \u0438\u043c\u044f \u0445\u043e\u0441\u0442\u0430.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ec1\/d28\/a20\/ec1d28a2022241a98d6994ecd121ec99.png\"\/><br \/>  \u0414\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u044f \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u043b \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f IP \u0432 60 \u0441\u0435\u043a\u0443\u043d\u0434. \u0412 \u0444\u0430\u0439\u043b\u0435 \/etc\/default\/ddclient \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 daemon_interval=\u00ab60\u00bb. <\/p>\n<h4><b>\u0414\u0435\u0441\u0435\u0440\u0442<\/b><\/h4>\n<p>  \u041c\u043e\u044f \u043c\u0430\u043b\u0438\u043d\u043a\u0430 \u0434\u0430\u0432\u043d\u043e \u043b\u0435\u0436\u0430\u043b\u0430 \u043d\u0430 \u0441\u0442\u043e\u043b\u0435 \u0438 \u043f\u044b\u043b\u0438\u043b\u0430\u0441\u044c, \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 tm1638 \u0438 <a href=\"http:\/\/geektimes.ru\/post\/257750\/\">DHT11<\/a>, \u0432\u044b\u0432\u043e\u0434\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0438\u044f \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u0438 \u0432 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0438 \u0438 \u043f\u0440\u043e\u0447\u0435\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. <br \/>  \u0412\u0441\u0435 \u0436\u0435 \u043c\u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c GPIO Raspberry PI \u0438\u0437 django. \u042f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0435 web \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043b\u043e \u043c\u043e\u0438 \u0440\u0430\u043d\u043d\u0438\u0435 \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u041e\u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0443 \u0438 \u0432\u043b\u0430\u0436\u043d\u043e\u0441\u0442\u044c, \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u043d\u044b\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e DHT11, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 8-\u043c\u0438 \u0440\u0435\u043b\u0435\u0439\u043d\u044b\u043c \u043c\u043e\u0434\u0443\u043b\u0435\u043c (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043f\u0440\u0438\u0431\u043e\u0440\u0430\u043c\u0438) \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0435\u043a\u0441\u0442 \u043d\u0430 tm1638. <br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/88d\/426\/65e\/88d42665e80a49f7a429bce92208487b.jpg\"\/><\/p>\n<p>  <iframe loading=\"lazy\" width=\"560\" height=\"349\" src=\"\/\/www.youtube.com\/embed\/KnuaqzeZHms?wmode=opaque\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>  \u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f GPIO \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0441 \u043f\u0440\u0430\u0432\u0430\u043c\u0438 root. \u042d\u0442\u043e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u0443\u044f\u0437\u0432\u0438\u043c\u043e\u0441\u0442\u044c.<br \/>  \u041f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f web \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0431\u0435\u0437 \u043f\u0440\u0430\u0432 \u0441\u0443\u043f\u0435\u0440\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 https, \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0443\u0447\u0435\u0442\u043d\u044b\u0445 \u0437\u0430\u043f\u0438\u0441\u0435\u0439, \u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043b\u043e\u0433\u043e\u0432, \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u044b\u043c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c, \u0440\u0430\u0431\u043e\u0442\u0443 \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043f\u0440\u0438\u0431\u043e\u0440\u043e\u0432 \u043f\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435.<br \/>  \u0412\u043f\u0440\u043e\u0447\u0435\u043c \u044d\u0442\u043e \u0443\u0436\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u0430\u044f <s>\u0438\u0441\u0442\u043e\u0440\u0438\u044f<\/s> \u0441\u0442\u0430\u0442\u044c\u044f.<\/p>\n<h4><b>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/b><\/h4>\n<p>  \u0418\u043c\u0435\u044f Raspberry PI \u043c\u043e\u0434\u0435\u043b\u0435\u0439 B, B+ \u0438\u043b\u0438 Raspberry PI 2, <a href=\"http:\/\/www.mobile-review.com\/accessories\/review\/xiaomi-powerbank.shtml\">power bank<\/a>, \u0430 \u0442\u0430\u043a \u0436\u0435 \u00abopen\u00bb Ethernet jack \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u0432\u043e\u0438\u0445 \u043d\u0430\u0440\u0430\u0431\u043e\u0442\u043e\u043a. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f Django \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 Raspberry PI \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c Raspbian \u043c\u0430\u043b\u043e \u0447\u0435\u043c \u043e\u0442\u043b\u0438\u0447\u0438\u0442\u0441\u044f \u043e\u0442 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0438 Linux. \u041f\u0430\u043a\u0435\u0442\u044b \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u043c\u0438. \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u043e\u0432\u044b\u043c\u0438 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432. <\/p>\n<p>  <a href=\"https:\/\/github.com\/bagrusss\/pri-gpio\">\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434<\/a> \u0434\u0435\u043c\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  P.S. \u0425\u043e\u0447\u0443 \u043f\u043e\u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u0438\u0442\u044c \u043a\u043e\u043b\u043b\u0435\u0433 \u043f\u043e \u0422\u0435\u0445\u043d\u043e\u043f\u0430\u0440\u043a\u0443 \u0437\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430.<br \/>  P.S.S. \u042f \u0433\u043e\u0442\u043e\u0432 \u0432\u044b\u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b \u0438 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b.<\/p>\n<p>  \u0421\u0442\u0430\u0442\u044c\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0430 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043a\u043e\u043d\u043a\u0443\u0440\u0441\u0430 \u0441\u0442\u0430\u0442\u0435\u0439 \u0422\u0435\u0445\u043d\u043e\u043f\u0430\u0440\u043a\u0430@Mail.Ru (park.mail.ru).     \t<\/p>\n<div class=\"clear\"><\/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:\/\/geektimes.ru\/post\/259548\/\"> http:\/\/geektimes.ru\/post\/259548\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<br \/>\n<h4><b>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/b><\/h4>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0435 \u0432\u0435\u0431 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u044f\u044e\u0442 \u043e \u0442\u043e\u043c, \u0433\u0434\u0435 \u0431\u044b \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0441\u0432\u043e\u0435 \u0442\u0432\u043e\u0440\u0435\u043d\u0438\u0435. \u041e\u0431\u044b\u0447\u043d\u043e \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043c\u0430\u0448\u0438\u043d\u044b \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c *NIX \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c. \u041c\u043e\u0439 \u0432\u044b\u0431\u043e\u0440 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 Raspberry PI, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u0430\u043b\u0438\u043d\u043a\u0430:  <\/p>\n<ul>\n<li>\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e Linux,<\/li>\n<li>\u0434\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043b\u0435\u0436\u0438\u0442 \u043d\u0430 \u0441\u0442\u043e\u043b\u0435 \u0438 \u043f\u044b\u043b\u0438\u0442\u0441\u044f.<\/li>\n<\/ul>\n<p>  \u042f \u0445\u043e\u0447\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0432 \u0441\u0435\u0442\u0438 \u0441 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u043c IP \u0430\u0434\u0440\u0435\u0441\u043e\u043c. \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043a\u0440\u0443\u043f\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0435 \u0433\u043e\u0434\u0438\u0442\u0441\u044f, \u0430 \u0434\u043b\u044f \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u043e\u0440\u0442\u0444\u043e\u043b\u0438\u043e \u0438 \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u043e\u0434\u043e\u0439\u0434\u0435\u0442.<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ed8\/927\/406\/ed89274069f54f5d8a5f57b4c9cfef9a.jpg\" alt=\"image\"\/><\/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-262609","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/262609","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=262609"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/262609\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=262609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=262609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=262609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}