{"id":131,"date":"2021-11-24T23:45:41","date_gmt":"2021-11-24T15:45:41","guid":{"rendered":"http:\/\/123.57.80.14\/?p=131"},"modified":"2021-11-24T23:45:46","modified_gmt":"2021-11-24T15:45:46","slug":"%e6%9f%90%e4%b8%9c%e8%84%9a%e6%9c%ac%e7%89%b9%e5%ae%9a%e4%be%9d%e8%b5%96%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"http:\/\/www.slof.top\/?p=131","title":{"rendered":"\u67d0\u4e1c\u811a\u672c\u7279\u5b9a\u4f9d\u8d56\u5b89\u88c5"},"content":{"rendered":"\n<p><strong>\u80cc\u666f\uff1a\u81ea\u4ece\u67d0\u4e0d\u613f\u610f\u900f\u9732\u59d3\u540d\u7684\u5927\u4f6c\u6fc0\u6d41\u52c7\u9000\uff0c\u4f5c\u8005\u662f\u767e\u82b1\u9f50\u653e\uff0c\u811a\u672c\u90fd\u73a9\u51fa\u65b0\u9ad8\u4e86\u3002\u4e4b\u524d\u653e\u4e86\u5feb\u8baf\uff0c\u4f46\u662f\u53ef\u80fd\u88ab\u5927\u91cf\u4fe1\u606f\u6df9\u6ca1\u4e86\u3002\u957f\u671f\u8981\u7528\u7684\u4f9d\u8d56\uff0c\u8fd8\u662f\u5355\u72ec\u641e\u4e2a\u6587\u6863\u6536\u96c6\uff0c\u65b9\u4fbf\u65b0\u8001\u670b\u53cb\u67e5\u8be2\u3002<\/strong><\/p>\n\n\n\n<p>\u6e29\u99a8\u63d0\u793a\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u7fa4\u6656\u7528\u6237\u547d\u4ee4\u524d\u52a0\u201csudo\u201c<\/li><li>\u201dQL\u201c\u662f\u5bb9\u5668\u540d\u79f0\uff0c\u6839\u636e\u81ea\u5df1\u7684\u6539<\/li><\/ul>\n\n\n\n<h2 id=\"%e6%96%b9%e5%bc%8f%e4%b8%80%ef%bc%9assh%e8%bf%9e%e6%8e%a5%ef%bc%8c%e7%9b%b4%e6%8e%a5%e7%94%a8%e5%91%bd%e4%bb%a4%e3%80%82\" class=\"wp-block-heading\">\u65b9\u5f0f\u4e00\uff1aSSH\u8fde\u63a5\uff0c\u76f4\u63a5\u7528\u547d\u4ee4\u3002<\/h2>\n\n\n\n<p><code>docker exec -it QL bash -c \"npm install -g npm\"<\/code><br><code>docker exec -it QL bash -c \"npm install -g typescript\"<\/code>&nbsp;<code><br>docker exec -it QL bash -c \"pnpm install png-js\"<br>docker exec -it QL bash -c \"pip3 install requests\"<br>docker exec -it QL bash -c \"npm install axios\"<br>docker exec -it QL bash -c \"npm install date-fns\"<\/code><br><code>docker exec -it QL bash -c \"npm install crypto -g\"<\/code><br><code>docker exec -it QL bash -c \"<\/code>&nbsp;<code>npm install jsdom\"<br>docker exec -it QL bash -c \"apk add --no-cache build-base g++ cairo-dev pango-dev giflib-dev &amp;&amp; cd scripts &amp;&amp; npm install canvas --build-from-source\"<br>docker exec -it QL bash -c \"apk add python3 zlib-dev gcc jpeg-dev python3-dev musl-dev freetype-dev\"<\/code><\/p>\n\n\n\n<p>\u4f60\u4e5f\u53ef\u4ee5\u8fd9\u6837\uff0c\u4e0d\u6389\u4f9d\u8d56\uff08\u53ea\u4e3e\u4e00\u4e2a\u6817\u5b50\uff0c\u4e3e\u4e00\u53cd\u4e09\uff09\uff1a<br><code>docker exec -it QL bash -c \"cd scripts &amp;&amp; npm i -S png-js\"<\/code><\/p>\n\n\n\n<h2 id=\"%e6%96%b9%e5%bc%8f%e4%ba%8c%ef%bc%9a%e6%b7%bb%e5%8a%a0%e5%88%b0extra-sh%e4%b8%ad%ef%bc%8c%e4%bb%a5%e5%90%8e%e9%87%8d%e5%90%af%e5%ba%94%e8%af%a5%e5%b0%b1%e8%87%aa%e5%8a%a8%e8%a3%85%e4%ba%86%ef%bc%88\" class=\"wp-block-heading\">\u65b9\u5f0f\u4e8c\uff1a\u6dfb\u52a0\u5230extra.sh\u4e2d\uff0c\u4ee5\u540e\u91cd\u542f\u5e94\u8be5\u5c31\u81ea\u52a8\u88c5\u4e86\uff08\u9002\u7528\u4e8e\u9752\u9f99\u6700\u65b0\u724870\uff09<\/h2>\n\n\n\n<p><code>cd scripts &amp;&amp; pnpm install -g png-js<br>pnpm install -g date-fns<br>pnpm install -g axios<br>pnpm install -g crypto-js<br>pnpm install -g ts-md5<br>pnpm install -g tslib<br>pnpm install -g @types\/node<br>pnpm install -g requests<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u80cc\u666f\uff1a\u81ea\u4ece\u67d0\u4e0d\u613f\u610f\u900f\u9732\u59d3\u540d\u7684\u5927\u4f6c\u6fc0\u6d41\u52c7\u9000\uff0c\u4f5c\u8005\u662f\u767e\u82b1\u9f50\u653e\uff0c\u811a\u672c\u90fd\u73a9\u51fa\u65b0\u9ad8\u4e86\u3002\u4e4b\u524d\u653e\u4e86\u5feb\u8baf\uff0c\u4f46\u662f\u53ef\u80fd\u88ab\u5927\u91cf\u4fe1\u606f\u6df9\u6ca1\u4e86\u3002\u957f\u671f\u8981\u7528\u7684\u4f9d\u8d56\uff0c\u8fd8\u662f\u5355\u72ec\u641e\u4e2a\u6587\u6863\u6536\u96c6\uff0c\u65b9\u4fbf\u65b0\u8001\u670b\u53cb\u67e5\u8be2\u3002 \u6e29\u99a8\u63d0\u793a\uff1a \u7fa4\u6656\u7528 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":16815,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[10],"tags":[],"class_list":["post-131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-website","entry","has-media"],"_links":{"self":[{"href":"http:\/\/www.slof.top\/index.php?rest_route=\/wp\/v2\/posts\/131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.slof.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.slof.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.slof.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.slof.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=131"}],"version-history":[{"count":1,"href":"http:\/\/www.slof.top\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions"}],"predecessor-version":[{"id":132,"href":"http:\/\/www.slof.top\/index.php?rest_route=\/wp\/v2\/posts\/131\/revisions\/132"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.slof.top\/index.php?rest_route=\/wp\/v2\/media\/16815"}],"wp:attachment":[{"href":"http:\/\/www.slof.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.slof.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=131"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.slof.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}