{"id":82491,"date":"2026-07-25T09:33:42","date_gmt":"2026-07-25T01:33:42","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/82491.html"},"modified":"2026-07-25T09:33:42","modified_gmt":"2026-07-25T01:33:42","slug":"%e4%bb%8e%e9%9b%b6%e6%90%ad%e5%bb%bajenkins-%e7%8e%af%e5%a2%83%ef%bc%9arocky-linux-9%e7%94%9f%e4%ba%a7%e7%ba%a7%e9%83%a8%e7%bd%b2%e5%85%a8%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/82491.html","title":{"rendered":"\u4ece\u96f6\u642d\u5efaJenkins \u73af\u5883\uff1aRocky Linux 9\u751f\u4ea7\u7ea7\u90e8\u7f72\u5168\u6307\u5357"},"content":{"rendered":"<h3>\u5199\u5728\u524d\u9762<\/h3>\n<p>\u6700\u8fd1\u5728\u5b66\u4e60Linux\u8fd0\u7ef4\u7684\u8fc7\u7a0b\u4e2d&#xff0c;\u9700\u8981\u642d\u5efa\u4e00\u5957Jenkins\u6301\u7eed\u96c6\u6210\u73af\u5883\u3002\u6574\u4e2a\u8fc7\u7a0b\u6d89\u53caJDK\u5b89\u88c5\u3001WAR\u5305\u90e8\u7f72\u3001Systemd\u670d\u52a1\u7ba1\u7406\u3001\u9632\u706b\u5899\u4e0eSELinux\u914d\u7f6e&#xff0c;\u4ee5\u53ca\u65e5\u5fd7\u6301\u4e45\u5316\u7b49\u591a\u4e2a\u73af\u8282\u3002\u8fd9\u7bc7\u6587\u7ae0\u4e0d\u662f\u7b80\u5355\u7684\u547d\u4ee4\u7f57\u5217&#xff0c;\u800c\u662f\u628a\u6211\u4ece\u8e29\u5751\u5230\u89e3\u51b3\u95ee\u9898\u7684\u5b8c\u6574\u601d\u8def\u8bb0\u5f55\u4e0b\u6765&#xff0c;\u5e0c\u671b\u5bf9\u540c\u6837\u5728\u5b9e\u8df5\u7684\u670b\u53cb\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u73af\u5883\u51c6\u5907\u4e0e\u8f6f\u4ef6\u9009\u578b<\/h3>\n<h4>1.1 \u7cfb\u7edf\u73af\u5883<\/h4>\n<table>\n<tr>\u9879\u76ee\u4fe1\u606f<\/tr>\n<tbody>\n<tr>\n<td>\u64cd\u4f5c\u7cfb\u7edf<\/td>\n<td>Rocky Linux 9<\/td>\n<\/tr>\n<tr>\n<td>JDK\u7248\u672c<\/td>\n<td>OpenJDK 25<\/td>\n<\/tr>\n<tr>\n<td>Jenkins\u7248\u672c<\/td>\n<td>2.516.x LTS&#xff08;\u7a33\u5b9a\u7248&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u90e8\u7f72\u65b9\u5f0f<\/td>\n<td>WAR\u5305 &#043; Systemd\u670d\u52a1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>1.2 \u4e3a\u4ec0\u4e48\u9009\u62e9Rocky Linux 9<\/h4>\n<p>Rocky Linux\u4f5c\u4e3aCentOS\u7684\u66ff\u4ee3\u65b9\u6848&#xff0c;\u5728\u4f01\u4e1a\u7ea7\u751f\u4ea7\u73af\u5883\u4e2d\u5e94\u7528\u8d8a\u6765\u8d8a\u5e7f\u6cdb\u3002\u5b83\u5b8c\u5168\u517c\u5bb9RHEL&#xff0c;\u5305\u7ba1\u7406\u4f7f\u7528dnf&#xff0c;\u7cfb\u7edf\u7a33\u5b9a\u4e14\u793e\u533a\u6d3b\u8dc3\u3002<\/p>\n<h4>1.3 \u4e3a\u4ec0\u4e48\u7528WAR\u5305\u800c\u975eYUM\u5b89\u88c5<\/h4>\n<p>Jenkins\u5b98\u65b9\u63d0\u4f9b\u4e86\u4e24\u79cd\u4e3b\u6d41\u5b89\u88c5\u65b9\u5f0f&#xff1a;<\/p>\n<table>\n<tr>\u65b9\u5f0f\u4f18\u70b9\u7f3a\u70b9<\/tr>\n<tbody>\n<tr>\n<td>YUM\/DNF\u4ed3\u5e93<\/td>\n<td>\u5b89\u88c5\u7b80\u5355&#xff0c;\u81ea\u52a8\u5904\u7406\u4f9d\u8d56<\/td>\n<td>\u7248\u672c\u66f4\u65b0\u8f83\u6162&#xff0c;\u8def\u5f84\u56fa\u5b9a<\/td>\n<\/tr>\n<tr>\n<td>WAR\u5305\u90e8\u7f72<\/td>\n<td>\u7248\u672c\u7075\u6d3b&#xff0c;\u53ef\u81ea\u5b9a\u4e49\u8def\u5f84<\/td>\n<td>\u9700\u624b\u52a8\u7ba1\u7406\u670d\u52a1\u548c\u542f\u52a8\u53c2\u6570<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u751f\u4ea7\u73af\u5883\u4e2d&#xff0c;\u4e3a\u4e86\u66f4\u597d\u7684\u7248\u672c\u63a7\u5236\u548c\u670d\u52a1\u7ba1\u7406&#xff0c;\u4f7f\u7528WAR\u5305\u90e8\u7f72\u66f4\u4e3a\u7075\u6d3b\u3002\u914d\u5408Systemd\u670d\u52a1\u6587\u4ef6&#xff0c;\u540c\u6837\u53ef\u4ee5\u5b9e\u73b0\u5f00\u673a\u81ea\u542f\u548c\u5d29\u6e83\u81ea\u52a8\u91cd\u542f\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001JDK\u73af\u5883\u914d\u7f6e<\/h3>\n<p>Jenkins\u662f\u57fa\u4e8eJava\u5f00\u53d1\u7684\u5e94\u7528&#xff0c;\u4ece2.357\u7248\u672c\u5f00\u59cb\u8981\u6c42JDK 11\u4ee5\u4e0a&#xff0c;\u6211\u4eec\u4f7f\u7528\u6700\u65b0\u7684JDK 25\u3002<\/p>\n<h4>2.1 \u5b89\u88c5OpenJDK 25<\/h4>\n<p>Rocky Linux 9\u7684\u9ed8\u8ba4\u4ed3\u5e93\u5df2\u7ecf\u6536\u5f55\u4e86JDK 25&#xff1a;<\/p>\n<p># \u5b89\u88c5headless\u7248\u672c&#xff08;\u751f\u4ea7\u73af\u5883\u65e0\u9700\u56fe\u5f62\u754c\u9762&#xff09;<br \/>\nsudo dnf install -y java-25-openjdk-headless<br \/>\n\u9a8c\u8bc1\u5b89\u88c5<br \/>\njava -version<\/p>\n<p>\u9884\u671f\u8f93\u51fa&#xff1a;<\/p>\n<p>openjdk version &#034;25.0.3&#034; 2026-04-21 LTS<br \/>\nOpenJDK Runtime Environment (Red_Hat-25.0.3.0.9-1) (build 25.0.3&#043;9-LTS)<br \/>\nOpenJDK 64-Bit Server VM (Red_Hat-25.0.3.0.9-1) (build 25.0.3&#043;9-LTS, mixed mode, sharing)<\/p>\n<p>&#x1f4a1; \u63d0\u793a&#xff1a;\u5982\u679cdnf\u4e0b\u8f7d\u901f\u5ea6\u6162&#xff0c;\u5efa\u8bae\u5148\u914d\u7f6e\u56fd\u5185\u955c\u50cf\u6e90&#xff08;\u5982\u963f\u91cc\u4e91\u3001\u6e05\u534e\u6e90&#xff09;&#xff0c;\u53ef\u4ee5\u663e\u8457\u63d0\u5347\u8f6f\u4ef6\u5305\u4e0b\u8f7d\u901f\u5ea6\u3002<\/p>\n<h4>2.2 JDK\u5b89\u88c5\u8def\u5f84\u9a8c\u8bc1<\/h4>\n<p># \u67e5\u770bJava\u53ef\u6267\u884c\u6587\u4ef6\u8def\u5f84<br \/>\nwhich java<br \/>\n# \u8f93\u51fa: \/usr\/bin\/java<br \/>\n\u67e5\u770b\u5b8c\u6574\u8def\u5f84<br \/>\nreadlink -f \/usr\/bin\/java<br \/>\n\u8f93\u51fa: \/usr\/lib\/jvm\/java-25-openjdk-25.0.3.0.9-1.x86_64\/bin\/java<\/p>\n<p>\u8fd9\u4e2a\u8def\u5f84\u5728\u914d\u7f6eSystemd\u670d\u52a1\u6587\u4ef6\u65f6\u9700\u8981\u7528\u5230\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u4e0b\u8f7d\u4e0e\u90e8\u7f72Jenkins<\/h3>\n<h4>3.1 \u521b\u5efa\u4e13\u7528\u76ee\u5f55<\/h4>\n<p>\u6309\u7167\u826f\u597d\u7684\u76ee\u5f55\u89c4\u8303&#xff0c;\u5c06Jenkins\u90e8\u7f72\u5728\/opt\u76ee\u5f55\u4e0b&#xff1a;<\/p>\n<p># \u521b\u5efaJenkins\u5de5\u4f5c\u76ee\u5f55<br \/>\nsudo mkdir -p \/opt\/jenkins<br \/>\n\u5207\u6362\u76ee\u5f55<br \/>\ncd \/opt\/jenkins<\/p>\n<h4>3.2 \u4e0b\u8f7dJenkins WAR\u5305<\/h4>\n<p>\u4ece\u56fd\u5185\u955c\u50cf\u7ad9\u4e0b\u8f7d&#xff0c;\u901f\u5ea6\u5feb\u4e14\u7a33\u5b9a&#xff1a;<\/p>\n<p># \u4f7f\u7528\u6e05\u534e\u955c\u50cf\u7ad9\u4e0b\u8f7d\u6700\u65b0\u7a33\u5b9a\u7248<br \/>\nsudo wget -O \/opt\/jenkins\/jenkins.war \\\\<br \/>\nhttps:\/\/mirrors.tuna.tsinghua.edu.cn\/jenkins\/war-stable\/latest\/jenkins.war<br \/>\n\u67e5\u770b\u4e0b\u8f7d\u7ed3\u679c<br \/>\nls -lh \/opt\/jenkins\/<br \/>\n-rw-r&#8211;r&#8211; 1 root root 97M Jul 9 23:42 jenkins.war<\/p>\n<p>\u5b98\u65b9\u955c\u50cf\u7ad9\u6c47\u603b&#xff1a;<\/p>\n<table>\n<tr>\u955c\u50cf\u7ad9\u5730\u5740\u9002\u7528\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>\u6e05\u534e\u955c\u50cf<\/td>\n<td>mirrors.tuna.tsinghua.edu.cn\/jenkins\/<\/td>\n<td>\u6559\u80b2\u7f51\/\u56fd\u5185\u9996\u9009<\/td>\n<\/tr>\n<tr>\n<td>\u963f\u91cc\u4e91\u955c\u50cf<\/td>\n<td>mirrors.aliyun.com\/jenkins\/<\/td>\n<td>\u56fd\u5185\u5907\u7528<\/td>\n<\/tr>\n<tr>\n<td>\u5b98\u65b9\u7ad9<\/td>\n<td>mirrors.jenkins.io\/<\/td>\n<td>\u56fd\u5916\u73af\u5883<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>3.3 \u5173\u4e8e\u5b57\u4f53\u9519\u8bef\u7684\u5904\u7406<\/h4>\n<p>\u7b2c\u4e00\u6b21\u4f7f\u7528java -jar\u542f\u52a8\u65f6&#xff0c;\u53ef\u80fd\u4f1a\u9047\u5230\u5982\u4e0b\u9519\u8bef&#xff1a;<\/p>\n<p>java.lang.RuntimeException: Fontconfig head is null, check your fonts or fonts configuration<\/p>\n<p>\u8fd9\u662f\u7531\u4e8e\u6700\u5c0f\u5316\u5b89\u88c5\u7684\u7cfb\u7edf\u7f3a\u5c11\u5b57\u4f53\u5305&#xff0c;Jenkins\u7684Web\u56fe\u8868\u529f\u80fd\u4f9d\u8d56\u5b57\u4f53\u6e32\u67d3\u3002<\/p>\n<p>\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<p># \u5b89\u88c5\u5b57\u4f53\u914d\u7f6e\u5de5\u5177\u548c\u5e38\u7528\u5b57\u4f53<br \/>\nsudo dnf install -y fontconfig dejavu-sans-fonts dejavu-serif-fonts<br \/>\n\u5237\u65b0\u5b57\u4f53\u7f13\u5b58<br \/>\nfc-cache -fv<\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u91cd\u542fJenkins\u5373\u53ef\u6b63\u5e38\u542f\u52a8\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001Systemd\u670d\u52a1\u7ba1\u7406<\/h3>\n<h4>4.1 \u4e3a\u4ec0\u4e48\u8981\u7528Systemd<\/h4>\n<p>\u624b\u52a8\u6267\u884cjava -jar jenkins.war\u7684\u65b9\u5f0f\u6709\u8bf8\u591a\u95ee\u9898&#xff1a;<\/p>\n<ul>\n<li>\u5173\u95ed\u7ec8\u7aef\u540e\u670d\u52a1\u5373\u505c\u6b62<\/li>\n<li>\u670d\u52a1\u5668\u91cd\u542f\u540e\u9700\u624b\u52a8\u91cd\u65b0\u542f\u52a8<\/li>\n<li>\u8fdb\u7a0b\u5d29\u6e83\u540e\u65e0\u6cd5\u81ea\u52a8\u6062\u590d<\/li>\n<li>\u65e0\u6cd5\u901a\u8fc7systemctl\u7edf\u4e00\u7ba1\u7406<\/li>\n<\/ul>\n<p>\u901a\u8fc7Systemd\u5c06Jenkins\u6ce8\u518c\u4e3a\u7cfb\u7edf\u670d\u52a1&#xff0c;\u53ef\u4ee5\u5b8c\u7f8e\u89e3\u51b3\u4ee5\u4e0a\u6240\u6709\u95ee\u9898\u3002<\/p>\n<h4>4.2 \u7f16\u5199Service\u6587\u4ef6<\/h4>\n<p>\u521b\u5efa\u670d\u52a1\u6587\u4ef6&#xff1a;<\/p>\n<p>sudo vim \/etc\/systemd\/system\/jenkins.service<\/p>\n<p>\u5199\u5165\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>[Unit]<br \/>\nDescription&#061;Jenkins Continuous Integration Server<br \/>\nAfter&#061;network.target<br \/>\n[Service]<br \/>\nType&#061;simple<br \/>\nUser&#061;root<br \/>\nGroup&#061;root<br \/>\nWorkingDirectory&#061;\/opt\/jenkins<br \/>\nExecStart&#061;\/usr\/bin\/java -jar \/opt\/jenkins\/jenkins.war<br \/>\nRestart&#061;on-failure<br \/>\nRestartSec&#061;10<br \/>\n[Install]<br \/>\nWantedBy&#061;multi-user.target<\/p>\n<p>\u914d\u7f6e\u9879\u8bf4\u660e&#xff1a;<\/p>\n<table>\n<tr>\u914d\u7f6e\u9879\u8bf4\u660e\u63a8\u8350\u503c<\/tr>\n<tbody>\n<tr>\n<td>Type<\/td>\n<td>\u670d\u52a1\u7c7b\u578b<\/td>\n<td>simple&#xff08;\u524d\u53f0\u8fdb\u7a0b&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>WorkingDirectory<\/td>\n<td>\u5de5\u4f5c\u76ee\u5f55<\/td>\n<td>\u6307\u5411Jenkins\u5b89\u88c5\u76ee\u5f55<\/td>\n<\/tr>\n<tr>\n<td>ExecStart<\/td>\n<td>\u542f\u52a8\u547d\u4ee4<\/td>\n<td>\u5b8c\u6574\u8def\u5f84\u7684java\u547d\u4ee4<\/td>\n<\/tr>\n<tr>\n<td>Restart<\/td>\n<td>\u91cd\u542f\u7b56\u7565<\/td>\n<td>on-failure&#xff08;\u975e\u6b63\u5e38\u9000\u51fa\u81ea\u52a8\u91cd\u542f&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>RestartSec<\/td>\n<td>\u91cd\u542f\u7b49\u5f85\u65f6\u95f4<\/td>\n<td>10\u79d2<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>4.3 \u542f\u52a8\u4e0e\u9a8c\u8bc1<\/h4>\n<p># \u91cd\u65b0\u52a0\u8f7dsystemd\u914d\u7f6e<br \/>\nsudo systemctl daemon-reload<br \/>\n\u542f\u52a8Jenkins\u670d\u52a1<br \/>\nsudo systemctl start jenkins<br \/>\n\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f<br \/>\nsudo systemctl enable jenkins<br \/>\n\u67e5\u770b\u670d\u52a1\u72b6\u6001<br \/>\nsudo systemctl status jenkins<\/p>\n<p>\u72b6\u6001\u663e\u793aactive (running)\u8bf4\u660e\u542f\u52a8\u6210\u529f\u3002<\/p>\n<h4>4.4 \u5d29\u6e83\u81ea\u52a8\u91cd\u542f\u9a8c\u8bc1<\/h4>\n<p>Systemd\u7684Restart&#061;on-failure\u914d\u7f6e\u53ef\u4ee5\u81ea\u52a8\u6062\u590d\u5d29\u6e83\u7684\u8fdb\u7a0b&#xff1a;<\/p>\n<p># 1. \u67e5\u770b\u5f53\u524d\u8fdb\u7a0bPID<br \/>\nps aux | grep jenkins.war | grep -v grep<br \/>\n2. \u5f3a\u5236\u6740\u6389\u8fdb\u7a0b&#xff08;\u6a21\u62df\u5d29\u6e83&#xff09;<br \/>\nkill -9 &lt;PID&gt;<br \/>\n3. \u7b49\u5f8510\u79d2\u540e\u67e5\u770b\u72b6\u6001<br \/>\nsystemctl status jenkins<br \/>\n\u8fdb\u7a0b\u5df2\u7ecf\u81ea\u52a8\u6062\u590d&#xff0c;\u8fd0\u884c\u65f6\u95f4\u91cd\u65b0\u8ba1\u65f6<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u9632\u706b\u5899\u4e0eSELinux\u914d\u7f6e<\/h3>\n<h4>5.1 \u9632\u706b\u5899\u653e\u884c8080\u7aef\u53e3<\/h4>\n<p>Jenkins\u9ed8\u8ba4\u76d1\u542c8080\u7aef\u53e3&#xff0c;\u9700\u8981\u653e\u884c\u5916\u90e8\u8bbf\u95ee&#xff1a;<\/p>\n<p># \u6c38\u4e45\u5f00\u653e8080\u7aef\u53e3<br \/>\nsudo firewall-cmd &#8211;permanent &#8211;add-port&#061;8080\/tcp<br \/>\n\u91cd\u65b0\u52a0\u8f7d\u9632\u706b\u5899\u89c4\u5219<br \/>\nsudo firewall-cmd &#8211;reload<br \/>\n\u67e5\u770b\u5df2\u5f00\u653e\u7684\u7aef\u53e3<br \/>\nsudo firewall-cmd &#8211;permanent &#8211;list-all<\/p>\n<p>\u786e\u8ba4\u8f93\u51fa\u4e2d\u5305\u542bports: 8080\/tcp\u3002<\/p>\n<h4><\/h4>\n<hr \/>\n<h3>\u516d\u3001\u65e5\u5fd7\u7ba1\u7406\u4e0e\u6301\u4e45\u5316\u914d\u7f6e<\/h3>\n<h4>6.1 Journald\u65e5\u5fd7\u7ba1\u7406<\/h4>\n<p>Systemd\u7ba1\u7406\u7684\u670d\u52a1\u65e5\u5fd7\u9ed8\u8ba4\u7531journald\u6536\u96c6\u3002\u751f\u4ea7\u73af\u5883\u4e0b\u9700\u8981\u5408\u7406\u914d\u7f6e\u65e5\u5fd7\u5b58\u50a8\u7b56\u7565&#xff0c;\u9632\u6b62\u65e5\u5fd7\u5360\u6ee1\u78c1\u76d8\u3002<\/p>\n<p>\u67e5\u770b\u65e5\u5fd7\u5360\u7528\u7a7a\u95f4&#xff1a;<\/p>\n<p>journalctl &#8211;disk-usage<br \/>\n# \u8f93\u51fa: Archived and active journals take up 1.2G in the file system.<\/p>\n<p>\u65e5\u5fd7\u6e05\u7406\u547d\u4ee4&#xff1a;<\/p>\n<p># \u6309\u5927\u5c0f\u6e05\u7406\u2014\u2014\u4fdd\u7559500MB<br \/>\njournalctl &#8211;vacuum-size&#061;500M<br \/>\n\u6309\u65f6\u95f4\u6e05\u7406\u2014\u2014\u53ea\u4fdd\u75597\u5929<br \/>\njournalctl &#8211;vacuum-time&#061;7d<\/p>\n<h4>6.2 \u6301\u4e45\u5316\u914d\u7f6e<\/h4>\n<p>\u7f16\u8f91journald\u914d\u7f6e\u6587\u4ef6&#xff0c;\u8bbe\u7f6e\u5408\u7406\u7684\u4e0a\u9650&#xff1a;<\/p>\n<p>sudo vim \/etc\/systemd\/journald.conf<\/p>\n<p>\u5173\u952e\u914d\u7f6e\u9879&#xff1a;<\/p>\n<p>[Journal]<br \/>\n# \u6301\u4e45\u5316\u5b58\u50a8&#xff08;\u9ed8\u8ba4\u662f\u81ea\u52a8&#xff0c;\u5efa\u8bae\u8bbe\u4e3a\u6301\u4e45&#xff09;<br \/>\nStorage&#061;persistent<br \/>\n\u6700\u5927\u65e5\u5fd7\u6587\u4ef6\u5927\u5c0f&#xff08;\u5355\u4e2a\u6587\u4ef6&#xff09;<br \/>\nSystemMaxUse&#061;500M<br \/>\n\u6700\u5927\u65e5\u5fd7\u6587\u4ef6\u603b\u5927\u5c0f<br \/>\nSystemMaxFileSize&#061;50M<br \/>\n\u4fdd\u7559\u65e5\u5fd7\u6587\u4ef6\u7684\u6700\u5927\u5929\u6570<br \/>\nMaxRetentionSec&#061;7day<br \/>\n\u538b\u7f29\u65e5\u5fd7\u6587\u4ef6<br \/>\nCompress&#061;yes<\/p>\n<p>\u4fee\u6539\u540e\u91cd\u542fjournald\u670d\u52a1&#xff1a;<\/p>\n<p>sudo systemctl restart systemd-journald<\/p>\n<h4>6.3 Jenkins\u65e5\u5fd7\u6587\u4ef6\u914d\u7f6e<\/h4>\n<p>\u9664\u4e86Systemd\u65e5\u5fd7&#xff0c;Jenkins\u81ea\u8eab\u4e5f\u4f1a\u751f\u6210\u65e5\u5fd7\u6587\u4ef6\u3002\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u542f\u52a8\u53c2\u6570\u6765\u914d\u7f6e\u65e5\u5fd7\u7ea7\u522b\u548c\u8f93\u51fa\u4f4d\u7f6e\u3002<\/p>\n<p>\u7f16\u8f91\/etc\/systemd\/system\/jenkins.service\u6587\u4ef6&#xff0c;\u5728ExecStart\u884c\u6dfb\u52a0\u65e5\u5fd7\u53c2\u6570&#xff1a;<\/p>\n<p>ExecStart&#061;\/usr\/bin\/java -Djava.util.logging.config.file&#061;\/opt\/jenkins\/logging.properties -jar \/opt\/jenkins\/jenkins.war<\/p>\n<p>\u521b\u5efa\u65e5\u5fd7\u914d\u7f6e\u6587\u4ef6\/opt\/jenkins\/logging.properties&#xff1a;<\/p>\n<p>handlers&#061;java.util.logging.FileHandler<br \/>\njava.util.logging.FileHandler.pattern&#061;\/var\/log\/jenkins\/jenkins.log<br \/>\njava.util.logging.FileHandler.limit&#061;10485760<br \/>\njava.util.logging.FileHandler.count&#061;5<br \/>\njava.util.logging.FileHandler.formatter&#061;java.util.logging.SimpleFormatter<br \/>\njava.util.logging.FileHandler.append&#061;true<\/p>\n<p>\u521b\u5efa\u65e5\u5fd7\u76ee\u5f55\u5e76\u8bbe\u7f6e\u6743\u9650&#xff1a;<\/p>\n<p>sudo mkdir -p \/var\/log\/jenkins<br \/>\nsudo chown -R root:root \/var\/log\/jenkins<br \/>\nsudo chmod 755 \/var\/log\/jenkins<\/p>\n<p>\u91cd\u542fJenkins\u670d\u52a1\u4f7f\u914d\u7f6e\u751f\u6548&#xff1a;<\/p>\n<p>sudo systemctl daemon-reload<br \/>\nsudo systemctl restart jenkins<\/p>\n<hr \/>\n<p>\u4ee5\u4e0b\u662f\u6839\u636e\u8981\u6c42\u8c03\u6574\u540e\u7684\u5185\u5bb9&#xff08;\u5df2\u5220\u9664\u201c\u4e03\u3001\u5b89\u5168\u52a0\u56fa\u4e0e\u4f18\u5316\u5efa\u8bae\u201d\u90e8\u5206&#xff09;&#xff1a;<\/p>\n<hr \/>\n<h4>6.4 \u4fee\u6539\u9ed8\u8ba4\u7aef\u53e3<\/h4>\n<p>\u751f\u4ea7\u73af\u5883\u5efa\u8bae\u4fee\u6539\u9ed8\u8ba4\u76848080\u7aef\u53e3&#xff0c;\u51cf\u5c11\u88ab\u626b\u63cf\u7684\u98ce\u9669\u3002\u4fee\u6539Systemd\u670d\u52a1\u6587\u4ef6&#xff1a;<\/p>\n<p>ExecStart&#061;\/usr\/bin\/java -jar \/opt\/jenkins\/jenkins.war &#8211;httpPort&#061;9090<\/p>\n<p>\u540c\u65f6\u66f4\u65b0\u9632\u706b\u5899\u89c4\u5219&#xff1a;<\/p>\n<p>sudo firewall-cmd &#8211;permanent &#8211;remove-port&#061;8080\/tcp<br \/>\nsudo firewall-cmd &#8211;permanent &#8211;add-port&#061;9090\/tcp<br \/>\nsudo firewall-cmd &#8211;reload<\/p>\n<h4>6.5 \u4f7f\u7528\u975eroot\u7528\u6237\u8fd0\u884c<\/h4>\n<p>\u4e3a\u5b89\u5168\u8003\u8651&#xff0c;\u5efa\u8bae\u521b\u5efa\u4e13\u7528\u7528\u6237\u8fd0\u884cJenkins&#xff1a;<\/p>\n<p># \u521b\u5efajenkins\u7528\u6237<br \/>\nsudo useradd -r -m -d \/opt\/jenkins -s \/bin\/bash jenkins<br \/>\n\u4fee\u6539\u76ee\u5f55\u6743\u9650<br \/>\nsudo chown -R jenkins:jenkins \/opt\/jenkins<br \/>\n\u4fee\u6539Systemd\u670d\u52a1\u6587\u4ef6\u4e2d\u7684\u7528\u6237\u914d\u7f6e<br \/>\nUser&#061;jenkins<br \/>\nGroup&#061;jenkins<\/p>\n<h4>6.6 \u914d\u7f6e\u53cd\u5411\u4ee3\u7406<\/h4>\n<p>\u4f7f\u7528Nginx\u6216Apache\u4f5c\u4e3a\u53cd\u5411\u4ee3\u7406&#xff0c;\u53ef\u4ee5\u63d0\u4f9bHTTPS\u652f\u6301\u548c\u66f4\u597d\u7684\u6027\u80fd&#xff1a;<\/p>\n<p># Nginx\u914d\u7f6e\u793a\u4f8b<br \/>\nserver {<br \/>\n    listen 80;<br \/>\n    server_name jenkins.yourdomain.com;<br \/>\nlocation \/ {<br \/>\n    proxy_pass http:\/\/localhost:8080;<br \/>\n    proxy_set_header Host $host;<br \/>\n    proxy_set_header X-Real-IP $remote_addr;<br \/>\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>\n    proxy_set_header X-Forwarded-Proto $scheme;<br \/>\n}<br \/>\n}<\/p>\n<hr \/>\n<h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<p>\u672c\u6587\u8be6\u7ec6\u8bb0\u5f55\u4e86\u5728Rocky Linux 9\u4e0a\u4ece\u96f6\u90e8\u7f72Jenkins CI\u73af\u5883\u7684\u5b8c\u6574\u8fc7\u7a0b&#xff0c;\u6db5\u76d6\u4e86\u4eceJDK\u5b89\u88c5\u3001WAR\u5305\u90e8\u7f72\u5230Systemd\u670d\u52a1\u7ba1\u7406\u3001\u9632\u706b\u5899\u914d\u7f6e\u548c\u65e5\u5fd7\u6301\u4e45\u5316\u7684\u5168\u6d41\u7a0b\u3002\u901a\u8fc7Systemd\u670d\u52a1\u7ba1\u7406&#xff0c;\u6211\u4eec\u5b9e\u73b0\u4e86Jenkins\u7684\u81ea\u52a8\u542f\u52a8\u3001\u5d29\u6e83\u6062\u590d\u548c\u7edf\u4e00\u7ba1\u7406&#xff1b;\u901a\u8fc7\u5408\u7406\u7684\u65e5\u5fd7\u914d\u7f6e&#xff0c;\u786e\u4fdd\u4e86\u751f\u4ea7\u73af\u5883\u7684\u7a33\u5b9a\u8fd0\u884c\u3002<\/p>\n<p>\u5173\u952e\u8981\u70b9\u603b\u7ed3&#xff1a;<\/p>\n<ul>\n<li>\u7cfb\u7edf\u9009\u62e9&#xff1a;Rocky Linux 9\u4f5c\u4e3a\u4f01\u4e1a\u7ea7Linux\u53d1\u884c\u7248&#xff0c;\u7a33\u5b9a\u4e14\u517c\u5bb9\u6027\u597d<\/li>\n<li>\u90e8\u7f72\u65b9\u5f0f&#xff1a;WAR\u5305\u90e8\u7f72\u63d0\u4f9b\u66f4\u597d\u7684\u7248\u672c\u63a7\u5236\u548c\u7075\u6d3b\u6027<\/li>\n<li>\u670d\u52a1\u7ba1\u7406&#xff1a;Systemd\u786e\u4fdd\u670d\u52a1\u7684\u9ad8\u53ef\u7528\u6027\u548c\u6613\u7ba1\u7406\u6027<\/li>\n<li>\u5b89\u5168\u914d\u7f6e&#xff1a;\u9632\u706b\u5899\u3001\u548c\u975eroot\u7528\u6237\u8fd0\u884c\u63d0\u5347\u5b89\u5168\u6027<\/li>\n<li>\u65e5\u5fd7\u7ba1\u7406&#xff1a;\u5408\u7406\u7684\u65e5\u5fd7\u914d\u7f6e\u9632\u6b62\u78c1\u76d8\u7a7a\u95f4\u88ab\u5360\u6ee1<\/li>\n<\/ul>\n<p>\u8fd9\u5957\u90e8\u7f72\u65b9\u6848\u5df2\u7ecf\u8fc7\u751f\u4ea7\u73af\u5883\u9a8c\u8bc1&#xff0c;\u53ef\u4ee5\u4f5c\u4e3a\u4f01\u4e1a\u7ea7Jenkins\u90e8\u7f72\u7684\u53c2\u8003\u6a21\u677f\u3002\u6839\u636e\u5b9e\u9645\u9700\u6c42&#xff0c;\u8fd8\u53ef\u4ee5\u8fdb\u4e00\u6b65\u914d\u7f6eHTTPS\u3001\u5907\u4efd\u7b56\u7565\u548c\u76d1\u63a7\u544a\u8b66&#xff0c;\u6784\u5efa\u66f4\u5b8c\u5584\u7684CI\/CD\u5e73\u53f0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5199\u5728\u524d\u9762\u6700\u8fd1\u5728\u5b66\u4e60Linux\u8fd0\u7ef4\u7684\u8fc7\u7a0b\u4e2d&#xff0c;\u9700\u8981\u642d\u5efa\u4e00\u5957Jenkins\u6301\u7eed\u96c6\u6210\u73af\u5883\u3002\u6574\u4e2a\u8fc7\u7a0b\u6d89\u53caJDK\u5b89\u88c5\u3001WAR\u5305\u90e8\u7f72\u3001Systemd\u670d\u52a1\u7ba1\u7406\u3001\u9632\u706b\u5899\u4e0eSELinux\u914d\u7f6e&#xff0c;\u4ee5\u53ca\u65e5\u5fd7\u6301\u4e45\u5316\u7b49\u591a\u4e2a\u73af\u8282\u3002\u8fd9\u7bc7\u6587\u7ae0\u4e0d\u662f\u7b80\u5355\u7684\u547d\u4ee4\u7f57\u5217&#xff0c;\u800c\u662f\u628a\u6211\u4ece\u8e29\u5751\u5230\u89e3\u51b3\u95ee\u9898\u7684\u5b8c\u6574\u601d\u8def\u8bb0\u5f55\u4e0b\u6765&#xff0c;\u5e0c\u671b\u5bf9\u540c\u6837\u5728\u5b9e\u8df5\u7684\u670b\u53cb\u6709\u6240\u5e2e\u52a9\u3002\u4e00\u3001\u73af\u5883\u51c6\u5907\u4e0e\u8f6f\u4ef6\u9009\u578b1.1 \u7cfb\u7edf\u73af\u5883\u9879\u76ee\u4fe1\u606f\u64cd\u4f5c\u7cfb\u7edfRocky Linux 9JDK\u7248\u672cOpenJDK 25Jenkin<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9098,597,392,58],"topic":[],"class_list":["post-82491","post","type-post","status-publish","format-standard","hentry","category-server","tag-it","tag-ci-cd","tag-jenkins","tag-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4ece\u96f6\u642d\u5efaJenkins \u73af\u5883\uff1aRocky Linux 9\u751f\u4ea7\u7ea7\u90e8\u7f72\u5168\u6307\u5357 - \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\/82491.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4ece\u96f6\u642d\u5efaJenkins \u73af\u5883\uff1aRocky Linux 9\u751f\u4ea7\u7ea7\u90e8\u7f72\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5199\u5728\u524d\u9762\u6700\u8fd1\u5728\u5b66\u4e60Linux\u8fd0\u7ef4\u7684\u8fc7\u7a0b\u4e2d&#xff0c;\u9700\u8981\u642d\u5efa\u4e00\u5957Jenkins\u6301\u7eed\u96c6\u6210\u73af\u5883\u3002\u6574\u4e2a\u8fc7\u7a0b\u6d89\u53caJDK\u5b89\u88c5\u3001WAR\u5305\u90e8\u7f72\u3001Systemd\u670d\u52a1\u7ba1\u7406\u3001\u9632\u706b\u5899\u4e0eSELinux\u914d\u7f6e&#xff0c;\u4ee5\u53ca\u65e5\u5fd7\u6301\u4e45\u5316\u7b49\u591a\u4e2a\u73af\u8282\u3002\u8fd9\u7bc7\u6587\u7ae0\u4e0d\u662f\u7b80\u5355\u7684\u547d\u4ee4\u7f57\u5217&#xff0c;\u800c\u662f\u628a\u6211\u4ece\u8e29\u5751\u5230\u89e3\u51b3\u95ee\u9898\u7684\u5b8c\u6574\u601d\u8def\u8bb0\u5f55\u4e0b\u6765&#xff0c;\u5e0c\u671b\u5bf9\u540c\u6837\u5728\u5b9e\u8df5\u7684\u670b\u53cb\u6709\u6240\u5e2e\u52a9\u3002\u4e00\u3001\u73af\u5883\u51c6\u5907\u4e0e\u8f6f\u4ef6\u9009\u578b1.1 \u7cfb\u7edf\u73af\u5883\u9879\u76ee\u4fe1\u606f\u64cd\u4f5c\u7cfb\u7edfRocky Linux 9JDK\u7248\u672cOpenJDK 25Jenkin\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/82491.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T01:33:42+00:00\" \/>\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\/82491.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/82491.html\",\"name\":\"\u4ece\u96f6\u642d\u5efaJenkins \u73af\u5883\uff1aRocky Linux 9\u751f\u4ea7\u7ea7\u90e8\u7f72\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T01:33:42+00:00\",\"dateModified\":\"2026-07-25T01:33:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/82491.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/82491.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82491.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4ece\u96f6\u642d\u5efaJenkins \u73af\u5883\uff1aRocky Linux 9\u751f\u4ea7\u7ea7\u90e8\u7f72\u5168\u6307\u5357\"}]},{\"@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":"\u4ece\u96f6\u642d\u5efaJenkins \u73af\u5883\uff1aRocky Linux 9\u751f\u4ea7\u7ea7\u90e8\u7f72\u5168\u6307\u5357 - \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\/82491.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4ece\u96f6\u642d\u5efaJenkins \u73af\u5883\uff1aRocky Linux 9\u751f\u4ea7\u7ea7\u90e8\u7f72\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5199\u5728\u524d\u9762\u6700\u8fd1\u5728\u5b66\u4e60Linux\u8fd0\u7ef4\u7684\u8fc7\u7a0b\u4e2d&#xff0c;\u9700\u8981\u642d\u5efa\u4e00\u5957Jenkins\u6301\u7eed\u96c6\u6210\u73af\u5883\u3002\u6574\u4e2a\u8fc7\u7a0b\u6d89\u53caJDK\u5b89\u88c5\u3001WAR\u5305\u90e8\u7f72\u3001Systemd\u670d\u52a1\u7ba1\u7406\u3001\u9632\u706b\u5899\u4e0eSELinux\u914d\u7f6e&#xff0c;\u4ee5\u53ca\u65e5\u5fd7\u6301\u4e45\u5316\u7b49\u591a\u4e2a\u73af\u8282\u3002\u8fd9\u7bc7\u6587\u7ae0\u4e0d\u662f\u7b80\u5355\u7684\u547d\u4ee4\u7f57\u5217&#xff0c;\u800c\u662f\u628a\u6211\u4ece\u8e29\u5751\u5230\u89e3\u51b3\u95ee\u9898\u7684\u5b8c\u6574\u601d\u8def\u8bb0\u5f55\u4e0b\u6765&#xff0c;\u5e0c\u671b\u5bf9\u540c\u6837\u5728\u5b9e\u8df5\u7684\u670b\u53cb\u6709\u6240\u5e2e\u52a9\u3002\u4e00\u3001\u73af\u5883\u51c6\u5907\u4e0e\u8f6f\u4ef6\u9009\u578b1.1 \u7cfb\u7edf\u73af\u5883\u9879\u76ee\u4fe1\u606f\u64cd\u4f5c\u7cfb\u7edfRocky Linux 9JDK\u7248\u672cOpenJDK 25Jenkin","og_url":"https:\/\/www.wsisp.com\/helps\/82491.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T01:33:42+00:00","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\/82491.html","url":"https:\/\/www.wsisp.com\/helps\/82491.html","name":"\u4ece\u96f6\u642d\u5efaJenkins \u73af\u5883\uff1aRocky Linux 9\u751f\u4ea7\u7ea7\u90e8\u7f72\u5168\u6307\u5357 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T01:33:42+00:00","dateModified":"2026-07-25T01:33:42+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/82491.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/82491.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/82491.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4ece\u96f6\u642d\u5efaJenkins \u73af\u5883\uff1aRocky Linux 9\u751f\u4ea7\u7ea7\u90e8\u7f72\u5168\u6307\u5357"}]},{"@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\/82491","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=82491"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82491\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=82491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=82491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=82491"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=82491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}