{"id":68284,"date":"2026-05-27T09:42:30","date_gmt":"2026-05-27T01:42:30","guid":{"rendered":"https:\/\/www.yimenapp.net\/knowledge\/appup-68284.html"},"modified":"2026-05-27T09:42:30","modified_gmt":"2026-05-27T01:42:30","slug":"%e9%98%bf%e9%87%8c%e4%ba%91%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e5%a6%82%e4%bd%95%e6%9e%b6%e8%ae%beapp%e4%b8%8b%e8%bd%bd%e5%91%a2%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenapp.net\/knowledge\/appup-68284.html","title":{"rendered":"\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a\u5982\u4f55\u67b6\u8bbeapp\u4e0b\u8f7d\u5462\uff1f"},"content":{"rendered":"<p>\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a\u67b6\u8bbeAPP\u7684\u5b8c\u6574\u6307\u5357<\/p>\n<p>\u5728\u5f53\u4eca\u6570\u5b57\u5316\u65f6\u4ee3\uff0c\u62e5\u6709\u81ea\u5df1\u7684\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u5df2\u6210\u4e3a\u4f01\u4e1a\u548c\u4e2a\u4eba\u6269\u5c55\u4e1a\u52a1\u7684\u91cd\u8981\u9014\u5f84\u3002\u963f\u91cc\u4e91\u4f5c\u4e3a\u56fd\u5185\u9886\u5148\u7684\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\uff0c\u4e3aAPP\u90e8\u7f72\u63d0\u4f9b\u4e86\u7a33\u5b9a\u53ef\u9760\u7684\u57fa\u7840\u8bbe\u65bd\u3002\u672c\u6587\u5c06\u4e3a\u60a8\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a\u67b6\u8bbe\u60a8\u7684\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u4e00\u3001\u51c6\u5907\u5de5\u4f5c<\/p>\n<ol>\n<li>\n<p><strong>\u6ce8\u518c\u963f\u91cc\u4e91\u8d26\u53f7<\/strong>\uff1a\u8bbf\u95ee\u963f\u91cc\u4e91\u5b98\u7f51\u5b8c\u6210\u6ce8\u518c\uff0c\u5efa\u8bae\u9009\u62e9\u4f01\u4e1a\u8d26\u53f7\u4ee5\u4fbf\u540e\u7eed\u5907\u6848\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u9009\u8d2d\u4e91\u670d\u52a1\u5668<\/strong>\uff1a\u6839\u636e\u60a8\u7684APP\u9884\u671f\u7528\u6237\u91cf\u9009\u62e9\u5408\u9002\u7684ECS\u5b9e\u4f8b\u914d\u7f6e\u3002\u521d\u671f\u53ef\u9009\u62e91\u68382GB\u914d\u7f6e\uff0c\u540e\u671f\u53ef\u968f\u65f6\u5347\u7ea7\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u9009\u62e9\u64cd\u4f5c\u7cfb\u7edf<\/strong>\uff1a\u63a8\u8350\u4f7f\u7528CentOS 7.x\u6216Ubuntu 16.04\/18.04 LTS\u7b49\u7a33\u5b9a\u7248\u672c\u3002<\/p>\n<p><a href=\"https:\/\/appshangjia.yimenapp.com\/pingguo-1406.html\">\u82f9\u679c\u4e0a\u67b6\u88ab\u62d2\u7535\u5546\u5e73\u53f0<\/a>\n<\/li>\n<\/ol>\n<p>\u4e8c\u3001\u670d\u52a1\u5668\u73af\u5883\u914d\u7f6e<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u5168\u7ec4\u8bbe\u7f6e<\/strong>\uff1a\u914d\u7f6e\u9632\u706b\u5899\u89c4\u5219\uff0c\u5f00\u653e80(HTTP)\u3001443(HTTPS)\u7b49\u5fc5\u8981\u7aef\u53e3\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8fdc\u7a0b\u8fde\u63a5<\/strong>\uff1a\u4f7f\u7528SSH\u5de5\u5177(\u5982PuTTY)\u8fde\u63a5\u670d\u52a1\u5668\uff0c\u8fdb\u884c\u57fa\u7840\u914d\u7f6e\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u88c5\u5fc5\u8981\u8f6f\u4ef6<\/strong>\uff1a<\/p>\n<ul>\n<li>Web\u670d\u52a1\u5668\uff1aNginx\u6216Apache<\/li>\n<li>\u6570\u636e\u5e93\uff1aMySQL\/MariaDB\u6216MongoDB<\/li>\n<li>\u8fd0\u884c\u73af\u5883\uff1aNode.js\/PHP\/Java\u7b49\uff0c\u6839\u636e\u60a8\u7684APP\u6280\u672f\u6808\u9009\u62e9<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u4e09\u3001APP\u540e\u7aef\u90e8\u7f72<\/p>\n<ol>\n<li>\n<p><strong>\u4e0a\u4f20\u4ee3\u7801<\/strong>\uff1a\u901a\u8fc7FTP\u6216Git\u5c06APP\u540e\u7aef\u4ee3\u7801\u90e8\u7f72\u5230\u670d\u52a1\u5668\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6e\u6570\u636e\u5e93<\/strong>\uff1a\u521b\u5efa\u6570\u636e\u5e93\u7528\u6237\u548c\u6743\u9650\uff0c\u5bfc\u5165\u521d\u59cb\u6570\u636e\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf<\/strong>\uff1a\u914d\u7f6eAPI\u5bc6\u94a5\u3001\u6570\u636e\u5e93\u8fde\u63a5\u7b49\u654f\u611f\u4fe1\u606f\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u542f\u52a8\u670d\u52a1<\/strong>\uff1a\u4f7f\u7528PM2\u7b49\u8fdb\u7a0b\u7ba1\u7406\u5668\u4fdd\u6301\u670d\u52a1\u6301\u7eed\u8fd0\u884c\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u56db\u3001\u524d\u7aef\u8d44\u6e90\u90e8\u7f72<\/p>\n<ol>\n<li>\n<p><strong>\u6784\u5efa\u751f\u4ea7\u7248\u672c<\/strong>\uff1a\u4f7f\u7528npm run build\u6216\u76f8\u5e94\u6784\u5efa\u547d\u4ee4\u751f\u6210\u4f18\u5316\u540e\u7684\u524d\u7aef\u8d44\u6e90\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u7f6eNginx<\/strong>\uff1a\u8bbe\u7f6e\u9759\u6001\u8d44\u6e90\u7f13\u5b58\u3001Gzip\u538b\u7f29\u7b49\u6027\u80fd\u4f18\u5316\u9009\u9879\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u542f\u7528HTTPS<\/strong>\uff1a\u7533\u8bf7SSL\u8bc1\u4e66\u5e76\u914d\u7f6e\uff0c\u4fdd\u969c\u6570\u636e\u4f20\u8f93\u5b89\u5168\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u4e94\u3001\u6027\u80fd\u4f18\u5316\u4e0e\u76d1\u63a7<\/p>\n<ol>\n<li>\n<p><strong>CDN\u52a0\u901f<\/strong>\uff1a\u4f7f\u7528\u963f\u91cc\u4e91CDN\u670d\u52a1\u52a0\u901f\u9759\u6001\u8d44\u6e90\u5206\u53d1\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8d1f\u8f7d\u5747\u8861<\/strong>\uff1a\u5f53\u7528\u6237\u91cf\u589e\u957f\u65f6\uff0c\u914d\u7f6eSLB\u5b9e\u73b0\u6d41\u91cf\u5206\u53d1\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u76d1\u63a7\u62a5\u8b66<\/strong>\uff1a\u8bbe\u7f6e\u4e91\u76d1\u63a7\uff0c\u5b9e\u65f6\u5173\u6ce8\u670d\u52a1\u5668\u6027\u80fd\u6307\u6807\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u516d\u3001\u6301\u7eed\u96c6\u6210\u4e0e\u90e8\u7f72<\/p>\n<ol>\n<li>\n<p><strong>\u81ea\u52a8\u5316\u90e8\u7f72<\/strong><\/p>\n<p><figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i.yimenyun.net\/2023-03\/31\/11\/34980942751.jpg\" \/><\/figure>\n<\/p>\n<p>\uff1a\u914d\u7f6eJenkins\u6216GitLab CI\u5b9e\u73b0\u4ee3\u7801\u63d0\u4ea4\u540e\u81ea\u52a8\u90e8\u7f72\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5907\u4efd\u7b56\u7565<\/strong>\uff1a\u5236\u5b9a\u6570\u636e\u5e93\u548c\u4ee3\u7801\u7684\u5b9a\u671f\u5907\u4efd\u65b9\u6848\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u4e03\u3001\u5b89\u5168\u9632\u62a4<\/p>\n<ol>\n<li>\n<p><strong>\u5b9a\u671f\u66f4\u65b0<\/strong>\uff1a\u53ca\u65f6\u6253\u8865\u4e01\uff0c\u5347\u7ea7\u8f6f\u4ef6\u7248\u672c\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5b89\u5168\u626b\u63cf<\/strong>\uff1a\u4f7f\u7528\u963f\u91cc\u4e91\u5b89\u5168\u4e2d\u5fc3\u8fdb\u884c\u6f0f\u6d1e\u68c0\u6d4b\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u8bbf\u95ee\u63a7\u5236<\/strong>\uff1a\u9650\u5236SSH\u8bbf\u95eeIP\uff0c\u4f7f\u7528\u5bc6\u94a5\u767b\u5f55\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u5728\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a\u6210\u529f\u90e8\u7f72APP\u540e\uff0c\u60a8\u8fd8\u9700\u8981\u8003\u8651\u5c06APP\u53d1\u5e03\u5230\u5404\u5927\u5e94\u7528\u5546\u5e97\u3002\u4e00\u95e8APP\u4ee3\u4e0a\u67b6\u5e73\u53f0\u4e13\u6ce8APP\u4e0a\u67b6\u670d\u52a110\u5e74\uff0c\u63d0\u4f9bAPP\u4e0a\u67b6\u5168\u6d41\u7a0b\u670d\u52a1\uff0c\u5305\u62ecAPP\u5f00\u53d1\u8005\u8d44\u8d28\u534f\u52a9\uff0cAPP\u8f6f\u8457\u7533\u8bf7\uff0cAPP\u5907\u6848\u534f\u52a9\uff0cAPP\u9884\u5ba1\uff0cAPP\u88ab\u62d2\u89e3\u51b3\u65b9\u6848\u7b49\uff1b\u5305\u6210\u529f\uff0cAPP\u6ca1\u4e0a\u67b6\u6210\u529f\u5168\u989d\u9000\u6b3e\u4e0a\u67b6\u670d\u52a1\u8d39\u3002\u8ba9\u60a8\u7684APP\u8f7b\u677e\u5feb\u6377\u53d1\u5e03\u5230\u8c37\u6b4c\u5546\u5e97\uff0c\u82f9\u679cAPPstore\uff0c\u4ee5\u53ca\u56fd\u5185\u4e3b\u6d41\u5b89\u5353\u5546\u5e97\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a\u67b6\u8bbeAPP\u7684\u5b8c\u6574\u6307\u5357<br \/>\n\u5728\u5f53\u4eca\u6570\u5b57\u5316\u65f6\u4ee3\uff0c\u62e5\u6709\u81ea\u5df1\u7684\u79fb\u52a8\u5e94\u7528\u7a0b\u5e8f\u5df2\u6210\u4e3a\u4f01\u4e1a\u548c\u4e2a\u4eba\u6269\u5c55\u4e1a\u52a1\u7684\u91cd\u8981\u9014\u5f84\u3002\u963f\u91cc\u4e91\u4f5c\u4e3a\u56fd\u5185\u9886\u5148\u7684\u4e91\u670d\u52a1\u63d0\u4f9b\u5546\uff0c\u4e3aAPP\u90e8\u7f72\u63d0\u4f9b\u4e86\u7a33\u5b9a\u53ef\u9760\u7684\u57fa\u7840\u8bbe\u65bd\u3002\u672c\u6587\u5c06\u4e3a\u60a8\u8be6\u7ec6<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[673,459,2149],"topic":[],"class_list":["post-68284","post","type-post","status-publish","format-standard","hentry","category-appup","tag-673","tag-459","tag-2149"],"_links":{"self":[{"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/posts\/68284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/comments?post=68284"}],"version-history":[{"count":0,"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/posts\/68284\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/media?parent=68284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/categories?post=68284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/tags?post=68284"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenapp.net\/knowledge\/wp-json\/wp\/v2\/topic?post=68284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}