{"id":50854,"date":"2025-08-10T12:59:13","date_gmt":"2025-08-10T04:59:13","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/50854.html"},"modified":"2025-08-10T12:59:13","modified_gmt":"2025-08-10T04:59:13","slug":"%e4%ba%94%e3%80%81tymcat%e5%9c%a8linux%e4%b8%ad%e7%9a%84%e5%ae%89%e8%a3%85%e5%92%8c%e5%bc%80%e6%9c%ba%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/50854.html","title":{"rendered":"\u4e94\u3001Tymcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\u90e8\u7f72"},"content":{"rendered":"<h2>Tomcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\u90e8\u7f72<\/h2>\n<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>Tomcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\u90e8\u7f72<\/li>\n<li>\n<ul>\n<li>1.\u68c0\u67e5\u7cfb\u7edf\u662f\u5426\u5b89\u88c5\u4e86<\/li>\n<li>2.\u82e5\u672a\u5b89\u88c5&#xff0c;\u5efa\u8bae\u5b89\u88c5OpenJDK 17\u621611<\/li>\n<li>\n<ul>\n<li>CentOS\/RHEL \u7cfb\u7edf<\/li>\n<li>\u7528 yum \u5b89\u88c5 Java 11&#xff08;\u6700\u7b80\u5355&#xff09;<\/li>\n<li>Ubuntu\/Debian\u7cfb\u7edf<\/li>\n<\/ul>\n<\/li>\n<li>3.\u4e0b\u8f7dTomcat&#xff08;\u4ee5\u7248\u672c10\u4e3a\u4f8b&#xff09;<\/li>\n<li>\n<ul>\n<li>\u7b2c\u4e00\u6b65&#xff1a;<\/li>\n<li>\u82e5\u51fa\u73b0404 Not Found<\/li>\n<li>\n<ul>\n<li>\u65b9\u6cd5\u4e00&#xff1a;\u4e0b\u8f7d\u201c\u5f52\u6863\u7ad9\u201d\u4e0a\u7684\u6307\u5b9a\u7248\u672c&#xff08;\u6c38\u8fdc\u53ef\u7528&#xff09;<\/li>\n<li>\u65b9\u5f0f \u4e8c&#xff1a;\u4e0b\u8f7d\u5f53\u524d\u201c\u6700\u65b0\u53d1\u5e03\u201d&#xff08;\u955c\u50cf\u7ad9&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u7b2c\u4e8c\u6b65<\/li>\n<li>\n<ul>\n<li>1.\u786e\u8ba4\u89e3\u538b\u51fa\u6765\u7684\u76ee\u5f55\u540d<\/li>\n<li>2.\u89e3\u538b\u5e76\u91cd\u547d\u540d<\/li>\n<li>3.\u542f\u52a8 Tomcat<\/li>\n<li>4.\u8bbf\u95ee\u4e0e\u6392\u67e5<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>4.\u672c\u5730\u786e\u8ba4 Tomcat \u8fdb\u7a0b<\/li>\n<li>\u6210\u529f\u793a\u4f8b<\/li>\n<li>5.Tomcat \u76ee\u5f55\u7ed3\u6784\u56de\u987e<\/li>\n<li>6. \u786e\u8ba4 Tomcat \u662f\u5426\u8fd0\u884c<\/li>\n<li>7. \u786e\u8ba4\u76d1\u542c\u7684\u662f \u4f60\u7684\u5185\u7f51ip<\/li>\n<li>8. \u5173\u95ed\u865a\u62df\u673a\u9632\u706b\u5899&#xff08;\u5148\u6392\u67e5&#xff09;<\/li>\n<li>\u90e8\u7f72\u6210\u529f\u793a\u4f8b<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>1.\u68c0\u67e5\u7cfb\u7edf\u662f\u5426\u5b89\u88c5\u4e86<\/h3>\n<p>java -version<\/p>\n<h3>2.\u82e5\u672a\u5b89\u88c5&#xff0c;\u5efa\u8bae\u5b89\u88c5OpenJDK 17\u621611<\/h3>\n<h4>CentOS\/RHEL \u7cfb\u7edf<\/h4>\n<p># \u66f4\u65b0\u8f6f\u4ef6\u5305<\/p>\n<p>yum update -y<\/p>\n<p># \u5b89\u88c5 OpenJDK 17<\/p>\n<p>yum install java-17-openjdk-devel -y<\/p>\n<p># \u68c0\u67e5\u662f\u5426\u5b89\u88c5\u6210\u529f<\/p>\n<p>java -version<\/p>\n<p>\u6ce8\u7528 yum install java-17-openjdk-devel \u88c5 17 \u5931\u8d25 \u2192 \u73af\u5883\u662f CentOS 7&#xff0c;\u5e76\u4e14\u7528\u7684\u662f\u963f\u91cc\u4e91 base\/extras\/updates \u6e90\u3002\u8fd9\u4e2a\u6e90 \u6ca1\u6709 java-17-openjdk-devel \u8fd9\u4e2a\u5305&#xff08;CentOS 7 \u5b98\u65b9\u4ed3\u5e93\u6700\u9ad8\u57fa\u672c\u5230 Java 11&#xff09;\u3002\u6240\u4ee5 yum \u624d\u63d0\u793a\u201c\u6ca1\u6709\u53ef\u7528\u8f6f\u4ef6\u5305\u201d\u3002<\/p>\n<h4>\u7528 yum \u5b89\u88c5 Java 11&#xff08;\u6700\u7b80\u5355&#xff09;<\/h4>\n<p>Tomcat \u8fd0\u884c\u7528 Java 11 \u4e5f\u6ca1\u95ee\u9898\u3002&#xff08;\u53ef\u89e3\u51b3\u4e0a\u8ff0\u95ee\u9898&#xff09;<\/p>\n<p>yum install java-11-openjdk-devel -y<br \/>\njava -version<\/p>\n<h4>Ubuntu\/Debian\u7cfb\u7edf<\/h4>\n<p>apt update<br \/>\napt install openjdk-17-jdk -y<br \/>\njava -version<\/p>\n<h3>3.\u4e0b\u8f7dTomcat&#xff08;\u4ee5\u7248\u672c10\u4e3a\u4f8b&#xff09;<\/h3>\n<h4>\u7b2c\u4e00\u6b65&#xff1a;<\/h4>\n<p>cd \/opt<br \/>\nwget https:\/\/downloads.apache.org\/tomcat\/tomcat-10\/v10.1.26\/bin\/apache-tomcat-10.1.26.tar.gz<\/p>\n<h4>\u82e5\u51fa\u73b0404 Not Found<\/h4>\n<h5>\u65b9\u6cd5\u4e00&#xff1a;\u4e0b\u8f7d\u201c\u5f52\u6863\u7ad9\u201d\u4e0a\u7684\u6307\u5b9a\u7248\u672c&#xff08;\u6c38\u8fdc\u53ef\u7528&#xff09;<\/h5>\n<p>cd \/opt<br \/>\n# \u6309\u9700\u8981\u7684\u7248\u672c\u6539 VERSION&#xff1b;\u4e0b\u9762\u4ee5 10.1.26 \u4e3a\u4f8b<br \/>\nVERSION&#061;10.1.26<br \/>\nwget https:\/\/archive.apache.org\/dist\/tomcat\/tomcat-10\/v${VERSION}\/bin\/apache-tomcat-${VERSION}.tar.gz<br \/>\ntar -zxvf apache-tomcat-${VERSION}.tar.gz<br \/>\nmv apache-tomcat-${VERSION} tomcat10<\/p>\n<h5>\u65b9\u5f0f \u4e8c&#xff1a;\u4e0b\u8f7d\u5f53\u524d\u201c\u6700\u65b0\u53d1\u5e03\u201d&#xff08;\u955c\u50cf\u7ad9&#xff09;<\/h5>\n<p>\u5982\u679c\u4f60\u60f3\u4e0b\u5f53\u524d\u6700\u65b0\u7684 10.1.x&#xff0c;\u5148\u628a VERSION \u6539\u6210\u6700\u65b0\u53f7&#xff08;\u5230\u5b98\u7f51\u770b\u4e00\u773c&#xff09;&#xff0c;\u7528 dlcdn.apache.org&#xff1a;<\/p>\n<p>cd \/opt<br \/>\nVERSION&#061;10.1.**\u6700\u65b0\u53f7**<br \/>\nwget https:\/\/dlcdn.apache.org\/tomcat\/tomcat-10\/v${VERSION}\/bin\/apache-tomcat-${VERSION}.tar.gz<br \/>\ntar -zxvf apache-tomcat-${VERSION}.tar.gz<br \/>\nmv apache-tomcat-${VERSION} tomcat10<\/p>\n<h4>\u7b2c\u4e8c\u6b65<\/h4>\n<h5>1.\u786e\u8ba4\u89e3\u538b\u51fa\u6765\u7684\u76ee\u5f55\u540d<\/h5>\n<p>cd \/opt<br \/>\nls -d apache-tomcat-*<br \/>\n# \u4e00\u822c\u4f1a\u770b\u5230&#xff1a;apache-tomcat-10.1.26<\/p>\n<h5>2.\u89e3\u538b\u5e76\u91cd\u547d\u540d<\/h5>\n<p>tar -zxvf apache-tomcat-10.1.26.tar.gz<br \/>\nmv apache-tomcat-10.1.26 tomcat10<\/p>\n<h5>3.\u542f\u52a8 Tomcat<\/h5>\n<p>cd \/opt\/tomcat10\/bin<br \/>\n.\/startup.sh<\/p>\n<p>\u82e5\u542f\u52a8\u6210\u529f&#xff0c;\u4f1a\u63d0\u793a&#xff1a;<\/p>\n<p>Tomcat started.<\/p>\n<h5>4.\u8bbf\u95ee\u4e0e\u6392\u67e5<\/h5>\n<ul>\n<li>\u6d4f\u89c8\u5668&#xff1a;http:\/\/&lt;\u670d\u52a1\u5668IP&gt;:8080<\/li>\n<li>\u770b\u65e5\u5fd7&#xff1a;tail -f \/opt\/tomcat10\/logs\/catalina.out<\/li>\n<li>\u770b\u7aef\u53e3&#xff1a;ss -lntp | grep 8080<\/li>\n<\/ul>\n<h3>4.\u672c\u5730\u786e\u8ba4 Tomcat \u8fdb\u7a0b<\/h3>\n<p>ps -ef | grep tomcat<\/p>\n<h3>\u6210\u529f\u793a\u4f8b<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810045911-6898271fdb8ca.png\" alt=\"\" \/><\/p>\n<h3>5.Tomcat \u76ee\u5f55\u7ed3\u6784\u56de\u987e<\/h3>\n<p>\u9ed8\u8ba4\u5b89\u88c5\u76ee\u5f55&#xff08;\u6211\u5b89\u88c5\u7684\u662f \/opt\/tomcat10&#xff09;&#xff1a;<\/p>\n<p>bin\/         # \u542f\u52a8\u3001\u505c\u6b62\u811a\u672c&#xff08;startup.sh\u3001shutdown.sh&#xff09;<br \/>\nconf\/        # \u914d\u7f6e\u6587\u4ef6&#xff08;server.xml\u3001tomcat-users.xml&#xff09;<br \/>\nlib\/         # Tomcat \u8fd0\u884c\u4f9d\u8d56 jar \u5305<br \/>\nlogs\/        # \u65e5\u5fd7\u6587\u4ef6<br \/>\nwebapps\/     # Web \u5e94\u7528\u90e8\u7f72\u76ee\u5f55&#xff08;\u653e\u9879\u76ee\u7684\u5730\u65b9&#xff09;<br \/>\nwork\/        # \u7f16\u8bd1 JSP \u7b49\u751f\u6210\u7684\u4e2d\u95f4\u6587\u4ef6<br \/>\ntemp\/        # \u4e34\u65f6\u6587\u4ef6<\/p>\n<p>\u90e8\u7f72\u9879\u76ee\u4e3b\u8981\u7528\u5230 webapps \u76ee\u5f55\u3002<\/p>\n<h3>6. \u786e\u8ba4 Tomcat \u662f\u5426\u8fd0\u884c<\/h3>\n<p>ss -lntp | grep 8080<\/p>\n<p>\u5982\u679c\u6ca1\u6709\u7ed3\u679c&#xff0c;\u5148\u542f\u52a8&#xff1a;<\/p>\n<p>\/opt\/tomcat10\/bin\/startup.sh<\/p>\n<hr \/>\n<h3>7. \u786e\u8ba4\u76d1\u542c\u7684\u662f \u4f60\u7684\u5185\u7f51ip<\/h3>\n<p>(\u5185\u7f51ip<\/p>\n<p>hostname -I<\/p>\n<p>)<\/p>\n<p>\u5982\u679c ss -lntp \u8f93\u51fa\u663e\u793a\u7684\u662f&#xff1a;<\/p>\n<p>LISTEN  &#8230;  [::]:8080<\/p>\n<p>\u6700\u597d\u6539\u6210 IPv4&#xff1a;<\/p>\n<li>\n<p>\u7f16\u8f91 \/opt\/tomcat10\/conf\/server.xml&#xff1a;<\/p>\n<p> &lt;Connector port&#061;&#034;8080&#034; protocol&#061;&#034;HTTP\/1.1&#034;<br \/>\n           address&#061;&#034;0.0.0.0&#034;<br \/>\n           connectionTimeout&#061;&#034;20000&#034;<br \/>\n           redirectPort&#061;&#034;8443&#034; \/&gt;\n <\/li>\n<li>\n<p>\u91cd\u542f Tomcat&#xff1a;<\/p>\n<p> \/opt\/tomcat10\/bin\/shutdown.sh<br \/>\n\/opt\/tomcat10\/bin\/startup.sh\n <\/li>\n<hr \/>\n<h3>8. \u5173\u95ed\u865a\u62df\u673a\u9632\u706b\u5899&#xff08;\u5148\u6392\u67e5&#xff09;<\/h3>\n<p>systemctl stop firewalld<br \/>\nsystemctl disable firewalld<\/p>\n<p>\u7136\u540e\u7528\u6d4f\u89c8\u5668\u518d\u8bd5&#xff1a;<\/p>\n<p>http:\/\/\u4f60\u7684\u5185\u7f51IP:8080\/test\/<\/p>\n<h3>\u90e8\u7f72\u6210\u529f\u793a\u4f8b<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810045912-689827204aea4.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb27\u6b21\u3002\u8fd9\u4e2a\u5305\uff08CentOS 7 \u5b98\u65b9\u4ed3\u5e93\u6700\u9ad8\u57fa\u672c\u5230 Java 11\uff09\u3002\u6240\u4ee5 yum \u624d\u63d0\u793a\u201c\u6ca1\u6709\u53ef\u7528\u8f6f\u4ef6\u5305\u201d\u3002Tomcat \u8fd0\u884c\u7528 Java 11 \u4e5f\u6ca1\u95ee\u9898\u3002\uff0c\u5148\u628a VERSION \u6539\u6210\u6700\u65b0\u53f7\uff08\u5230\u5b98\u7f51\u770b\u4e00\u773c\uff09\uff0c\u7528\u3002\u90e8\u7f72\u9879\u76ee\u4e3b\u8981\u7528\u5230 webapps\u3002\u9ed8\u8ba4\u5b89\u88c5\u76ee\u5f55\uff08\u6211\u5b89\u88c5\u7684\u662f\u3002<\/p>\n","protected":false},"author":2,"featured_media":50852,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,43,44],"topic":[],"class_list":["post-50854","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-linux","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>\u4e94\u3001Tymcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\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\/50854.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e94\u3001Tymcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb27\u6b21\u3002\u8fd9\u4e2a\u5305\uff08CentOS 7 \u5b98\u65b9\u4ed3\u5e93\u6700\u9ad8\u57fa\u672c\u5230 Java 11\uff09\u3002\u6240\u4ee5 yum \u624d\u63d0\u793a\u201c\u6ca1\u6709\u53ef\u7528\u8f6f\u4ef6\u5305\u201d\u3002Tomcat \u8fd0\u884c\u7528 Java 11 \u4e5f\u6ca1\u95ee\u9898\u3002\uff0c\u5148\u628a VERSION \u6539\u6210\u6700\u65b0\u53f7\uff08\u5230\u5b98\u7f51\u770b\u4e00\u773c\uff09\uff0c\u7528\u3002\u90e8\u7f72\u9879\u76ee\u4e3b\u8981\u7528\u5230 webapps\u3002\u9ed8\u8ba4\u5b89\u88c5\u76ee\u5f55\uff08\u6211\u5b89\u88c5\u7684\u662f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/50854.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-10T04:59:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810045911-6898271fdb8ca.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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50854.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/50854.html\",\"name\":\"\u4e94\u3001Tymcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-10T04:59:13+00:00\",\"dateModified\":\"2025-08-10T04:59:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/50854.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/50854.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/50854.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e94\u3001Tymcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\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":"\u4e94\u3001Tymcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\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\/50854.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e94\u3001Tymcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb27\u6b21\u3002\u8fd9\u4e2a\u5305\uff08CentOS 7 \u5b98\u65b9\u4ed3\u5e93\u6700\u9ad8\u57fa\u672c\u5230 Java 11\uff09\u3002\u6240\u4ee5 yum \u624d\u63d0\u793a\u201c\u6ca1\u6709\u53ef\u7528\u8f6f\u4ef6\u5305\u201d\u3002Tomcat \u8fd0\u884c\u7528 Java 11 \u4e5f\u6ca1\u95ee\u9898\u3002\uff0c\u5148\u628a VERSION \u6539\u6210\u6700\u65b0\u53f7\uff08\u5230\u5b98\u7f51\u770b\u4e00\u773c\uff09\uff0c\u7528\u3002\u90e8\u7f72\u9879\u76ee\u4e3b\u8981\u7528\u5230 webapps\u3002\u9ed8\u8ba4\u5b89\u88c5\u76ee\u5f55\uff08\u6211\u5b89\u88c5\u7684\u662f\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/50854.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-10T04:59:13+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250810045911-6898271fdb8ca.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/50854.html","url":"https:\/\/www.wsisp.com\/helps\/50854.html","name":"\u4e94\u3001Tymcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\u90e8\u7f72 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-10T04:59:13+00:00","dateModified":"2025-08-10T04:59:13+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/50854.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/50854.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/50854.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e94\u3001Tymcat\u5728Linux\u4e2d\u7684\u5b89\u88c5\u548c\u5f00\u673a\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\/50854","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=50854"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/50854\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/50852"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=50854"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=50854"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=50854"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=50854"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}