{"id":77175,"date":"2026-02-24T04:43:33","date_gmt":"2026-02-23T20:43:33","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/77175.html"},"modified":"2026-02-24T04:43:33","modified_gmt":"2026-02-23T20:43:33","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%a1%b9%e7%9b%ae%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/77175.html","title":{"rendered":"\u670d\u52a1\u5668\u9879\u76ee\u90e8\u7f72"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"%E4%B8%80.%E8%BF%9C%E7%A8%8B%E8%BF%9E%E6%8E%A5%E5%B7%A5%E5%85%B7FinalShell-toc\" style=\"margin-left:0px\">\u4e00.\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177FinalShell<\/p>\n<p id=\"%E4%BA%8C.%E5%AE%89%E8%A3%85JDK-toc\" style=\"margin-left:0px\">\u4e8c.\u5b89\u88c5JDK<\/p>\n<p id=\"1.%E5%AE%89%E8%A3%85JDK-toc\" style=\"margin-left:40px\">1.\u5b89\u88c5JDK<\/p>\n<p id=\"%E4%B8%89.MySQL%E5%AE%89%E8%A3%85-toc\" style=\"margin-left:0px\">\u4e09.MySQL\u5b89\u88c5<\/p>\n<p id=\"1.%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C-toc\" style=\"margin-left:40px\">1.\u51c6\u5907\u5de5\u4f5c<\/p>\n<p id=\"2.%E5%B0%86MySQL%E5%AE%89%E8%A3%85%E5%8C%85%E4%B8%8A%E4%BC%A0%E5%88%B0Linux%E5%B9%B6%E8%A7%A3%E5%8E%8B-toc\" style=\"margin-left:40px\">2.\u5c06MySQL\u5b89\u88c5\u5305\u4e0a\u4f20\u5230Linux\u5e76\u89e3\u538b<\/p>\n<p id=\"3.%E9%85%8D%E7%BD%AE%E7%B3%BB%E7%BB%9F%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F-toc\" style=\"margin-left:40px\">3.\u914d\u7f6e\u7cfb\u7edf\u73af\u5883\u53d8\u91cf<\/p>\n<p id=\"4.%E5%88%9D%E5%A7%8B%E5%8C%96%E6%95%B0%E6%8D%AE%E5%BA%93-toc\" style=\"margin-left:40px\">4.\u521d\u59cb\u5316\u6570\u636e\u5e93<\/p>\n<p id=\"5.%E9%85%8D%E7%BD%AEMySQL-toc\" style=\"margin-left:40px\">5.\u914d\u7f6eMySQL<\/p>\n<p id=\"1.%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%98%B2%E7%81%AB%E5%A2%99%E6%93%8D%E4%BD%9C-toc\" style=\"margin-left:80px\">1.\u670d\u52a1\u5668\u9632\u706b\u5899\u64cd\u4f5c<\/p>\n<p id=\"2.linux%E9%98%B2%E7%81%AB%E5%A2%99%E6%93%8D%E4%BD%9C-toc\" style=\"margin-left:80px\">2.linux\u9632\u706b\u5899\u64cd\u4f5c<\/p>\n<p id=\"6.%E8%BF%9E%E6%8E%A5%E6%B5%8B%E8%AF%95-toc\" style=\"margin-left:40px\">6.\u8fde\u63a5\u6d4b\u8bd5<\/p>\n<p id=\"1.%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%BF%9E%E6%8E%A5-toc\" style=\"margin-left:120px\">1.\u5ba2\u6237\u7aef\u8fde\u63a5<\/p>\n<p id=\"2.%E6%89%93%E5%BC%80%E6%95%B0%E6%8D%AE%E5%BA%93%E5%9B%BE%E5%BD%A2%E5%8C%96%E5%B7%A5%E5%85%B7%E8%BF%9E%E6%8E%A5-toc\" style=\"margin-left:120px\">2.\u6253\u5f00\u6570\u636e\u5e93\u56fe\u5f62\u5316\u5de5\u5177\u8fde\u63a5<\/p>\n<p id=\"%E5%9B%9B.%E5%AE%89%E8%A3%85Nginx-toc\" style=\"margin-left:0px\">\u56db.\u5b89\u88c5Nginx<\/p>\n<p id=\"1.%E5%AE%89%E8%A3%85-toc\" style=\"margin-left:40px\">1.\u5b89\u88c5<\/p>\n<p id=\"2.%E5%90%AF%E5%8A%A8nginx-toc\" style=\"margin-left:40px\">2.\u542f\u52a8nginx<\/p>\n<p id=\"%E4%BA%94.%E5%89%8D%E7%AB%AF%E9%A1%B9%E7%9B%AE%E9%83%A8%E7%BD%B2-toc\" style=\"margin-left:0px\">\u4e94.\u524d\u7aef\u9879\u76ee\u90e8\u7f72<\/p>\n<p id=\"%E5%85%AD.%E5%90%8E%E7%AB%AF%E9%A1%B9%E7%9B%AE%E9%83%A8%E7%BD%B2-toc\" style=\"margin-left:0px\">\u516d.\u540e\u7aef\u9879\u76ee\u90e8\u7f72<\/p>\n<p id=\"1.%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87-toc\" style=\"margin-left:40px\">1.\u73af\u5883\u51c6\u5907<\/p>\n<p id=\"2.%E6%89%93%E5%8C%85%E9%83%A8%E7%BD%B2-toc\" style=\"margin-left:40px\">2.\u6253\u5305\u90e8\u7f72<\/p>\n<p id=\"3.%E5%90%8E%E5%8F%B0%E8%BF%90%E8%A1%8C-toc\" style=\"margin-left:40px\">3.\u540e\u53f0\u8fd0\u884c<\/p>\n<hr id=\"hr-toc\" \/>\n<p>\u00a0 \u672c\u6587\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728Linux\u7cfb\u7edf\u4e0a\u90e8\u7f72Java Web\u9879\u76ee\u7684\u5b8c\u6574\u6d41\u7a0b\u3002\u4e3b\u8981\u5185\u5bb9\u5305\u62ec&#xff1a;1&#xff09;\u4f7f\u7528FinalShell\u8fdc\u7a0b\u8fde\u63a5Linux\u670d\u52a1\u5668&#xff1b;2&#xff09;\u5b89\u88c5JDK\u5e76\u914d\u7f6e\u73af\u5883\u53d8\u91cf&#xff1b;3&#xff09;\u5b89\u88c5MySQL\u6570\u636e\u5e93&#xff0c;\u5305\u62ec\u5378\u8f7d\u51b2\u7a81\u8f6f\u4ef6\u3001\u521d\u59cb\u5316\u914d\u7f6e\u548c\u8fdc\u7a0b\u8bbf\u95ee\u8bbe\u7f6e&#xff1b;4&#xff09;\u5b89\u88c5Nginx\u5e76\u90e8\u7f72\u524d\u7aef\u9879\u76ee&#xff1b;5&#xff09;\u6253\u5305\u90e8\u7f72Spring Boot\u540e\u7aef\u9879\u76ee&#xff0c;\u4f7f\u7528nohup\u547d\u4ee4\u5b9e\u73b0\u540e\u53f0\u8fd0\u884c\u3002\u6587\u4e2d\u8fd8\u63d0\u4f9b\u4e86\u5404\u8f6f\u4ef6\u7684\u5b89\u88c5\u5305\u94fe\u63a5\u548c\u8be6\u7ec6\u7684\u64cd\u4f5c\u547d\u4ee4&#xff0c;\u6db5\u76d6\u4e86\u4ece\u73af\u5883\u642d\u5efa\u5230\u9879\u76ee\u90e8\u7f72\u7684\u5168\u8fc7\u7a0b&#xff0c;\u5e76\u7279\u522b\u8bf4\u660e\u4e86\u9632\u706b\u5899\u914d\u7f6e\u548c\u5e38\u89c1\u95ee\u9898\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n<p>\u9700\u8981\u7684\u8bdd\u81ea\u53d6<\/p>\n<p>FinalShell<\/p>\n<p>\u94fe\u63a5&#xff1a;https:\/\/pan.baidu.com\/s\/1aU5mfQ0zDz18qXHnVhSWXg\u00a0 \u63d0\u53d6\u7801&#xff1a;523o<\/p>\n<\/p>\n<p>jdk<\/p>\n<p>17\u7248\u672c<\/p>\n<p>\u94fe\u63a5&#xff1a;https:\/\/pan.baidu.com\/s\/1BMVAWtq431jsLbhKB8pnwg\u00a0 \u63d0\u53d6\u7801&#xff1a;yxxv<\/p>\n<p>21\u7248\u672c<\/p>\n<p>\u94fe\u63a5&#xff1a;https:\/\/pan.baidu.com\/s\/1rs72Jy5Vg7p931gqOtdyLw\u00a0 \u63d0\u53d6\u7801&#xff1a;6f5x<\/p>\n<\/p>\n<p>mysql<\/p>\n<p>\u94fe\u63a5&#xff1a;https:\/\/pan.baidu.com\/s\/1S4C71DeoHY0S7gcK8mCjnA\u00a0 \u63d0\u53d6\u7801&#xff1a;y5rg<\/p>\n<\/p>\n<p>nginx<\/p>\n<p>\u94fe\u63a5&#xff1a;https:\/\/pan.baidu.com\/s\/1tDZIF5LqFqaB4mpyJDKkJQ\u00a0 \u63d0\u53d6\u7801&#xff1a;cmry<\/p>\n<\/p>\n<h2 id=\"%E4%B8%80.%E8%BF%9C%E7%A8%8B%E8%BF%9E%E6%8E%A5%E5%B7%A5%E5%85%B7FinalShell\">\u4e00.\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177FinalShell<\/h2>\n<p>\u5148\u4ecb\u7ecd\u4e00\u6b3e\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177(ssh)\u00a0 FinalShell\u00a0 \u76f4\u63a5\u65e0\u8111\u5b89\u88c5,\u5b89\u88c5\u5b8c\u6210\u4e4b\u540e\u6253\u51fb\u4e0b\u9762\u8fd9\u4e2a\u56fe\u6807<\/p>\n<p>\u5f53\u7136\u4f60\u6709\u5176\u4ed6\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177\u5c31\u4e0d\u7528\u64cd\u4f5c\u8fd9\u4e00\u6b65\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"348\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204329-699cbbf1408bd.png\" width=\"423\" \/><\/p>\n<p>\u63a5\u7740\u70b9\u51fb<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"290\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204329-699cbbf186df2.png\" width=\"664\" \/><\/p>\n<p>\u63a5\u7740\u64cd\u4f5c<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"527\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204329-699cbbf19b74b.png\" width=\"593\" \/><\/p>\n<h2 id=\"%E4%BA%8C.%E5%AE%89%E8%A3%85JDK\">\u4e8c.\u5b89\u88c5JDK<\/h2>\n<p>\u8f6f\u4ef6\u5b89\u88c5\u65b9\u5f0f<\/p>\n<p>\u5728Linux\u7cfb\u7edf\u4e2d&#xff0c;\u5b89\u88c5\u8f6f\u4ef6\u7684\u65b9\u5f0f\u4e3b\u8981\u6709\u56db\u79cd&#xff0c;\u8fd9\u56db\u79cd\u5b89\u88c5\u65b9\u5f0f\u7684\u7279\u70b9\u5982\u4e0b&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"123\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204329-699cbbf1b4d6b.png\" width=\"692\" \/><\/p>\n<\/p>\n<h3 id=\"1.%E5%AE%89%E8%A3%85JDK\">1.<span style=\"color:#4d4d4d\">\u5b89\u88c5JDK<\/span><\/h3>\n<p>\u4e0a\u8ff0\u6211\u4eec\u4ecb\u7ecd\u4e86Linux\u7cfb\u7edf\u8f6f\u4ef6\u5b89\u88c5\u7684\u56db\u79cd\u5f62\u5f0f&#xff0c;\u63a5\u4e0b\u6765\u6211\u4eec\u5c31\u901a\u8fc7\u7b2c\u4e00\u79cd(\u4e8c\u8fdb\u5236\u53d1\u5e03\u5305)\u5f62\u5f0f\u6765\u5b89\u88c5JDK\u3002 JDK\u5bf9\u5e94\u7684\u4e8c\u8fdb\u5236\u53d1\u5e03\u5305&#xff0c;\u4f60\u6ca1\u6709\u4e0b\u8f7djdk,\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684,\u5982\u4e0b&#xff1a;<\/p>\n<p>JDK\u5177\u4f53\u5b89\u88c5\u6b65\u9aa4\u5982\u4e0b&#xff1a;<\/p>\n<p>1). \u4e0a\u4f20\u5b89\u88c5\u5305<\/p>\n<p>\u4f7f\u7528FinalShell\u81ea\u5e26\u7684\u4e0a\u4f20\u5de5\u5177\u5c06jdk\u7684\u4e8c\u8fdb\u5236\u53d1\u5e03\u5305\u4e0a\u4f20\u5230Linux<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"739\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204329-699cbbf1db52a.png\" width=\"1282\" \/><\/p>\n<p>\u7531\u4e8e\u4e0a\u8ff0\u5728\u8fdb\u884c\u6587\u4ef6\u4e0a\u4f20\u65f6&#xff0c;\u9009\u62e9\u7684\u4e0a\u4f20\u76ee\u5f55 \/root&#xff0c;\u4e0a\u4f20\u5b8c\u6bd5\u540e&#xff0c;\u6211\u4eec\u6267\u884c\u6307\u4ee4 cd \/root \u5207\u6362\u5230\u6839\u76ee\u5f55\u4e0b&#xff0c;\u67e5\u770b\u4e0a\u4f20\u7684\u5b89\u88c5\u5305\u3002\u7528ll\u547d\u4ee4\u5c31\u53ef\u4ee5\u67e5\u770b\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"103\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204330-699cbbf262e9f.png\" width=\"773\" \/><\/p>\n<\/p>\n<p>2). \u89e3\u538b\u5b89\u88c5\u5305<\/p>\n<p>\u6267\u884c\u5982\u4e0b\u6307\u4ee4&#xff0c;\u5c06\u4e0a\u4f20\u4e0a\u6765\u7684\u538b\u7f29\u5305\u8fdb\u884c\u89e3\u538b&#xff0c;\u5e76\u901a\u8fc7-C\u53c2\u6570\u6307\u5b9a\u89e3\u538b\u6587\u4ef6\u5b58\u653e\u76ee\u5f55\u4e3a \/usr\/local\u3002<\/p>\n<p>tar -zxvf jdk-21_linux-x64_bin.tar.gz -C \/usr\/local\/ <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"263\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204330-699cbbf28bac5.png\" width=\"848\" \/><\/p>\n<\/p>\n<p>3). \u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n<p>\u4f7f\u7528vim\u547d\u4ee4\u4fee\u6539\/etc\/profile\u6587\u4ef6&#xff0c;\u5728\u6587\u4ef6\u672b\u5c3e\u52a0\u5165\u5982\u4e0b\u914d\u7f6e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"49\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204330-699cbbf2c336d.png\" width=\"425\" \/><\/p>\n<p>export JAVA_HOME&#061;\/usr\/local\/jdk-17.0.10<br \/>\nexport PATH&#061;$JAVA_HOME\/bin:$PATH <\/p>\n<p>\u5177\u4f53\u64cd\u4f5c\u6307\u4ee4\u5982\u4e0b: 1). \u7f16\u8f91\/etc\/profile\u6587\u4ef6&#xff0c;\u8fdb\u5165\u547d\u4ee4\u6a21\u5f0f<\/p>\n<p> vim \/etc\/profile <\/p>\n<p>2). \u5728\u547d\u4ee4\u6a21\u5f0f\u4e2d&#xff0c;\u8f93\u5165\u6307\u4ee4 G &#xff0c; \u5207\u6362\u5230\u6587\u4ef6\u6700\u540e G<\/p>\n<p>3). \u5728\u547d\u4ee4\u6a21\u5f0f\u4e2d\u8f93\u5165 i\/a\/o \u8fdb\u5165\u63d2\u5165\u6a21\u5f0f&#xff0c;\u7136\u540e\u5207\u6362\u5230\u6587\u4ef6\u6700\u540e\u4e00\u884c i<\/p>\n<p>4). \u5c06\u4e0a\u8ff0\u7684\u914d\u7f6e\u62f7\u8d1d\u5230\u6587\u4ef6\u4e2d<\/p>\n<p>export JAVA_HOME&#061;\/usr\/local\/jdk-17.0.10<\/p>\n<p>export PATH&#061;$JAVA_HOME\/bin:$PATH<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"353\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204330-699cbbf2d884b.png\" width=\"657\" \/><\/p>\n<p>5). \u4ece\u63d2\u5165\u6a21\u5f0f&#xff0c;\u5207\u6362\u5230\u6307\u4ee4\u6a21\u5f0f ESC<\/p>\n<p>6). \u6309:\u8fdb\u5165\u5e95\u884c\u6a21\u5f0f&#xff0c;\u7136\u540e\u8f93\u5165wq&#xff0c;\u56de\u8f66\u4fdd\u5b58 :wq<\/p>\n<p>4). \u91cd\u65b0\u52a0\u8f7dprofile\u6587\u4ef6<\/p>\n<p>\u4e3a\u4e86\u4f7f\u66f4\u6539\u7684\u914d\u7f6e\u7acb\u5373\u751f\u6548&#xff0c;\u9700\u8981\u91cd\u65b0\u52a0\u8f7dprofile\u6587\u4ef6&#xff0c;\u6267\u884c\u547d\u4ee4:<\/p>\n<p> source \/etc\/profile <\/p>\n<p>5). \u68c0\u67e5\u5b89\u88c5\u662f\u5426\u6210\u529f<\/p>\n<p> java -version <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"150\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204331-699cbbf307553.png\" width=\"690\" \/><\/p>\n<\/p>\n<h2 id=\"%E4%B8%89.MySQL%E5%AE%89%E8%A3%85\">\u4e09.MySQL\u5b89\u88c5<\/h2>\n<p>\u5bf9\u4e8eMySQL\u6570\u636e\u5e93\u7684\u5b89\u88c5&#xff0c;\u6211\u4eec\u5c06\u8981\u4f7f\u7528\u524d\u9762\u8bb2\u89e3\u7684\u7b2c\u4e00\u79cd\u5b89\u88c5\u65b9\u5f0f\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<h3 id=\"1.%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C\">1.\u51c6\u5907\u5de5\u4f5c<\/h3>\n<p>\u5728\u5b89\u88c5MySQL\u6570\u636e\u5e93\u4e4b\u524d&#xff0c;\u6211\u4eec\u9700\u8981\u5148\u68c0\u67e5\u4e00\u4e0b\u5f53\u524dLinux\u7cfb\u7edf\u4e2d&#xff0c;\u662f\u5426\u5b89\u88c5\u7684\u6709MySQL\u7684\u76f8\u5173\u670d\u52a1&#xff08;\u5f88\u591alinux\u5b89\u88c5\u5b8c\u6bd5\u4e4b\u540e&#xff0c;\u81ea\u5e26\u4e86\u4f4e\u7248\u672c\u7684mysql\u7684\u4f9d\u8d56\u5305&#xff09;&#xff0c;\u5982\u679c\u6709&#xff0c;\u5148\u9700\u8981\u5378\u8f7d\u6389&#xff0c;\u7136\u540e\u518d\u8fdb\u884c\u5b89\u88c5\u3002<\/p>\n<p>A. \u901a\u8fc7rpm\u76f8\u5173\u6307\u4ee4&#xff0c;\u6765\u67e5\u8be2\u5f53\u524d\u7cfb\u7edf\u4e2d\u662f\u5426\u5b58\u5728\u5df2\u5b89\u88c5\u7684mysql\u8f6f\u4ef6\u5305&#xff0c;\u6267\u884c\u6307\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p>\u67e5\u8be2\u5f53\u524d\u7cfb\u7edf\u4e2d\u5b89\u88c5\u7684\u6240\u6709\u8f6f\u4ef6<br \/>\nrpm -qa<\/p>\n<p>\u67e5\u8be2\u5f53\u524d\u7cfb\u7edf\u4e2d\u5b89\u88c5\u7684\u540d\u79f0\u5e26mysql\u7684\u8f6f\u4ef6<br \/>\nrpm -qa | grep mysql <\/p>\n<p>\u67e5\u8be2\u5f53\u524d\u7cfb\u7edf\u4e2d\u5b89\u88c5\u7684\u540d\u79f0\u5e26mariadb\u7684\u8f6f\u4ef6<br \/>\nrpm -qa | grep mariadb <\/p>\n<p>\u901a\u8fc7rpm -qa \u67e5\u8be2\u5230\u7cfb\u7edf\u901a\u8fc7rpm\u5b89\u88c5\u7684\u6240\u6709\u8f6f\u4ef6&#xff0c;\u592a\u591a\u4e86&#xff0c;\u4e0d\u65b9\u4fbf\u67e5\u770b&#xff0c;\u6240\u4ee5\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u7ba1\u9053\u7b26 | \u914d\u5408\u7740grep\u8fdb\u884c\u8fc7\u6ee4\u67e5\u8be2\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"132\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204331-699cbbf327051.png\" width=\"525\" \/><\/p>\n<p>\u901a\u8fc7\u67e5\u8be2&#xff0c;\u6211\u4eec\u53d1\u73b0\u5728\u5f53\u524d\u7cfb\u7edf\u4e2d\u5b58\u5728mariadb\u6570\u636e\u5e93&#xff0c;\u662fCentOS7\u4e2d\u81ea\u5e26\u7684&#xff0c;\u800c\u8fd9\u4e2a\u6570\u636e\u5e93\u548cMySQL\u6570\u636e\u5e93\u662f\u51b2\u7a81\u7684&#xff0c;\u6240\u4ee5\u8981\u60f3\u4fdd\u8bc1MySQL\u6210\u529f\u5b89\u88c5&#xff0c;\u9700\u8981\u5378\u8f7dmariadb\u6570\u636e\u5e93\u3002<\/p>\n<p>RPM&#xff1a;\u5168\u79f0\u4e3a Red-Hat Package Manager&#xff0c;RPM\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668&#xff0c;\u662f\u7ea2\u5e3dLinux\u7528\u4e8e\u7ba1\u7406\u548c\u5b89\u88c5\u8f6f\u4ef6\u7684\u5de5\u5177\u3002<\/p>\n<\/p>\n<p>B. \u901a\u8fc7 rpm \u76f8\u5173\u6307\u4ee4&#xff0c;\u6765\u5378\u8f7d\u5bf9\u5e94\u7684\u7ec4\u4ef6&#xff0c;\u6267\u884c\u6307\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p>\u5728rpm\u4e2d&#xff0c;\u5378\u8f7d\u8f6f\u4ef6\u7684\u8bed\u6cd5\u4e3a:rpm -e &#8211;nodeps \u8f6f\u4ef6\u540d\u79f0<\/p>\n<p>\u90a3\u4e48&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u901a\u8fc7\u6307\u4ee4&#xff0c;\u5378\u8f7d mariadb&#xff0c;\u5177\u4f53\u6307\u4ee4\u4e3a&#xff1a;<\/p>\n<p>rpm -e &#8211;nodeps mariadb-libs-5.5.60-1.el7_5.x86_64 <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"158\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204331-699cbbf340aea.png\" width=\"857\" \/><\/p>\n<p>\u6211\u4eec\u770b\u5230\u6267\u884c\u5b8c\u6bd5\u4e4b\u540e&#xff0c; \u518d\u6b21\u67e5\u8be2 mariadb&#xff0c;\u5c31\u67e5\u4e0d\u5230\u4e86&#xff0c;\u56e0\u4e3a\u5df2\u7ecf\u88ab\u6210\u529f\u5378\u8f7d\u4e86\u3002<\/p>\n<\/p>\n<h3 id=\"2.%E5%B0%86MySQL%E5%AE%89%E8%A3%85%E5%8C%85%E4%B8%8A%E4%BC%A0%E5%88%B0Linux%E5%B9%B6%E8%A7%A3%E5%8E%8B\">2.\u5c06MySQL\u5b89\u88c5\u5305\u4e0a\u4f20\u5230Linux\u5e76\u89e3\u538b<\/h3>\n<p>A. \u4e0a\u4f20MySQL\u5b89\u88c5\u5305<\/p>\n<p>\u5728\u4e0a\u9762&#xff0c;\u63d0\u4f9b\u7684\u6709MySQL\u7684\u5b89\u88c5\u5305 &#xff0c;\u6211\u4eec\u9700\u8981\u5c06\u8be5\u5b89\u88c5\u5305\u4e0a\u4f20\u5230Linux\u7cfb\u7edf\u7684\u6839\u76ee\u5f55 \/root \u4e0b\u9762\u3002<\/p>\n<p>\u5728\u4e0a\u9762\u7684\u64cd\u4f5c\u6b65\u9aa4\u4e2d\u5df2\u7ecf\u4e0a\u4f20\u4e86<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"84\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204331-699cbbf371be9.png\" width=\"745\" \/><\/p>\n<p>B. \u89e3\u538b\u5230 \u5f53\u524d\u76ee\u5f55<\/p>\n<p>\u6267\u884c\u5982\u4e0b\u6307\u4ee4:<\/p>\n<p>tar -xvf mysql-8.0.30-linux-glibc2.12-x86_64.tar.xz <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"296\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204331-699cbbf3a9c3a.png\" width=\"659\" \/><\/p>\n<\/p>\n<p>C. \u5c06\u89e3\u538b\u540e\u7684\u6587\u4ef6\u5939\u79fb\u52a8\u5230 \/usr\/local \u76ee\u5f55\u4e0b&#xff0c; \u5e76\u6539\u540d\u4e3a mysql<\/p>\n<p>mv mysql-8.0.30-linux-glibc2.12-x86_64 \/usr\/local\/mysql cd \/usr\/local\/mysql <\/p>\n<h3 id=\"3.%E9%85%8D%E7%BD%AE%E7%B3%BB%E7%BB%9F%E7%8E%AF%E5%A2%83%E5%8F%98%E9%87%8F\">3.\u914d\u7f6e\u7cfb\u7edf\u73af\u5883\u53d8\u91cf<\/h3>\n<p>\u914d\u7f6eMySQL\u7684\u73af\u5883\u53d8\u91cf, \u901a\u8fc7vi\u7f16\u8f91\u5668\u7f16\u8f91\u00a0\/etc\/profile\u6587\u4ef6, \u5728\u5c3e\u90e8\u8ffd\u52a0:<\/p>\n<p>\u8fd9\u91cc\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u548c\u4e0a\u9762\u7684jdk\u4e00\u6837<\/p>\n<p>vi\u00a0\/etc\/profile <\/p>\n<p>\u628a\u4e0b\u9762\u8fd9\u4e2a\u6dfb\u52a0\u5230\u6587\u4ef6\u91cc\u9762<\/p>\n<p>export MYSQL_HOME&#061;\/usr\/local\/mysql<\/p>\n<p>export PATH&#061;$MYSQL_HOME\/bin:$PATH <\/p>\n<p>\u5982\u4e0b\u6240\u793a:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"478\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204331-699cbbf3ccc3c.png\" width=\"505\" \/><\/p>\n<p>\u5e76\u6267\u884c\u5982\u4e0b\u6307\u4ee4, \u6ce8\u518cMySQL\u4e3a\u7cfb\u7edf\u670d\u52a1:<\/p>\n<p>cp \/usr\/local\/mysql\/support-files\/mysql.server \/etc\/init.d\/mysql chkconfig &#8211;add mysql <\/p>\n<h3 id=\"4.%E5%88%9D%E5%A7%8B%E5%8C%96%E6%95%B0%E6%8D%AE%E5%BA%93\">4.\u521d\u59cb\u5316\u6570\u636e\u5e93<\/h3>\n<p>#\u521b\u5efa\u4e00\u4e2a\u7528\u6237\u7ec4, \u7ec4\u540d\u5c31\u53eb<\/p>\n<p>mysql groupadd mysql <\/p>\n<p>#\u521b\u5efa\u4e00\u4e2a\u7cfb\u7edf\u7528\u6237 mysql, \u5e76\u5f52\u5c5e\u4e8e\u7528\u6237\u7ec4 <\/p>\n<p>mysql useradd -r -g mysql -s \/bin\/false mysql<br \/>\n#\u521d\u59cb\u5316mysql<\/p>\n<p>mysqld &#8211;initialize &#8211;user&#061;mysql &#8211;basedir&#061;\/usr\/local\/mysql &#8211;datadir&#061;\/usr\/local\/mysql\/data <\/p>\n<p>\u6267\u884c\u4e0a\u8ff0\u6307\u4ee4\u65f6, \u4f1a\u8f93\u5165\u5982\u4e0b\u65e5\u5fd7&#xff0c;\u5728\u65e5\u5fd7\u4e2d\u5c31\u8f93\u51fa\u4e86MySQL\u4e2droot\u7528\u6237\u7684\u4e00\u4e2a\u4e34\u65f6\u5bc6\u7801\u3010\u8bb0\u5f97\u590d\u5236\u51fa\u6765&#xff0c;\u8bb0\u5f55\u4e0b\u6765\u3011&#xff1a;<\/p>\n<p>\u542f\u52a8mysql<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"121\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204332-699cbbf402071.png\" width=\"1154\" \/><\/p>\n<p>A. \u542f\u52a8MySQL\u670d\u52a1<\/p>\n<p>systemctl start mysql <\/p>\n<p>B. \u901a\u8fc7\u547d\u4ee4, \u767b\u5f55MySQL #xxxxx \u4ee3\u8868\u4e0a\u8ff0\u751f\u6210\u7684root\u7684\u4e34\u65f6\u5bc6\u7801 mysql -uroot -pxxxxx<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"369\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204332-699cbbf433b6e.png\" width=\"979\" \/><\/p>\n<h3 id=\"5.%E9%85%8D%E7%BD%AEMySQL\">5.\u914d\u7f6eMySQL<\/h3>\n<p>A. \u4fee\u6539root\u7528\u6237\u7684\u5bc6\u7801<\/p>\n<p>ALTER USER &#039;root&#039;&#064;&#039;localhost&#039; IDENTIFIED WITH mysql_native_password BY &#039;1234&#039;; <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"118\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204332-699cbbf4700d9.png\" width=\"951\" \/><\/p>\n<p>\u6ce8\u610f: \u8fd9\u4e2aroot\u8d26\u53f7\u4ec5\u4ec5\u80fd\u591f\u5728\u672c\u673alocalhost\u4e0a\u8bbf\u95ee&#xff0c;\u6211\u4eec\u5728windows\u4e0a\u662f\u65e0\u6cd5\u8bbf\u95ee\u7684\u3002\u5982\u679c\u9700\u8981\u5728window\u4e0a\u6216\u5176\u4ed6\u670d\u52a1\u5668\u4e0a\u4e5f\u80fd\u8fdc\u7a0b\u8bbf\u95ee&#xff0c;\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u8d26\u53f7&#xff0c;\u7528\u4e8e\u8fdc\u7a0b\u8bbf\u95ee\u7684\u3002<\/p>\n<p>B. \u521b\u5efa\u8d26\u53f7, \u5e76\u6388\u6743\u8fdc\u7a0b\u8bbf\u95ee<\/p>\n<p>CREATE USER &#039;root&#039;&#064;&#039;%&#039; IDENTIFIED BY &#039;1234&#039;; <\/p>\n<p>GRANT ALL PRIVILEGES ON *.* TO &#039;root&#039;&#064;&#039;%&#039;; <\/p>\n<p>FLUSH PRIVILEGES; <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"239\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204332-699cbbf49de41.png\" width=\"528\" \/><\/p>\n<p>\u6211\u4eec\u5df2\u7ecf\u5f00\u542f\u4e86MySQL\u7684\u8fdc\u7a0b\u8bbf\u95ee\u7684\u6743\u9650&#xff0c;\u4e3a\u4ec0\u4e48\u8fd8\u662f\u8fde\u63a5\u4e0d\u4e0aMySQL\u670d\u52a1\u5668\u5462&#xff1f;&#xff1f; \u8fd9\u662f\u56e0\u4e3a\u670d\u52a1\u5668\u7cfb\u7edf\u7684\u9632\u706b\u5899&#xff0c;\u5c06\u6211\u4eec\u7684\u8bbf\u95ee\u62e6\u622a\u4e86\u3002<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528\u81ea\u5df1\u7535\u8111cmd\u547d\u4ee4\u5c1d\u8bd5\u8fde\u63a5\u4e00\u4e0b<\/p>\n<p>mysql -h192.268.200.128 -P3306 -uroot -p1234 <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"177\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204332-699cbbf4baa7d.png\" width=\"1102\" \/><\/p>\n<\/p>\n<p>(\u5982\u679c\u4f60\u7528\u7684\u670d\u52a1\u5668\u5c31\u7528\u7b2c\u4e00\u79cd\u65b9\u5f0f\u6253\u5f00\u9632\u706b\u5899,\u5982\u679c\u4f60\u7528\u7684linux\u5c31\u7528\u7b2c\u4e8c\u79cd\u65b9\u5f0f\u6253\u5f00\u9632\u706b\u5899)<\/p>\n<h4 id=\"1.%E6%9C%8D%E5%8A%A1%E5%99%A8%E9%98%B2%E7%81%AB%E5%A2%99%E6%93%8D%E4%BD%9C\">1.\u670d\u52a1\u5668\u9632\u706b\u5899\u64cd\u4f5c<\/h4>\n<p>\u627e\u5230\u670d\u52a1\u5668\u9632\u706b\u5899\u6dfb\u52a0\u89c4\u5219\u5f00\u653e3306\u7aef\u53e3<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"737\" src=\"2026-02-24znoegfc22zb.png\" width=\"1466\" \/><\/p>\n<\/p>\n<h4 id=\"2.linux%E9%98%B2%E7%81%AB%E5%A2%99%E6%93%8D%E4%BD%9C\">2.linux\u9632\u706b\u5899\u64cd\u4f5c<\/h4>\n<p>\u5982\u4f55\u64cd\u4f5c\u9632\u706b\u5899&#xff0c;\u5177\u4f53\u6307\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p>\u6ce8\u610f&#xff1a; \u8981\u60f3\u5728windows\u4e0a\u80fd\u591f\u8bbf\u95eeMySQL&#xff0c;\u9700\u8981\u5f00\u653e\u9632\u706b\u5899\u76843306\u7aef\u53e3 \u6216\u8005 \u76f4\u63a5\u5173\u95ed\u9632\u706b\u5899 &#xff0c;\u6267\u884c\u5982\u4e0b\u6307\u4ee4: \u00a0<\/p>\n<p>#\u5f00\u53d1\u9632\u706b\u5899\u76843306\u7aef\u53e3\u53f7<br \/>\nfirewall-cmd &#8211;zone&#061;public &#8211;add-port&#061;3306\/tcp &#8211;permanent <\/p>\n<p>#\u91cd\u65b0\u52a0\u8f7d<br \/>\nfirewall-cmd &#8211;reload <\/p>\n<p>#\u67e5\u770b\u5f00\u653e\u7684\u7aef\u53e3\u53f7<br \/>\nfirewall-cmd &#8211;zone&#061;public &#8211;list-ports <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"201\" src=\"2026-02-24aqgvs1y5cry.png\" width=\"761\" \/><\/p>\n<p>\u4e0b\u9762\u662f\u4e00\u4e9b\u6307\u4ee4,\u53ef\u4ee5\u53c2\u8003<\/p>\n<table>\n<tbody>\n<tr>\n<td>\u64cd\u4f5c<\/td>\n<td>\u6307\u4ee4<\/td>\n<\/tr>\n<tr>\n<td>\u67e5\u770b\u9632\u706b\u5899\u72b6\u6001<\/td>\n<td>systemctl status firewalld \/ firewall-cmd &#8211;state<\/td>\n<\/tr>\n<tr>\n<td>\u6682\u65f6\u5173\u95ed\u9632\u706b\u5899<\/td>\n<td>systemctl stop firewalld<\/td>\n<\/tr>\n<tr>\n<td>\u6c38\u4e45\u5173\u95ed\u9632\u706b\u5899(\u7981\u7528\u5f00\u673a\u81ea\u542f)<\/td>\n<td>systemctl disable firewalld<\/td>\n<\/tr>\n<tr>\n<td>\u6682\u65f6\u5f00\u542f\u9632\u706b\u5899<\/td>\n<td>systemctl start firewalld<\/td>\n<\/tr>\n<tr>\n<td>\u6c38\u4e45\u5f00\u542f\u9632\u706b\u5899(\u542f\u7528\u5f00\u673a\u81ea\u542f)<\/td>\n<td>systemctl enable firewalld<\/td>\n<\/tr>\n<tr>\n<td>\u5f00\u653e\u6307\u5b9a\u7aef\u53e3<\/td>\n<td>firewall-cmd &#8211;zone&#061;public &#8211;add-port&#061;8080\/tcp &#8211;permanent<\/td>\n<\/tr>\n<tr>\n<td>\u5173\u95ed\u6307\u5b9a\u7aef\u53e3<\/td>\n<td>firewall-cmd &#8211;zone&#061;public &#8211;remove-port&#061;8080\/tcp &#8211;permanent<\/td>\n<\/tr>\n<tr>\n<td>\u7acb\u5373\u751f\u6548(\u91cd\u65b0\u52a0\u8f7d)<\/td>\n<td>firewall-cmd &#8211;reload<\/td>\n<\/tr>\n<tr>\n<td>\u67e5\u770b\u5f00\u653e\u7aef\u53e3<\/td>\n<td>firewall-cmd &#8211;zone&#061;public &#8211;list-ports<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"6.%E8%BF%9E%E6%8E%A5%E6%B5%8B%E8%AF%95\">6.\u8fde\u63a5\u6d4b\u8bd5<\/h3>\n<p>\u5173\u95ed\u6389linux\u7cfb\u7edf\u7684\u9632\u706b\u5899\u4e4b\u540e&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u6253\u5f00windows\u4e0a\u7684\u547d\u4ee4\u884c&#xff0c;\u901a\u8fc7mysql\u7684\u5ba2\u6237\u7aef(\u547d\u4ee4\u884c\/\u56fe\u5f62\u5316\u754c\u9762)\u6765\u8fde\u63a5\u8fdc\u7a0blinux\u4e0a\u5b89\u88c5\u7684MySQL\u6570\u636e\u5e93\u4e86\u3002<\/p>\n<\/p>\n<h5 id=\"1.%E5%AE%A2%E6%88%B7%E7%AB%AF%E8%BF%9E%E6%8E%A5\">1.\u5ba2\u6237\u7aef\u8fde\u63a5<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"350\" src=\"2026-02-241ct013cx1dg.png\" width=\"953\" \/><\/p>\n<\/p>\n<h5 id=\"2.%E6%89%93%E5%BC%80%E6%95%B0%E6%8D%AE%E5%BA%93%E5%9B%BE%E5%BD%A2%E5%8C%96%E5%B7%A5%E5%85%B7%E8%BF%9E%E6%8E%A5\">2.\u6253\u5f00\u6570\u636e\u5e93\u56fe\u5f62\u5316\u5de5\u5177\u8fde\u63a5<\/h5>\n<p>\u8fd9\u91cc\u5c31\u5f00\u59cb\u6267\u884c\u4f60\u9879\u76ee\u4e2d\u6240\u9700\u8981\u7684sql\u811a\u672c,\u8fd9\u91cc\u4e0d\u518d\u591a\u8ff0<\/p>\n<h2 id=\"%E5%9B%9B.%E5%AE%89%E8%A3%85Nginx\">\u56db.\u5b89\u88c5Nginx<\/h2>\n<h3 id=\"1.%E5%AE%89%E8%A3%85\">1.\u5b89\u88c5<\/h3>\n<p>Nginx\u7684\u5b89\u88c5\u5305&#xff0c;\u4ece\u5b98\u65b9\u4e0b\u8f7d\u4e0b\u6765\u7684\u662fc\u8bed\u8a00\u7684\u6e90\u7801\u5305&#xff0c;\u6211\u4eec\u9700\u8981\u81ea\u5df1\u7f16\u8bd1\u5b89\u88c5\u3002\u5177\u4f53\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b&#xff1a;<\/p>\n<p>1). \u5b89\u88c5Nginx\u8fd0\u884c\u65f6\u9700\u8981\u7684\u4f9d\u8d56<\/p>\n<p>yum install -y pcre pcre-devel zlib zlib-devel openssl openssl-devel <\/p>\n<p>\u5b89\u88c5C\u8bed\u8a00\u7684\u7f16\u8bd1\u73af\u5883.<\/p>\n<p>yum install gcc-c&#043;&#043; <\/p>\n<p>2). \u4e0a\u4f20Nginx\u7684\u6e90\u7801\u5305<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"613\" src=\"2026-02-24lqkumz1xvry.png\" width=\"889\" \/><\/p>\n<p>3). \u89e3\u538b\u6e90\u7801\u5305\u5230\u5f53\u524d\u76ee\u5f55<\/p>\n<p>tar -zxvf nginx-1.20.2.tar.gz <\/p>\n<p>4). \u8fdb\u5165\u5230\u89e3\u538b\u76ee\u5f55\u540e&#xff0c;\u6267\u884c\u6307\u4ee4<\/p>\n<p>#\u8fdb\u5165\u89e3\u538b\u76ee\u5f55<br \/>\ncd nginx-1.20.2 <\/p>\n<p>#\u6267\u884c\u547d\u4ee4\u914d\u7f6e, \u751f\u6210Makefile\u6587\u4ef6<br \/>\n.\/configure &#8211;prefix&#061;\/usr\/local\/nginx <\/p>\n<p>5). \u6267\u884c\u547d\u4ee4\u8fdb\u884c\u7f16\u8bd1\u548c\u5b89\u88c5<\/p>\n<p>#\u7f16\u8bd1<br \/>\nmake <\/p>\n<p>#\u7f16\u8bd1\u5b89\u88c5<br \/>\nmake install <\/p>\n<h3 id=\"2.%E5%90%AF%E5%8A%A8nginx\">2.\u542f\u52a8nginx<\/h3>\n<p>(\u5982\u679c\u4f60\u7528\u7684\u670d\u52a1\u5668\u5c31\u7528\u7b2c\u4e00\u79cd\u65b9\u5f0f\u6253\u5f00\u9632\u706b\u5899,\u5982\u679c\u4f60\u7528\u7684linux\u5c31\u7528\u7b2c\u4e8c\u79cd\u65b9\u5f0f\u6253\u5f00\u9632\u706b\u5899)<\/p>\n<p>\u542f\u52a8\u4e4b\u524d\u8bb0\u5f97\u5f00\u653enginx\u768480\u7aef\u53e3<\/p>\n<p>1.\u670d\u52a1\u5668<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"690\" src=\"2026-02-24ixefh3bslad.png\" width=\"1295\" \/><\/p>\n<p>2.linux\u7cfb\u7edf<\/p>\n<p>firewall-cmd &#8211;zone&#061;public &#8211;add-port&#061;80\/tcp &#8211;permanent <\/p>\n<p>\u5f00\u653e\u4e4b\u540e\u53ef\u4ee5\u67e5\u770b\u4e00\u4e0b<\/p>\n<p>firewall-cmd &#8211;zone&#061;public &#8211;list-ports <\/p>\n<p>\u8fdb\u5165\u5230nginx\u5b89\u88c5\u76ee\u5f55\/usr\/local\/nginx&#xff0c;\u542f\u52a8nginx\u670d\u52a1<\/p>\n<p>cd \/usr\/local\/nginx\/ <\/p>\n<p>sbin\/nginx <\/p>\n<p>\u542f\u52a8\u5b8c\u6bd5\u4e4b\u540e&#xff0c;\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7 ps \u6307\u4ee4\u67e5\u8be2\u5f53\u524d\u7cfb\u7edf\u4e2d\u7684nginx\u8fdb\u7a0b&#xff0c;\u4ece\u800c\u786e\u8ba4nginx\u662f\u5426\u542f\u52a8 \u3002<\/p>\n<p> ps -ef|grep nginx<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"106\" src=\"2026-02-24qs0rac2jlox.png\" width=\"690\" \/><\/p>\n<p>\u7136\u540e&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u6253\u5f00\u6d4f\u89c8\u5668&#xff0c;\u8bbf\u95ee\u670d\u52a1\u5668\u4e0a\u7684nginx \u3002<\/p>\n<p>\u6211\u7684\u662f192.168.100.80,\u76f4\u63a5\u8bbf\u95ee<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"279\" src=\"2026-02-24eqb41ayug35.png\" width=\"798\" \/><\/p>\n<\/p>\n<h2 id=\"%E4%BA%94.%E5%89%8D%E7%AB%AF%E9%A1%B9%E7%9B%AE%E9%83%A8%E7%BD%B2\">\u4e94.\u524d\u7aef\u9879\u76ee\u90e8\u7f72<\/h2>\n<p>1.\u5c06nginx\u7684\u5b89\u88c5\u76ee\u5f55\u7684html\u4e2d\u7684\u9759\u6001\u8d44\u6e90\u6587\u4ef6\u5148\u5220\u9664\u6389\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"461\" src=\"2026-02-24av5h423l0i0.png\" width=\"983\" \/><\/p>\n<p>2.\u627e\u5230\u4f60\u524d\u6bb5\u5199\u597d\u7684\u9879\u76ee\u70b9\u51fbpackage-lock.json,\u7136\u540e\u4e0b\u9762\u4f1a\u51fa\u73b0\u4e00\u4e2anpm\u811a\u672c,\u70b9\u51fbbuild\u53f3\u9762\u7684\u90a3\u4e2a\u4e09\u89d2\u7bad\u5934,\u7136\u540e\u7b49\u8fd0\u884c\u5b8c\u6bd5\u4f1a\u51fa\u73b0\u4e00\u4e2adist\u6587\u4ef6\u91cc\u9762\u6709\u00a0assets,favicon.ico,index.html\u4e09\u4e2a\u6587\u4ef6<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"719\" src=\"2026-02-24pxi0zx0g4wp.png\" width=\"373\" \/><\/p>\n<p>3.\u4e0a\u4f20\u5230\u8fd9\u4e2a\u4f4d\u7f6e\/usr\/local\/nginx\/html\u6587\u4ef6\u5f53\u4e2d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"534\" src=\"2026-02-24a2xzyzdd01k.png\" width=\"1257\" \/><\/p>\n<p>\u4fee\u6539\u4f60\u9879\u76ee\u6240\u9700\u8981\u7684nginx.conf \u914d\u7f6e\u6587\u4ef6&#xff0c;\u6839\u636e\u4f60\u81ea\u5df1\u9879\u76ee\u9700\u6c42\u8fdb\u884c\u914d\u7f6e<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"526\" src=\"2026-02-24p3mgk51avk2.png\" width=\"1272\" \/><\/p>\n<p>4). \u91cd\u65b0\u52a0\u8f7dnginx\u670d\u52a1\u7684\u914d\u7f6e\u6587\u4ef6<\/p>\n<p>#\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u6587\u4ef6 <\/p>\n<p>sbin\/nginx -s reload <\/p>\n<p>5). \u518d\u6b21\u8bbf\u95eenginx (\u53ef\u80fd\u4f1a\u5b58\u5728\u6d4f\u89c8\u5668\u7f13\u5b58, \u53ef\u4ee5\u6309Ctrl&#043;F5, \u5f3a\u5236\u5237\u65b0\u6e05\u7406\u7f13\u5b58)<\/p>\n<p>\u5230\u6b64,\u524d\u7aef\u9879\u76ee\u90e8\u7f72\u5b8c\u6bd5<\/p>\n<p>nginx\u670d\u52a1\u5e38\u89c1\u64cd\u4f5c\u6307\u4ee4: <\/p>\n<ul>\n<li>\n<p>\u542f\u52a8: sbin\/nginx<\/p>\n<\/li>\n<li>\n<p>\u91cd\u8f7d: sbin\/nginx -s reload<\/p>\n<\/li>\n<li>\n<p>\u505c\u6b62: sbin\/nginx -s stop<\/p>\n<\/li>\n<\/ul>\n<\/p>\n<h2 id=\"%E5%85%AD.%E5%90%8E%E7%AB%AF%E9%A1%B9%E7%9B%AE%E9%83%A8%E7%BD%B2\">\u516d.\u540e\u7aef\u9879\u76ee\u90e8\u7f72<\/h2>\n<h3 id=\"1.%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87\">1.\u73af\u5883\u51c6\u5907<\/h3>\n<p><span style=\"color:#4d4d4d\">\u90a3\u73b0\u5728&#xff0c;\u9879\u76ee\u8981\u4e0a\u7ebf\u4e86&#xff0c;\u8981\u90e8\u7f72\u5230\u670d\u52a1\u5668\u4e0a\u4e86&#xff0c;\u6211\u4eec\u4e5f\u9700\u8981\u4f7f\u7528l\u670d\u52a1\u5668\u4e0a\u6240\u5b89\u88c5\u7684mysql\u6570\u636e\u5e93\u3002<\/span><\/p>\n<p>\u90a3\u6b64\u65f6&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u518d\u51c6\u5907\u4e00\u4efd\u6587\u4ef6 application.yml \u5c06\u91cc\u9762\u7684\u914d\u7f6e\u7684mysql\u7684ip\u5730\u5740\u53ca\u76f8\u5173\u914d\u7f6e\u4fe1\u606f\u4fee\u6539\u4e00\u4e0b&#xff08;\u914d\u7f6eLinux\u4e0a\u5b89\u88c5\u7684MySQL\u7684\u4fe1\u606f&#xff09;&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"99\" src=\"2026-02-24binqpiijbpc.png\" width=\"199\" \/><\/p>\n<p>\u53bbidea\u4e2d\u627e\u5230\u4f60\u7684\u540e\u7aef\u9879\u76ee,\u627e\u5230 application.yml \u8fd9\u4e2a\u6587\u4ef6,\u628amysql\u4fee\u6539\u6210\u4f60\u81ea\u5df1\u670d\u52a1\u5668\u7684\u5730\u5740<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"563\" src=\"2026-02-2434qlcuugehq.png\" width=\"715\" \/><\/p>\n<h3 id=\"2.%E6%89%93%E5%8C%85%E9%83%A8%E7%BD%B2\">2.\u6253\u5305\u90e8\u7f72<\/h3>\n<p>(1) \u6267\u884c package \u6307\u4ee4&#xff0c;\u8fdb\u884c\u6253\u5305\u64cd\u4f5c&#xff0c;\u5c06\u5f53\u524d\u7684springboot\u9879\u76ee&#xff0c;\u6253\u6210\u4e00\u4e2ajar\u5305\u3002<\/p>\n<p>\u4e00\u5b9a\u8bb0\u5f97\u6253\u5305\u4e4b\u524d\u8df3\u8fc7\u6d4b\u8bd5 (\u8df3\u8fc7\u6d4b\u8bd5)<\/p>\n<p>\u8fd9\u4e2a\u5219\u662f\u8df3\u8fc7\u6d4b\u8bd5<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"87\" src=\"2026-02-24h1nxu5byerr.png\" width=\"91\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"633\" src=\"2026-02-24cvnbiqiclbm.png\" width=\"475\" \/><\/p>\n<p>(2)\u6253\u5305\u5b8c\u6210\u4e4b\u540e\u5de6\u9762\u76ee\u5f55\u4f1a\u51fa\u73b0\u4e00\u4e2atarget\u6587\u4ef6,\u91cc\u9762\u6709\u4e00\u4e2ajar\u6587\u4ef6<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"241\" src=\"2026-02-24plnydmgnm2l.png\" width=\"338\" \/><\/p>\n<p>(3)\u53f3\u51fb\u6253\u5f00<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"369\" src=\"2026-02-24ne5uoqoi2kh.png\" width=\"738\" \/><\/p>\n<p>(4).\u5728\u670d\u52a1\u5668\u4e0a\u521b\u5efa\u4e00\u4e2a\u76ee\u5f55&#xff0c;\u5c06jar\u5305\u4e0a\u4f20\u5230\u670d\u52a1\u5668 \u3002<\/p>\n<p>mkdir -p \/usr\/local\/app <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"519\" src=\"2026-02-24q4qrs5ledlm.png\" width=\"950\" \/><\/p>\n<p>(5).\u901a\u8fc7java\u547d\u4ee4&#xff0c;\u542f\u52a8\u9879\u76ee<\/p>\n<p>#\u8fdb\u5165\u76ee\u5f55<br \/>\n\/usr\/local\/app cd \/usr\/local\/app <\/p>\n<p>#\u8fd0\u884cjar\u5305<br \/>\njava -jar management-0.0.1-SNAPSHOT.jar <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"175\" src=\"2026-02-24rlq11dxgof1.png\" width=\"664\" \/><\/p>\n<p>\u9879\u76ee\u542f\u52a8\u8d77\u6765\u4e4b\u540e&#xff0c;\u5c31\u53ef\u4ee5\u6253\u5f00\u6d4f\u89c8\u5668\u6d4b\u8bd5\u5566\u3002\u76f4\u63a5\u8bbf\u95ee\u4f60\u7684\u670d\u52a1\u5668\u5373\u53ef<\/p>\n<p>\u5f53\u524d\u7a0b\u5e8f\u4e2d\u5b58\u5728\u7684\u95ee\u9898:<\/p>\n<ul>\n<li>\n<p>\u7ebf\u4e0a\u7a0b\u5e8f\u4e0d\u4f1a\u91c7\u7528\u63a7\u5236\u53f0\u9738\u5c4f\u7684\u5f62\u5f0f\u8fd0\u884c\u7a0b\u5e8f&#xff0c;\u800c\u662f\u5c06\u7a0b\u5e8f\u5728\u540e\u53f0\u8fd0\u884c<\/p>\n<\/li>\n<li>\n<p>\u7ebf\u4e0a\u7a0b\u5e8f\u4e0d\u4f1a\u5c06\u65e5\u5fd7\u8f93\u51fa\u5230\u63a7\u5236\u53f0&#xff0c;\u800c\u662f\u8f93\u51fa\u5230\u65e5\u5fd7\u6587\u4ef6&#xff0c;\u65b9\u4fbf\u8fd0\u7ef4\u67e5\u9605\u4fe1\u606f<\/p>\n<\/li>\n<\/ul>\n<p>\u8981\u89e3\u51b3\u4e0a\u8ff0\u8fd9\u4e24\u4e2a\u95ee\u9898&#xff0c;\u6211\u4eec\u5c31\u53ef\u4ee5\u901a\u8fc7 nohup \u6307\u4ee4\u8ba9\u7a0b\u5e8f\u5728\u540e\u53f0\u8fd0\u884c\u3002<\/p>\n<\/p>\n<h3 id=\"3.%E5%90%8E%E5%8F%B0%E8%BF%90%E8%A1%8C\">3.\u540e\u53f0\u8fd0\u884c<\/h3>\n<p>(1).\u540e\u53f0\u8fd0\u884c\u7a0b\u5e8f<\/p>\n<p>nohup java -jar management-0.0.1-SNAPSHOT.jar &amp;&gt; t.log &amp; <\/p>\n<p>\u901a\u8fc7\u4e0a\u8ff0\u6307\u4ee4\u5c31\u53ef\u4ee5\u540e\u53f0\u8fd0\u884c\u670d\u52a1&#xff0c;\u670d\u52a1\u8fd0\u884c\u4e4b\u540e&#xff0c; \u6240\u6709\u7684\u65e5\u5fd7\u4fe1\u606f\u90fd\u4f1a\u8f93\u51fa\u5230 t.log \u6587\u4ef6\u4e2d\u3002<\/p>\n<p>(2).\u505c\u6b62\u670d\u52a1<\/p>\n<p>#\u67e5\u770b\u670d\u52a1\u7684\u8fdb\u7a0b\u4fe1\u606f<br \/>\nps -ef|grep management <\/p>\n<p>#\u6740\u6389\u8fdb\u7a0b<br \/>\nkill -9 xxxxx <\/p>\n<p>nohup\u547d\u4ee4\u8bf4\u660e:<\/p>\n<ul>\n<li>\n<p>nohup\u547d\u4ee4&#xff1a;\u82f1\u6587\u5168\u79f0 no hang up&#xff08;\u4e0d\u6302\u8d77&#xff09;&#xff0c;\u7528\u4e8e\u4e0d\u6302\u65ad\u5730\u8fd0\u884c\u6307\u5b9a\u547d\u4ee4&#xff0c;\u9000\u51fa\u7ec8\u7aef\u4e0d\u4f1a\u5f71\u54cd\u7a0b\u5e8f\u7684\u8fd0\u884c<\/p>\n<\/li>\n<li>\n<p>\u8bed\u6cd5\u683c\u5f0f&#xff1a;nohup command [ args \u2026 ] [&amp;]<\/p>\n<\/li>\n<li>\n<p>\u53c2\u6570\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>\n<p>command&#xff1a;\u8981\u6267\u884c\u7684\u547d\u4ee4<\/p>\n<\/li>\n<li>\n<p>args&#xff1a;\u4e00\u4e9b\u53c2\u6570&#xff0c;\u53ef\u4ee5\u6307\u5b9a\u8f93\u51fa\u6587\u4ef6<\/p>\n<\/li>\n<li>\n<p>&amp;&#xff1a;\u8ba9\u547d\u4ee4\u5728\u540e\u53f0\u8fd0\u884c<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u4e3e\u4f8b&#xff1a;<\/p>\n<ul>\n<li> nohup java -jar boot\u5de5\u7a0b.jar &amp;&gt; hello.log &amp;\n<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u4e0a\u8ff0\u6307\u4ee4\u7684\u542b\u4e49\u4e3a&#xff1a; \u540e\u53f0\u8fd0\u884c java -jar \u547d\u4ee4&#xff0c;\u5e76\u5c06\u65e5\u5fd7\u8f93\u51fa\u5230hello.log\u6587\u4ef6<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u5f55<br \/>\n\u4e00.\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177FinalShell<br \/>\n\u4e8c.\u5b89\u88c5JDK<br \/>\n1.\u5b89\u88c5JDK<br \/>\n\u4e09.MySQL\u5b89\u88c5<br \/>\n1.\u51c6\u5907\u5de5\u4f5c<br \/>\n2.\u5c06MySQL\u5b89\u88c5\u5305\u4e0a\u4f20\u5230Linux\u5e76\u89e3\u538b<br \/>\n3.\u914d\u7f6e\u7cfb\u7edf\u73af\u5883\u53d8\u91cf<br \/>\n4.\u521d\u59cb\u5316\u6570\u636e\u5e93<br \/>\n5.\u914d\u7f6eMySQL<br \/>\n1.\u670d\u52a1\u5668\u9632\u706b\u5899\u64cd\u4f5c<br \/>\n2.linux\u9632\u706b\u5899\u64cd\u4f5c<br \/>\n6.\u8fde\u63a5\u6d4b\u8bd5<br \/>\n1.\u5ba2\u6237\u7aef\u8fde\u63a5<br \/>\n2.\u6253\u5f00\u6570\u636e\u5e93\u56fe\u5f62\u5316\u5de5\u5177\u8fde\u63a5<br \/>\n\u56db.\u5b89\u88c5Nginx<br \/>\n1.\u5b89\u88c5<br \/>\n2.\u542f\u52a8nginx<br \/>\n\u4e94.\u524d\u7aef\u9879\u76ee\u90e8\u7f72<br \/>\n\u516d.\u540e\u7aef\u9879\u76ee\u90e8\u7f72<br \/>\n1.\u73af\u5883\u51c6\u5907<br \/>\n2.\u6253\u5305\u90e8\u7f72 <\/p>\n","protected":false},"author":2,"featured_media":77155,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,98,190,43,44],"topic":[],"class_list":["post-77175","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-java","tag-spring-boot","tag-190","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u670d\u52a1\u5668\u9879\u76ee\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/77175.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u670d\u52a1\u5668\u9879\u76ee\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u76ee\u5f55 \u4e00.\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177FinalShell \u4e8c.\u5b89\u88c5JDK 1.\u5b89\u88c5JDK \u4e09.MySQL\u5b89\u88c5 1.\u51c6\u5907\u5de5\u4f5c 2.\u5c06MySQL\u5b89\u88c5\u5305\u4e0a\u4f20\u5230Linux\u5e76\u89e3\u538b 3.\u914d\u7f6e\u7cfb\u7edf\u73af\u5883\u53d8\u91cf 4.\u521d\u59cb\u5316\u6570\u636e\u5e93 5.\u914d\u7f6eMySQL 1.\u670d\u52a1\u5668\u9632\u706b\u5899\u64cd\u4f5c 2.linux\u9632\u706b\u5899\u64cd\u4f5c 6.\u8fde\u63a5\u6d4b\u8bd5 1.\u5ba2\u6237\u7aef\u8fde\u63a5 2.\u6253\u5f00\u6570\u636e\u5e93\u56fe\u5f62\u5316\u5de5\u5177\u8fde\u63a5 \u56db.\u5b89\u88c5Nginx 1.\u5b89\u88c5 2.\u542f\u52a8nginx \u4e94.\u524d\u7aef\u9879\u76ee\u90e8\u7f72 \u516d.\u540e\u7aef\u9879\u76ee\u90e8\u7f72 1.\u73af\u5883\u51c6\u5907 2.\u6253\u5305\u90e8\u7f72\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/77175.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-23T20:43:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204329-699cbbf1408bd.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77175.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/77175.html\",\"name\":\"\u670d\u52a1\u5668\u9879\u76ee\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-23T20:43:33+00:00\",\"dateModified\":\"2026-02-23T20:43:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/77175.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/77175.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/77175.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u670d\u52a1\u5668\u9879\u76ee\u90e8\u7f72\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u670d\u52a1\u5668\u9879\u76ee\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/77175.html","og_locale":"zh_CN","og_type":"article","og_title":"\u670d\u52a1\u5668\u9879\u76ee\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u76ee\u5f55 \u4e00.\u8fdc\u7a0b\u8fde\u63a5\u5de5\u5177FinalShell \u4e8c.\u5b89\u88c5JDK 1.\u5b89\u88c5JDK \u4e09.MySQL\u5b89\u88c5 1.\u51c6\u5907\u5de5\u4f5c 2.\u5c06MySQL\u5b89\u88c5\u5305\u4e0a\u4f20\u5230Linux\u5e76\u89e3\u538b 3.\u914d\u7f6e\u7cfb\u7edf\u73af\u5883\u53d8\u91cf 4.\u521d\u59cb\u5316\u6570\u636e\u5e93 5.\u914d\u7f6eMySQL 1.\u670d\u52a1\u5668\u9632\u706b\u5899\u64cd\u4f5c 2.linux\u9632\u706b\u5899\u64cd\u4f5c 6.\u8fde\u63a5\u6d4b\u8bd5 1.\u5ba2\u6237\u7aef\u8fde\u63a5 2.\u6253\u5f00\u6570\u636e\u5e93\u56fe\u5f62\u5316\u5de5\u5177\u8fde\u63a5 \u56db.\u5b89\u88c5Nginx 1.\u5b89\u88c5 2.\u542f\u52a8nginx \u4e94.\u524d\u7aef\u9879\u76ee\u90e8\u7f72 \u516d.\u540e\u7aef\u9879\u76ee\u90e8\u7f72 1.\u73af\u5883\u51c6\u5907 2.\u6253\u5305\u90e8\u7f72","og_url":"https:\/\/www.wsisp.com\/helps\/77175.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-23T20:43:33+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/02\/20260223204329-699cbbf1408bd.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/77175.html","url":"https:\/\/www.wsisp.com\/helps\/77175.html","name":"\u670d\u52a1\u5668\u9879\u76ee\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-23T20:43:33+00:00","dateModified":"2026-02-23T20:43:33+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/77175.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/77175.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/77175.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u670d\u52a1\u5668\u9879\u76ee\u90e8\u7f72"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/77175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=77175"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/77175\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/77155"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=77175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=77175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=77175"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=77175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}