{"id":3080,"date":"2023-03-19T14:28:54","date_gmt":"2023-03-19T06:28:54","guid":{"rendered":"https:\/\/www.qqsg.ga\/?p=3080"},"modified":"2023-03-19T14:33:00","modified_gmt":"2023-03-19T06:33:00","slug":"metube","status":"publish","type":"post","link":"https:\/\/blog.zengqq.com.cn\/?p=3080","title":{"rendered":"metube"},"content":{"rendered":"\n<p>\u53bb\u5e74\u65e0\u610f\u4e2d\u90e8\u7f72\u4e86\u4e00\u4e2a<a rel=\"noreferrer noopener\" href=\"https:\/\/hub.docker.com\/r\/alexta69\/metube\" target=\"_blank\">Youtube\u7684\u4e0b\u8f7d\u670d\u52a1<\/a>\uff0c\u7b80\u5355\u597d\u7528\uff0c\u8001\u5a46\u7528\u4e86\u90fd\u8bf4\u597d\u3002\u7531\u4e8e\u662f\u5728\u9762\u677f\u91cc\u8fb9\u642d\u5efa\u7684\uff0c\u6240\u4ee5\u5229\u7528docker-compose\u642d\u5efa\u6bd4\u8f83\u7b80\u5355\uff0c\u6587\u4ef6\u5b58\u653e\u7684\u4f4d\u7f6e\u4e5f\u662f\u4e00\u76ee\u4e86\u7136\uff1a\/path\/to\/downloads\/<img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"375\" class=\"wp-image-3084\" style=\"width: 800px;\" src=\"https:\/\/www.qqsg.ga\/wp-content\/uploads\/2023\/03\/\u622a\u5c4f2023-03-19-\u4e0b\u53481.58.32.png\" alt=\"\" srcset=\"https:\/\/blog.zengqq.com.cn\/wp-content\/uploads\/2023\/03\/\u622a\u5c4f2023-03-19-\u4e0b\u53481.58.32.png 1126w, https:\/\/blog.zengqq.com.cn\/wp-content\/uploads\/2023\/03\/\u622a\u5c4f2023-03-19-\u4e0b\u53481.58.32-480x225.png 480w, https:\/\/blog.zengqq.com.cn\/wp-content\/uploads\/2023\/03\/\u622a\u5c4f2023-03-19-\u4e0b\u53481.58.32-1024x480.png 1024w, https:\/\/blog.zengqq.com.cn\/wp-content\/uploads\/2023\/03\/\u622a\u5c4f2023-03-19-\u4e0b\u53481.58.32-768x360.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">version: \"3\"\nservices:\n  metube:\n    image: alexta69\/metube\n    container_name: metube\n    restart: unless-stopped\n    ports:\n      - \"8081:8081\"\n    volumes:\n      - \/path\/to\/downloads:\/downloads<\/pre>\n\n\n\n<p>\u4e5f\u6709\u53ef\u80fd\u4f60\u76848081\u7aef\u53e3\u88ab\u5b9d\u5854\u7684docker\u5b89\u88c5\u8fc7\u5176\u4ed6\u955c\u50cf\uff0c\u90a3\u4e48\u4f60\u7684\u7aef\u53e38081\u5f88\u53ef\u80fd\u4e00\u76f4\u88abnginx\u5360\u7528\u7740<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">~# netstat -tulnap\nActive Internet connections (servers and established)\nProto Recv-Q Send-Q Local Address           Foreign Address         State       PID\/Program name    \ntcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      705\/pure-ftpd (SERV \ntcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      697\/sshd            \ntcp        0      0 0.0.0.0:8888            0.0.0.0:*               LISTEN      11593\/python        \ntcp        0      0 0.0.0.0:888             0.0.0.0:*               LISTEN      4977\/nginx: master  \ntcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1047\/sendmail: MTA: \ntcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      4977\/nginx: master  \ntcp        0      0 127.0.0.1:587           0.0.0.0:*               LISTEN      1047\/sendmail: MTA: \ntcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      4977\/nginx: master  \ntcp        0      0 0.0.0.0:8081            0.0.0.0:*               LISTEN      4977\/nginx: master  \ntcp        0      0 172.17.13.140:47774     100.103.13.17:80        ESTABLISHED 23261\/AliYunDun     \ntcp        0    464 172.17.13.140:22        101.127.33.77:50430     ESTABLISHED 15489\/sshd: root@pt \ntcp        0      0 172.17.13.140:33450     100.100.29.34:443       TIME_WAIT   -                   \ntcp        0      0 172.17.13.140:50150     100.100.29.34:443       ESTABLISHED 12527\/aliyun-servic \ntcp6       0      0 :::21                   :::*                    LISTEN      705\/pure-ftpd (SERV \ntcp6       0      0 :::1081                 :::*                    LISTEN      26935\/v2ray         \ntcp6       0      0 :::3306                 :::*                    LISTEN      1761\/mysqld         \ntcp6       0      0 127.0.0.1:35962         127.0.0.1:25            TIME_WAIT   -                   \ntcp6       0      0 127.0.0.1:35964         127.0.0.1:25            TIME_WAIT   -                   \nudp        0      0 0.0.0.0:68              0.0.0.0:*                           525\/dhclient        \nudp        0      0 172.17.13.140:68        0.0.0.0:*                           501\/systemd-network \nudp        0      0 127.0.0.1:323           0.0.0.0:*                           656\/chronyd         \nudp6       0      0 ::1:323                 :::*                                656\/chronyd         <\/pre>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#\u7136\u540e\u7528 netstat -tulnap\u548ckill -9 PID \u6307\u4ee4\u591a\u6b21\u67e5\u627e\u548c\u6740\u6b7b\u5360\u75288081\u7684\u8fdb\u7a0bPID\nroot@Alibian:~# kill -9 4977\nroot@Alibian:~# netstat -tulnap\nroot@Alibian:~# kill -9 11741\nroot@Alibian:~# netstat -tulnap\nActive Internet connections (servers and established)\nProto Recv-Q Send-Q Local Address           Foreign Address         State       PID\/Program name    \ntcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      705\/pure-ftpd (SERV \ntcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      697\/sshd            \ntcp        0      0 0.0.0.0:8888            0.0.0.0:*               LISTEN      11593\/python        \ntcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1047\/sendmail: MTA: \ntcp        0      0 127.0.0.1:587           0.0.0.0:*               LISTEN      1047\/sendmail: MTA: \ntcp        0      0 172.17.13.140:47774     100.103.13.17:80        ESTABLISHED 23261\/AliYunDun     \ntcp        0    464 172.17.13.140:22        101.127.33.77:50430     ESTABLISHED 15489\/sshd: root@pt \ntcp        0      0 172.17.13.140:50150     100.100.29.34:443       ESTABLISHED 12527\/aliyun-servic \ntcp        0      0 172.17.13.140:443       110.249.202.207:63868   TIME_WAIT   -                   \ntcp        0      0 172.17.13.140:33578     100.100.29.34:443       TIME_WAIT   -                   \ntcp        0      0 172.17.13.140:8888      101.127.33.77:51270     ESTABLISHED 11593\/python        \ntcp6       0      0 :::21                   :::*                    LISTEN      705\/pure-ftpd (SERV \ntcp6       0      0 :::1081                 :::*                    LISTEN      26935\/v2ray         \ntcp6       0      0 :::3306                 :::*                    LISTEN      1761\/mysqld         \nudp        0      0 0.0.0.0:68              0.0.0.0:*                           525\/dhclient        \nudp        0      0 172.17.13.140:68        0.0.0.0:*                           501\/systemd-network \nudp        0      0 127.0.0.1:323           0.0.0.0:*                           656\/chronyd         \nudp6       0      0 ::1:323                 :::*                                656\/chronyd         \n#\u76f4\u5230\u6ca1\u6709\u5360\u7528\u4e3a\u6b62<\/pre>\n\n\n\n<p>\u5f7b\u5e95\u6e05\u7406\u6389\u5360\u75288081\u7aef\u53e3\u7684PID\u4e4b\u540e\uff0c\u5c31\u80fd\u6210\u529f\u62c9\u8d77\u4e86<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u53bb\u5e74\u65e0\u610f\u4e2d\u90e8\u7f72\u4e86\u4e00\u4e2aYoutube\u7684\u4e0b\u8f7d\u670d\u52a1\uff0c\u7b80\u5355 [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[357],"tags":[1648,2765,2764,2738,2766],"class_list":["post-3080","post","type-post","status-publish","format-standard","hentry","category-zero2hero","tag-docker","tag-kill-9","tag-port","tag-2738","tag-2766"],"_links":{"self":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/3080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3080"}],"version-history":[{"count":3,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/3080\/revisions"}],"predecessor-version":[{"id":3085,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/3080\/revisions\/3085"}],"wp:attachment":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}