{"id":40,"date":"2024-09-09T22:56:53","date_gmt":"2024-09-09T14:56:53","guid":{"rendered":"http:\/\/cux.cn\/?p=40"},"modified":"2024-09-09T22:56:53","modified_gmt":"2024-09-09T14:56:53","slug":"%e9%9d%92%e9%be%99%e4%bb%8e0%e5%88%b01%e6%90%ad%e5%bb%ba%e4%bb%a5%e5%8f%8a%e4%bd%bf%e7%94%a8%e8%bf%87%e7%a8%8b%ef%bc%8c%e5%ae%9e%e7%8e%b0jd%e8%87%aa%e5%8a%a8%e7%ad%be%e5%88%b0%e3%80%81%e9%a2%86","status":"publish","type":"post","link":"http:\/\/puo.cn\/?p=40","title":{"rendered":"\u9752\u9f99\u4ece0\u52301\u642d\u5efa\u4ee5\u53ca\u4f7f\u7528\u8fc7\u7a0b\uff0c\u5b9e\u73b0JD\u81ea\u52a8\u7b7e\u5230\u3001\u9886\u8c46"},"content":{"rendered":"<p>\u9752\u9f99\u662f\u4e00\u4e2a\u6bd4\u8f83\u597d\u7528\u7684\u5b9a\u65f6\u4efb\u52a1\u5e73\u53f0\uff0c\u652f\u6301\u591a\u79cd\u811a\u672c\u8bed\u8a00\uff0c\uff08python3\u3001javaScript\u3001shell\u3001typescript\uff09\u652f\u6301\u5728\u7ebf\u7ba1\u7406\u811a\u672c\u3001\u73af\u5883\u53d8\u91cf\u3001\u914d\u7f6e\u6587\u4ef6\u3002\u652f\u6301\u5728\u7ebf\u67e5\u770b\u4efb\u52a1\u65e5\u5fd7\u7b49\u3002\u63a5\u4e0b\u6765\u5c31\u4ecb\u7ecd\uff0c\u600e\u4e48\u901a\u8fc7docker\u5b89\u88c5\u4ee5\u53ca\u4f7f\u7528\u9752\u9f99\u3002<\/p>\n<p>\u524d\u63d0\uff1a\u62e5\u6709\u4e00\u53f0\u670d\u52a1\u5668\uff0c\u672c\u6559\u7a0b\u57fa\u4e8ecentos7<\/p>\n<ol>\n<li>\u786e\u4fdd\u670d\u52a1\u5b89\u88c5docker\n<pre><code class=\"lang-shell-session\">sudo curl -sSL get.docker.com | sh<\/code><\/pre>\n<p>\u5b8c\u4e8b\u540e\uff0c\u6267\u884cdocker -v\u3002\u82e5\u663e\u793a\u7248\u672c\u53f7\u5373\u5b89\u88c5\u6210\u529f<\/li>\n<li>\u914d\u7f6e\u56fd\u5185\u955c\u50cf\u6e90\u548c\u542f\u52a8docker\n<pre><code class=\"lang-shell-session\">mkdir -p \/etc\/docker\ntee \/etc\/docker\/daemon.json &lt;&lt;-'EOF'\n{\n  \"registry-mirrors\": [\n \"https:\/\/0b27f0a81a00f3560fbdc00ddd2f99e0.mirror.swr.myhuaweicloud.com\",\n \"https:\/\/ypzju6vq.mirror.aliyuncs.com\",\n \"https:\/\/registry.docker-cn.com\",\n \"http:\/\/hub-mirror.c.163.com\",\n \"https:\/\/docker.mirrors.ustc.edu.cn\"\n  ]\n}\nEOF\nsystemctl daemon-reload\nsystemctl restart docker<\/code><\/pre>\n<\/li>\n<li>\u68c0\u67e5\u7aef\u53e3\uff0c\u5bb9\u5668\u7684\u9ed8\u8ba4\u7aef\u53e3\u662f5700\uff0c\u8bf7\u786e\u4fdd5700\u7aef\u53e3\u6ca1\u6709\u88ab\u5360\u7528\uff0c\u4e14\u9632\u706b\u5899\u5f00\u4e86\u5bf9\u5e94\u7684\u7aef\u53e3\u3002<br \/>\n\u68c0\u67e5\u65b9\u5f0f:<\/li>\n<\/ol>\n<pre><code class=\"lang-shell-session\">firewall-cmd --query-port=5700\/tcp<\/code><\/pre>\n<p>\u82e5\u8f93\u51fa\u662fno\u5219\u8bc1\u660e\u9632\u706b\u5899\u672a\u5f00\u3002\u6211\u4eec\u63a5\u4e0b\u6765\u6267\u884c<\/p>\n<pre><code class=\"lang-shell-session\">firewall-cmd --add-port=5700\/tcp --permanent<\/code><\/pre>\n<p>\u5f53\u9875\u9762\u663e\u793asuccess\u540e\uff0c\u91cd\u542f\u9632\u706b\u5899\u670d\u52a1\uff0c\u7136\u540e\u518d\u6b21\u67e5\u8be2 5700\u7aef\u53e3\u72b6\u6001\uff0c\u82e5\u663e\u793ayes\u5373\u53ef\u3002<\/p>\n<pre><code class=\"lang-shell-session\">firewall-cmd --reload\nfirewall-cmd --query-port=5700\/tcp<\/code><\/pre>\n<ol start=\"4\">\n<li>\u62c9\u955c\u50cf \u548c\u542f\u52a8\u9752\u9f99\u5bb9\u5668\n<pre><code class=\"lang-shell-session\">docker run -dit\n  -v $PWD\/ql\/data:\/ql\/data\n  -p 5700:5700\n  --name qinglong\n  --hostname qinglong\n  --restart unless-stopped\n  whyour\/qinglong:latest<\/code><\/pre>\n<\/li>\n<li>\u8f93\u5165docker ps\uff0c\u68c0\u67e5\u542f\u52a8\u72b6\u6001\n<div class=\"fancybox-wrapper\" data-fancybox=\"post-images\"><\/div>\n<p>\u82e5\u663e\u793a\u5982\u56fe\u8fd9\u6837\uff0c\u5219\u5c31\u53ef\u4ee5\u767b\u5f55\u4e86\u3002\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8f93\u5165<br \/>\nhttp:\/\/\u4f60\u7684IP:5700 \u5c31\u53ef\u4ee5\u8fdb\u5165\u521d\u59cb\u5316\u9762\u677f\uff0c\u662f\u8fd9\u6837\u7684\n<\/li>\n<li>\u70b9\u51fb\u5f00\u59cb\u5b89\u88c5\uff0c\u6d88\u606f\u63a8\u9001\u65b9\u5f0f\u9009\u62e9\u81ea\u5df1\u60f3\u63a5\u6536\u6d88\u606f\u7684\u65b9\u5f0f\uff0c\u9489\u9489\u6bd4\u8f83\u65b9\u4fbf\uff0c\u4e5f\u53ef\u4ee5\u5728\u540e\u7eed\u7684\u914d\u7f6e\u6587\u4ef6\u91cc\u586b\u5199token\u3002\u7136\u540e\u8f93\u5165\u4f60\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\uff0c\u5b8c\u6210\u5b89\u88c5\u5373\u53ef\u3002\u8fdb\u5165\u9762\u677f\n<\/li>\n<li>\u65b0\u5efa\u5b9a\u65f6\u4efb\u52a1\uff0c\u8f93\u5165\u5927\u4f6c\u4eec\u7684\u62c9\u5e93\u547d\u4ee4\u548c\u5b9a\u65f6\u4efb\u52a1\u89c4\u5219\u5373\u53ef\n<div class=\"fancybox-wrapper\" data-fancybox=\"post-images\"><\/div>\n<p>\u4eba\u6c14\u6bd4\u8f83\u9ad8\u7684\u5e93\u6709KR\u5e93\u548cFaker3\u7684\u5e93\uff0c\u62c9\u5e93\u547d\u4ee4\u5728\u4e0b\u9762\u3002\u8f93\u5165\u540e\uff0c\u70b9\u51fb\u8fd0\u884c\u811a\u672c\u5373\u53ef&nbsp;<\/p>\n<pre><code class=\"lang-shell-session\">ql repo https:\/\/ghproxy.com\/github.com\/KingRan\/JD-Scripts.git \"jd_|jx_|getJDCookie\" \"activity|backUp\" \"^jd[^_]|USER|utils|function\"\nql repo https:\/\/ghproxy.com\/https:\/\/github.com\/shufflewzc\/faker3.git \"jd_|jx_|gua_|jddj_|getJDCookie\" \"activity|backUp\" \"^jd[^_]|USER|function|utils|sendNotify|ZooFaker_Necklace.js|JDJRValidator_|sign_graphics_validate|ql\"\n<\/code><\/pre>\n<\/li>\n<li>\u65b0\u5efa\u73af\u5883\u53d8\u91cf\uff0c\u540d\u79f0\u4e3aJD_COOKIE\uff0c\n<\/li>\n<li>JD_COOKIE\u7684\u503c\uff0c\u9700\u8981\u4f60\u7528PC\u767b\u5165\u00a0https:\/\/m.jd.com\/\u00a0\u3002\u7528\u9a8c\u8bc1\u7801\u767b\u5f55\uff0c\u767b\u5f55F12\u4ece\u63a5\u53e3\u91cc\u9762\u83b7\u53d6cookie\u3002\u628a pt_key\uff0cpt_pin,pt_token \u8fd9\u90e8\u5206\u590d\u5236\u5230\u53d8\u91cf\u7684\u503c\u5373\u53ef\u3002<\/li>\n<li>\u5b89\u88c5\u4f9d\u8d56 NodeJS\u4e0b\u65b0\u5efa\u4f9d\u8d56\uff0c\u7136\u540e\u9009\u62e9\u81ea\u52a8\u62c6\u5206 \uff0c\u590d\u5236\u8fd9\u4e9b\u5373\u53ef`crypto-js<br \/>\nprettytable<br \/>\ndotenv<br \/>\njsdom<br \/>\ndate-fns<br \/>\ntough-cookie<br \/>\ntslib<br \/>\nws@7.4.3<br \/>\nts-md5<br \/>\njsdom -g<br \/>\njieba<br \/>\nfs<br \/>\nform-data<br \/>\njson5<br \/>\nglobal-agent<br \/>\npng-js<br \/>\n@types\/node<br \/>\nrequire<br \/>\ntypescript<br \/>\njs-base64<br \/>\naxios<br \/>\n`<\/li>\n<\/ol>\n<p>Python3 \u4e0b\u590d\u5236 `<br \/>\nrequests<br \/>\ncanvas<br \/>\nping3<br \/>\njieba<br \/>\n`<\/p>\n<p>linux\u4e0b\u590d\u5236 `<br \/>\nbizCode<br \/>\nbizMsg<br \/>\nlxml`<br \/>\n\u6ce8\u610f\u4e0d\u8981\u7b2c\u4e00\u884c\u548c\u6700\u540e\u4e00\u884c\u6709\u7a7a\u683c\uff0c\u4fdd\u5b58\u540e\u5c31\u81ea\u52a8\u4e0b\u8f7d\u4f9d\u8d56\u4e86\uff01<\/p>\n<ol start=\"13\">\n<li>\u914d\u7f6e\u9489\u9489\u673a\u5668\u4eba\n<div class=\"fancybox-wrapper\" data-fancybox=\"post-images\"><\/div>\n<p>\u9489\u9489\u7fa4\u65b0\u589e\u673a\u5668\u4eba\uff0c\u628a\u673a\u5668\u4eba\u7684token\u590d\u5236\u5230\u56fe\u4e0a\u7684\u94fe\u63a5\u540e\u9762\uff0c\u5c31\u53ef\u4ee5\u6536\u5230\u811a\u672c\u7684\u6bcf\u65e5\u6267\u884c\u60c5\u51b5\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u9752\u9f99\u662f\u4e00\u4e2a\u6bd4\u8f83\u597d\u7528\u7684\u5b9a\u65f6\u4efb\u52a1\u5e73\u53f0\uff0c\u652f\u6301\u591a\u79cd\u811a\u672c\u8bed\u8a00\uff0c\uff08python3\u3001javaScript\u3001shell\u3001typescript\uff09\u652f\u6301\u5728\u7ebf\u7ba1\u7406\u811a\u672c\u3001\u73af\u5883\u53d8\u91cf\u3001\u914d\u7f6e\u6587\u4ef6\u3002\u652f\u6301\u5728\u7ebf\u67e5\u770b\u4efb\u52a1\u65e5\u5fd7\u7b49\u3002\u63a5\u4e0b\u6765\u5c31\u4ecb\u7ecd\uff0c\u600e\u4e48\u901a\u8fc7docker\u5b89\u88c5\u4ee5\u53ca\u4f7f\u7528\u9752\u9f99\u3002&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[141,136],"tags":[159,220,242],"topic":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-tools-soft","category-136","tag-docker","tag-220","tag-242"],"_links":{"self":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":0,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions"}],"wp:attachment":[{"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}