{"id":15919,"date":"2023-09-15T20:07:56","date_gmt":"2023-09-15T12:07:56","guid":{"rendered":"https:\/\/www.linuxcool.com\/lxtfwzcdbb"},"modified":"2023-09-15T20:07:56","modified_gmt":"2023-09-15T12:07:56","slug":"lxtfwzcdbb","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/lxtfwzcdbb","title":{"rendered":"Linux\u7cfb\u7edf\u670d\u52a1\u6ce8\u518c\u7684\u7248\u672c"},"content":{"rendered":"<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_0.png' alt='\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_linux\u542f\u52a8tomcat\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5e8f\u8a00\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8bf8\u4f4d\u7537\u5b50\u4f34\uff0c\u5728linux\u670d\u52a1\u5668\u4e0a\u5e03\u7f72tomcat\u7684\u65f6\u4faf\uff0c\u662f\u4e0d\u662f\u9047\u89c1\u8fc7\u89e3\u538b\u7248tomcat\u672a\u80fd\u5f00\u673a\u81ea\u542f\u52a8\uff0c\u96be\u4ee5\u67e5\u770btomcat\u8fd0\u884c\u72b6\u6001\uff0c\u800c\u4e14\u4e0d\u80fd\u4f7f\u7528service<a style='color:#0000CC;font-size:16px' href='https:\/\/www.linuxcool.com\/' target='_blank' rel=\"noopener\">\u547d\u4ee4<\/a>\u6765\u542f\u505ctomcat\u5e94\u7528\uff1f\uff1f\uff1f<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u660e\u5929\u5efa\u54e5\u5e26\u7740\u4f60\u4eec\u5c06tomcat\u6ce8\u518c\u5230linux<a style='color:#0000CC;font-size:16px' href='https:\/\/www.linuxdown.com\/' target='_blank' rel=\"noopener\">\u7cfb\u7edf<\/a>\u670d\u52a1\u4e2d\uff0c\u4f7f\u7528\u7684linux\u7248\u672c\u4e3acentos6.9\uff0ctomcat7linux \u4e0b\u8f7d\u5de5\u5177\uff0cjdk7\u3002jdk\u914d\u7f6e\u5ffd\u89c6\uff0c\u5c0f\u767d\u53ef\u4ee5\u81ea\u884c\u627e\u5ea6\u5a18\u3002\u5c41\u8bdd\u5c11\u8bf4\uff0c\u5f00\u59cb\u5427\u3002\u3002\u3002\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_1.jpg' alt='\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_linux\u542f\u52a8tomcat\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1\u521b\u5efamytomcat.sh\u811a\u672c<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6211\u4eec\u5728<a style='color:#0000CC;font-size:16px' href='https:\/\/www.linuxprobe.com\/' target='_blank' rel=\"noopener\">Linux<\/a>\u4e2d\u542f\u52a8\u6216\u5173\u6389\u6216\u5219\u67e5\u770b\u7cfb\u7edf\u670d\u52a1\u7684\u72b6\u6001\u65f6\u3002\u5176\u5b9e\u9645\u5c31\u662f\u6267\u884c\u4e86\u8be5\u670d\u52a1\u5bf9\u5e94\u7684shell\u811a\u672c\u6587\u4ef6\uff0c\u4e00\u822c\u8fd9\u79cd\u811a\u672c\u6587\u4ef6\u90fd\u5728\/etc\/init.d\u76ee\u5f55\u4e2d\u3002\u6211\u4eec\u8981\u60f3\u5c06tomcat\u6ce8\u518c\u8fdb\u670d\u52a1\u5c31\u987b\u8981\u6211\u4eec\u7f16\u64b0\u5bf9\u5e94\u7684shell\u811a\u672c\u6587\u4ef6\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6211\u4eec\u53ef\u4ee5\u590d\u5236\u4e00\u4e2a\u5176\u4ed6\u7684shell\u811a\u672c\u8fdb\u884c\u6574\u4fee\u3002\u5e76\u4e14\u811a\u672c\u6587\u4ef6\u5fc5\u987b\u50a8\u5b58\u5728\/etc\/init.d\/\u76ee\u5f55\u4e2d<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1.1\u80cc\u90e8<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6587\u4ef6\u7684\u8179\u90e8\u5982\u4e0b\u6587\u4ef6\u540d\u6ca1\u6709\u540e\u7f00<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8bf7\u6ce8\u610f\u8fd9\u513f\u7684#chkconfig\uff1a23455963\u5e76\u4e0d\u662f\u6ce8\u91ca\u3002\u5176\u4e2d\u76842345\u8868\u793a\u5f00\u673a\u81ea\u542f\u53730-6\u7684\u8fd0\u884c\u7ea7\u522b\u5c11\u5c06\u7b2c2\u3001\u7b2c3\u3001\u7b2c4\u3001\u7b2c5\u7ea7\u522b\u8bbe\u4e3aon<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>59\u4ee3\u8868\u542f\u52a8\u6b21\u5e8f\uff0c\u53d6\u503c\u8303\u56f4\u57280-99\u6570\u503c\u8d8a\u9ad8\u542f\u52a8\u6b21\u5e8f\u8d8a\u9760\u540e\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>63\u4ee3\u8868\u5173\u6389\u6b21\u5e8f\uff0c\u53d6\u503c\u8303\u56f4\u572899-0\u6570\u503c\u8d8a\u5927\u8868\u793a\u5173\u6389\u8d8a\u665a\uff0c<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u542f\u52a8\u548c\u5173\u6389\u7684\u89c4\u5219\u4e3a\u5148\u542f\u52a8\u7684\u540e\u5173\u6389\uff0c\u540e\u542f\u52a8\u7684\u5148\u5173\u6389\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1.2\u5bfc\u5305<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u63a5\u51fa\u6765\u5c06\u987b\u8981\u7684\u5305\u5bfc\u51fa<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5176\u4e2dSource\u548c.\/\u7684\u4f5c\u7528\u4e00\u6837\uff0c\u5747\u4e3a\u4f7f\u524d\u9762\u8def\u5f84\u4e2d\u7684\u6587\u4ef6\u7acb\u523b\u751f\u6548\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u8fd9\u4e24\u53e5\u4ee3\u7801\u610f\u601d\u662f\u5bfc\u51fa\u51fd\u6570\u5e93\u4ee5\u53ca\u7f51\u8def\u6587\u4ef6<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1.3\u5b9a\u4e49tomcat\u53d8\u91cf<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u63a5\u51fa\u6765\u6211\u4eec\u987b\u8981\u5b9a\u4e49\u51e0\u4e2a\u53d8\u91cf\u6307\u793atomcat\u7684\u76ee\u5f55\u5206\u522b\u662f\u54ea\u4e9b<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>tomcat_home\u8868\u793atomcat\u7684\u76ee\u5f55\u5728\u90a3\u4e2a\u8def\u5f84<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>tomcatStart\u8868\u793a\u542f\u52a8tomcat\u7684\u811a\u672c\u6587\u4ef6\u7684\u8def\u5f84<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>tomcatStop\u8868\u793a\u5173\u6389tomcat\u7684\u811a\u672c\u6587\u4ef6\u7684\u8def\u5f84<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6211\u4eec\u5b9a\u4e49\u5b8c\u4ee5\u540e\u5728\u4e0b\u8fb9\u7684\u51fd\u6570\u4e2d\u5c31\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1.4\u7f16\u64b0\u51fd\u6570<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u63a5\u7740\u5c31\u987b\u8981\u7f16\u64b0\u542f\u52a8\uff0c\u505c\u6b62\uff0c\u91cd\u542f\uff0c\u4ee5\u53ca\u67e5\u770b\u72b6\u6001\u7684\u51fd\u6570<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_5.png' alt='\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4_linux\u542f\u52a8tomcat\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u542f\u52a8\u7684\u65f6\u4faf\u524d\u540e\u8f93\u51fa\u4e00\u53e5\u8bdd\u3002\u4e2d\u95f4\u8c03\u7528tomcat\u670d\u52a1\u5668\u542f\u52a8\u7684\u811a\u672c\u6587\u4ef6\uff0c<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_6.jpg' alt='\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_linux\u542f\u52a8tomcat\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u505c\u6b62\u7684\u65f6\u4faf\u524d\u540e\u8f93\u51fa\u4e00\u53e5\u8bdd\u3002\u4e2d\u95f4\u8c03\u7528tomcat\u670d\u52a1\u5668\u505c\u6b62\u7684\u811a\u672c\u6587\u4ef6\uff0c<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>ps-ef|grep-wtomcat|grep-vgrep|wc-l<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u91cc\u9762\u8fd9\u53e5\u4ee3\u7801\u53ef\u4ee5\u67e5\u8be2\u5230tomcat\u8fdb\u7a0b\u7684\u6570\u76ee\u3002\u5047\u5982\u6570\u76ee\u5c0f\u4e8e0\u8bf4\u660etomcat\u65e9\u5df2\u8fd0\u884c\uff0c\u6b64\u65f6\u8f93\u51fatomcat\u6b63\u5728\u8fd0\u884c\uff0c\u5018\u82e5\u4e0d\u5c0f\u4e8e0\u8bf4\u660e\u6ca1\u6709tomcat\u8fd0\u884c\uff0c\u6b64\u65f6\u8f93\u51fatomcat\u662f\u505c\u6b62\u7684\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>1.5\u5224\u5b9a\u4f20\u5165\u53c2\u6570<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6700\u540e\uff0c\u4f7f\u7528\u4e00\u4e2acase\u6765\u5224\u5b9a\u4f20\u6765\u7684\u53c2\u6570\u3002\u5982\u56fe<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_7.png' alt='linux\u542f\u52a8tomcat\u547d\u4ee4_\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>$1\u4e3a\u4f20\u5165\u7684\u7b2c\u4e00\u4e2a\u53c2\u6570\uff0c<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5047\u5982\u4f20\u5165\u7684\u662fstart\u8fd9\u4e48\u5c31\u8c03\u7528start\u7684\u51fd\u6570\uff0c<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5047\u5982\u4f20\u5165\u7684\u662fstop\u8fd9\u4e48\u5c31\u8c03\u7528stop\u7684\u51fd\u6570\uff0c<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5047\u5982\u4f20\u5165\u7684\u662fstatus\u8fd9\u4e48\u5c31\u8c03\u7528status\u7684\u51fd\u6570\uff0c<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_8.png' alt='tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4_\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_linux\u542f\u52a8tomcat\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5047\u5982\u4f20\u5165\u7684\u662frestart\u8fd9\u4e48\u5c31\u5148\u8c03\u7528stop\u7684\u51fd\u6570linux\u8ba4\u8bc1\uff0c\u518d\u8c03\u7528start\u51fd\u6570<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5018\u82e5\u8f93\u5165\u7684\u662f\u5176\u4ed6\u503c\u5c31\u76f4\u63a5\u9000\u51fa\u5e76\u8fd4\u56de\u9519\u8bef\u4fe1\u606f<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5230\u8fd9\u513f\u3002\u6211\u4eec\u7684shell\u811a\u672c\u65e9\u5df2\u5199\u5b8c<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_9.jpg' alt='\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4_linux\u542f\u52a8tomcat\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>2\u6d4b\u8bd5\u811a\u672c\u662f\u5426\u6b63\u5e38<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6211\u4eec\u5728\/etc\/init.d\/\u76ee\u5f55\u4e2d\u627e\u5230\u6211\u4eec\u81ea\u5df1\u5199\u7684mytomcat\u7684\u811a\u672c\u6587\u4ef6\uff0c\u4f7f\u7528.\/\u547d\u4ee4\u6267\u884c\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_10.png' alt='\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_linux\u542f\u52a8tomcat\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5982\u56fe\uff0c\u547d\u4ee4\u6267\u884c\u540e\u5728tomcat\u542f\u52a8\u524d\u540e\u5206\u522b\u8f93\u51fa\u4e86\u6211\u4eec\u5728\u51fd\u6570\u4e2d\u5199\u7684\u8f93\u51fa\u53e5\u5b50\u3002\u6d4b\u8bd5start\u6210\u529f<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6211\u4eec\u67e5\u770b\u4e00\u4e0b\u72b6\u6001\u3002.\/mytomcatstatus\u7531\u4e8etomcat\u65e9\u5df2\u542f\u52a8\uff0c\u8fdb\u7a0b\u6570\u5c0f\u4e8e0\uff0c\u6240\u4ee5\u8f93\u51fd\u6570\u4e2d\u7684\u8f93\u51fa\u53e5\u5b50tomcatisrunning<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_12.png' alt='\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4_linux\u542f\u52a8tomcat\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6267\u884cstop\u547d\u4ee4\u540e\u540c\u6837\u8f93\u51fa\u4e86\u51fd\u6570\u4e2d\u7684\u8f93\u51fa\u53e5\u5b50\uff0c\u5e76\u5728\u4e24\u4e2a\u53e5\u5b50\u4e2d\u5173\u6389\u4e86tomcat<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_13.png' alt='linux\u542f\u52a8tomcat\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4_\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u6d4b\u8bd5\u91cd\u542f\u547d\u4ee4<strong>linux\u542f\u52a8tomcat\u547d\u4ee4<\/strong>\uff0c\u5148\u6267\u884c\u4e86stop\u7684\u65b9\u5f0f\uff0c\u63a5\u7740\u6267\u884c\u4e86\u542f\u52a8\u7684\u65b9\u5f0f\u3002\u811a\u672c\u6d4b\u8bd5\u6ca1\u6709\u95ee\u9898\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>3\u5c06\u811a\u672c\u6ce8\u518c\u5728\u670d\u52a1\u4e2d<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>Chkconfig--addmytomcat\u547d\u4ee4\u5c31\u662f\u5c06\u540d\u5b50\u4e3amytomcat\u7684shell\u811a\u672c\u6ce8\u518c\u8fdb\u670d\u52a1\u4e2d\u3002\u6211\u4eec\u53ef\u4ee5\u518d\u6267\u884cchkconfig-list\u547d\u4ee4\u67e5\u770b\u670d\u52a1\u5217\u8868\u4e2d\u662f\u5426\u65e9\u5df2\u6210\u529f\u5199\u5165<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_15.png' alt='linux\u542f\u52a8tomcat\u547d\u4ee4_\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4' \/><\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u53ef\u4ee5\u770b\u89c1\u670d\u52a1\u5217\u8868\u4e2d\u65e9\u5df2\u6709\u4e86mytomcat\u3002\u800c\u4e14\u542f\u52a8\u7ea7\u522b\u76842345\u4e5f\u662f\u6253\u5f00\u72b6\u6001<strong>linux\u542f\u52a8tomcat\u547d\u4ee4<\/strong>\uff0c\u610f\u5473\u7740\u53ef\u4ee5\u5f00\u673a\u624b\u52a8\u542f\u52a8\u3002\u800c\u4e14\u53ef\u4ee5\u4f7f\u7528servicemytomcatstatus\/start\/stop\/restart\u7b49\u547d\u4ee4\u3002<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'>\u5b66\u8f6f\u4ef6\u8bf7\u8ba4\u51c6\uff1a<\/p>\n<p style='margin-bottom:16px;color:#555555;font-size:16px;line-height:200%;text-indent:2em'><img style='max-height:350px;max-width:80%;margin: 10px auto' src='https:\/\/www.linuxcool.com\/wp-content\/uploads\/2023\/09\/1694779673881_16.png' alt='tomcat\u7684\u542f\u52a8\u5173\u95ed\u547d\u4ee4_\u542f\u52a8tomcat\u670d\u52a1\u547d\u4ee4_linux\u542f\u52a8tomcat\u547d\u4ee4' \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5176\u5b9e\u9645\u5c31\u662f\u6267\u884c\u4e86\u8be5\u670d\u52a1\u5bf9\u5e94\u7684shell\u811a\u672c\u6587\u4ef6\uff0c\u901a\u5e38\u8fd9\u4e9b\u811a\u672c\u6587\u4ef6\u90fd\u5728\/etc\/init.tomcatStart\u8868\u793a\u542f\u52a8tomcat\u7684\u811a\u672c\u6587\u4ef6\u7684\u8def\u5f84tomcatStop\u8868\u793a\u5173\u95edtomcat\u7684\u811a\u672c\u6587\u4ef6\u7684\u8def\u5f84\u4e2d\u95f4\u8c03\u7528tomcat\u670d\u52a1\u5668\u542f\u52a8\u7684\u811a\u672c\u6587\u4ef6\uff0c\u4e2d\u95f4\u8c03\u7528tomcat\u670d\u52a1\u5668\u505c\u6b62\u7684\u811a\u672c\u6587\u4ef6\uff0c\u6267\u884cstop\u547d\u4ee4\u540e\u540c\u6837\u8f93\u51fa\u4e86\u51fd\u6570\u4e2d\u7684\u8f93\u51fa\u8bed\u53e5\uff0c\u5e76\u5728\u4e24\u4e2a\u8bed\u53e5\u4e2d\u5173\u95ed\u4e86tomcat<\/p>\n","protected":false},"author":1,"featured_media":15921,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[878,879,118,665,597],"class_list":["post-15919","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-cr-2","tag-hs","tag-jb","tag-yj-3","tag-dy-2"],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/15919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=15919"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/15919\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media\/15921"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=15919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=15919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=15919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}