{"id":1887,"date":"2025-12-11T22:05:02","date_gmt":"2025-12-11T22:05:02","guid":{"rendered":"https:\/\/alexisiumus.ru\/?p=1887"},"modified":"2025-12-11T22:05:02","modified_gmt":"2025-12-11T22:05:02","slug":"vdo-ninja-%d0%bd%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b0-%d1%81%d0%b5%d1%80%d0%b2%d0%b5%d1%80%d0%b0-%d0%bd%d0%b0-debian-12","status":"publish","type":"post","link":"https:\/\/alexisiumus.ru\/?p=1887","title":{"rendered":"VDO Ninja \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 Debian 12"},"content":{"rendered":"\n<p><strong>\u041a\u0440\u0430\u0442\u043a\u0438\u0439 \u043e\u0442\u0432\u0435\u0442:<\/strong> \u0414\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430 VDO.Ninja \u043d\u0430 Debian 12 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043b\u0438\u0431\u043e \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 <em>offline_deployment<\/em> (GitHub), \u043b\u0438\u0431\u043e \u0441\u0432\u044f\u0437\u043a\u0443 \u0441 \u043c\u0435\u0434\u0438\u0430\u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c MediaMTX (\u0431\u044b\u0432\u0448\u0438\u0439 rtsp-simple-server). \u0411\u0430\u0437\u043e\u0432\u044b\u0435 \u0448\u0430\u0433\u0438: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Node.js \u0438 npm, \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 VDO.Ninja, \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c Nginx\/HTTPS, \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u0447\u0435\u0440\u0435\u0437 systemd \u0438\u043b\u0438 Docker <a href=\"https:\/\/docs.vdo.ninja\/guides\/deploy-your-own-meshcast-like-service\">VDO.Ninja<\/a> <a href=\"https:\/\/github.com\/steveseguin\/offline_deployment\">Github<\/a> <a href=\"https:\/\/github.com\/steveseguin\/vdo.ninja\/blob\/develop\/install.md\">Github<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udd27 \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 VDO.Ninja \u043d\u0430 Debian 12<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update &amp;&amp; sudo apt upgrade -y\nsudo apt install -y git curl nginx<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Node.js<\/strong> (\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f LTS):<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/deb.nodesource.com\/setup_20.x | sudo -E bash -\nsudo apt install -y nodejs npm<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u041a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/steveseguin\/offline_deployment.git\ncd offline_deployment\nnpm install<\/code><\/pre>\n\n\n\n<p>\u042d\u0442\u043e\u0442 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c VDO.Ninja \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0431\u0435\u0437 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0432\u043d\u0435\u0448\u043d\u0435\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443 <a href=\"https:\/\/github.com\/steveseguin\/offline_deployment\">Github<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0444\u0430\u0439\u043b: <code>server.js<\/code> (Express.js).<\/li>\n\n\n\n<li>\u041c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u043e\u0440\u0442 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 8080) \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435.<\/li>\n\n\n\n<li>\u0414\u043b\u044f \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u043d\u2011\u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u0441\u0442\u043e\u0438\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>Nginx \u043a\u0430\u043a reverse proxy<\/strong> \u0441 HTTPS.<\/li>\n<\/ul>\n\n\n\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0431\u043b\u043e\u043a\u0430 Nginx:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server {\n    listen 443 ssl;\n    server_name vdo.example.com;\n\n    ssl_certificate \/etc\/letsencrypt\/live\/vdo.example.com\/fullchain.pem;\n    ssl_certificate_key \/etc\/letsencrypt\/live\/vdo.example.com\/privkey.pem;\n\n    location \/ {\n        proxy_pass http:\/\/127.0.0.1:8080;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection \"upgrade\";\n        proxy_read_timeout 3600s;\n    }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u0417\u0430\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0430<\/h3>\n\n\n\n<p>\u0421\u043e\u0437\u0434\u0430\u0439 systemd\u2011\u044e\u043d\u0438\u0442 <code>\/etc\/systemd\/system\/vdoninja.service<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Unit]\nDescription=VDO.Ninja Server\nAfter=network.target\n\n&#91;Service]\nExecStart=\/usr\/bin\/node \/opt\/offline_deployment\/server.js\nRestart=always\nUser=www-data\nEnvironment=NODE_ENV=production\n\n&#91;Install]\nWantedBy=multi-user.target<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable vdoninja\nsudo systemctl start vdoninja<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">5. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e: \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong>MediaMTX<\/strong> \u043a\u0430\u043a \u043c\u0435\u0434\u0438\u0430\u0441\u0435\u0440\u0432\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0433\u0440\u0443\u0437\u0438\u0442\u044c WebRTC\u2011\u0442\u0440\u0430\u0444\u0438\u043a <a href=\"https:\/\/docs.vdo.ninja\/guides\/deploy-your-own-meshcast-like-service\">VDO.Ninja<\/a>.<\/li>\n\n\n\n<li>MediaMTX \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 RTMP\/RTSP\/SRT \u0438 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043a Meshcast\u2011\u0430\u043d\u0430\u043b\u043e\u0433 \u0434\u043b\u044f VDO.Ninja.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\ud83d\udccc \u0418\u0442\u043e\u0433<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a:<\/strong> Node.js + offline_deployment \u2192 \u0434\u043e\u0441\u0442\u0443\u043f \u043f\u043e <code>http:\/\/server:8080<\/code>.<\/li>\n\n\n\n<li><strong>\u041f\u0440\u043e\u0434\u0430\u043a\u0448\u043d:<\/strong> Nginx + HTTPS + systemd.<\/li>\n\n\n\n<li><strong>\u041c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435:<\/strong> MediaMTX \u0434\u043b\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439 \u043d\u0430 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u044e.<\/li>\n<\/ul>\n\n\n\n<p>Sources: <a href=\"https:\/\/docs.vdo.ninja\/guides\/deploy-your-own-meshcast-like-service\">VDO.Ninja<\/a> <a href=\"https:\/\/github.com\/steveseguin\/offline_deployment\">Github<\/a> <a href=\"https:\/\/github.com\/steveseguin\/vdo.ninja\/blob\/develop\/install.md\">Github<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043e\u0448\u0430\u0433\u043e\u0432\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043f\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 VDO.Ninja \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043d\u0430 Debian 12: \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Node.js, \u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f offline_deployment, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Nginx \u0441 HTTPS, \u0437\u0430\u043f\u0443\u0441\u043a \u0447\u0435\u0440\u0435\u0437 systemd \u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 MediaMTX \u0434\u043b\u044f \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u0439. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438 \u0441\u043e\u0432\u0435\u0442\u044b \u043f\u043e \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0435 WebRTC<\/p>\n","protected":false},"author":1,"featured_media":1889,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[33],"tags":[44,185,236,184,234,235,240,241,217,231,233,242,68,237,243,232,238,239],"class_list":["post-1887","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-33","tag-debian-12","tag-https","tag-mediamtx","tag-nginx","tag-node-js","tag-obs-studio","tag-offline_deployment","tag-reverse-proxy","tag-systemd","tag-vdo-ninja","tag-webrtc","tag-websocket","tag-68","tag-237","tag--webrtc","tag-232","tag-238","tag--vdo-ninja"],"_links":{"self":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts\/1887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1887"}],"version-history":[{"count":2,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts\/1887\/revisions"}],"predecessor-version":[{"id":1890,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts\/1887\/revisions\/1890"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/media\/1889"}],"wp:attachment":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}