Title: 「软件安装手册」Tomcat配置快捷操作问题 · Issue #1 · hansonwang99/JavaCollection · GitHub
Open Graph Title: 「软件安装手册」Tomcat配置快捷操作问题 · Issue #1 · hansonwang99/JavaCollection
X Title: 「软件安装手册」Tomcat配置快捷操作问题 · Issue #1 · hansonwang99/JavaCollection
Description: 羊哥您好~作为小白首先十分十分感谢您出的软件安装文档,我在实践安装Tomcat中遇到了这个问题: 根据您P38页的教程,进⼊ /etc/rc.d/init.d ⽬录,编辑tomcat文件,保存后尝试使用快捷方式service tomcat start运行出现了如下bug提示: [leslie@localhost ~]$ service tomcat start Password: Neither the JAVA_HOME nor the JRE_HOME enviro...
Open Graph Description: 羊哥您好~作为小白首先十分十分感谢您出的软件安装文档,我在实践安装Tomcat中遇到了这个问题: 根据您P38页的教程,进⼊ /etc/rc.d/init.d ⽬录,编辑tomcat文件,保存后尝试使用快捷方式service tomcat start运行出现了如下bug提示: [leslie@localhost ~]$ service tomcat start Password: Neith...
X Description: 羊哥您好~作为小白首先十分十分感谢您出的软件安装文档,我在实践安装Tomcat中遇到了这个问题: 根据您P38页的教程,进⼊ /etc/rc.d/init.d ⽬录,编辑tomcat文件,保存后尝试使用快捷方式service tomcat start运行出现了如下bug提示: [leslie@localhost ~]$ service tomcat start Password: Neith...
Opengraph URL: https://github.com/hansonwang99/JavaCollection/issues/1
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"「软件安装手册」Tomcat配置快捷操作问题","articleBody":"羊哥您好~作为小白首先十分十分感谢您出的软件安装文档,我在实践安装Tomcat中遇到了这个问题:\r\n根据您P38页的教程,进⼊ /etc/rc.d/init.d ⽬录,编辑tomcat文件,保存后尝试使用快捷方式`service tomcat start`运行出现了如下bug提示:\r\n`[leslie@localhost ~]$ service tomcat start\r\nPassword: \r\nNeither the JAVA_HOME nor the JRE_HOME environment variable is defined\r\nAt least one of these environment variable is needed to run this program\r\n`\r\n经过相关查阅,发现是tomcat文件内缺少JAVA_HOME 与 JRE_HOME 环境变量的设置,完整tomcat文件配置代码如下:\r\n```#!/bin/bash\r\n#chkconfig:- 20 90\r\n#description:tomcat\r\n#processname:tomcat\r\nexport JAVA_HOME=\"=/usr/local/java/jdk1.8.0_161\"\r\nexport JRE_HOME=\"=/usr/local/java/jdk1.8.0_161/jre\"\r\nTOMCAT_HOME=/usr/local/tomcat/apache-tomcat-8.5.55\r\ncase $1 in\r\n\t start) su root $TOMCAT_HOME/bin/startup.sh;;\r\n\t stop) su root $TOMCAT_HOME/bin/shutdown.sh;;\r\n\t *) echo \"require start|stop\" ;;\r\nesac\r\n```\r\n之后便能通过快捷指令`service tomcat start`进行tomcat启动了,最后再次感谢您的无私分享!","author":{"url":"https://github.com/zjuLeslie","@type":"Person","name":"zjuLeslie"},"datePublished":"2020-08-17T06:36:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1/JavaCollection/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5eba947b-7081-cae5-8a56-98cc367ddd2d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C962:2567FD:120A0:174D4:696F2590 |
| html-safe-nonce | 008cc911c96874a2ce812bece4946c500d2be8715827e64a313f9319bc3aacdd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTYyOjI1NjdGRDoxMjBBMDoxNzRENDo2OTZGMjU5MCIsInZpc2l0b3JfaWQiOiI0NDY4OTA5MDgzODAwMzE1MjgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e9f9501d528bcfc3fa6a055eadabfbf8b5c3ad77149eda88ce62d10586866529 |
| hovercard-subject-tag | issue:679982832 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hansonwang99/JavaCollection/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/de5242307528f372a5ce66e1016cb4d0495abcd0f7fae8372436bcaac24bf844/hansonwang99/JavaCollection/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/de5242307528f372a5ce66e1016cb4d0495abcd0f7fae8372436bcaac24bf844/hansonwang99/JavaCollection/issues/1 |
| og:image:alt | 羊哥您好~作为小白首先十分十分感谢您出的软件安装文档,我在实践安装Tomcat中遇到了这个问题: 根据您P38页的教程,进⼊ /etc/rc.d/init.d ⽬录,编辑tomcat文件,保存后尝试使用快捷方式service tomcat start运行出现了如下bug提示: [leslie@localhost ~]$ service tomcat start Password: Neith... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zjuLeslie |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| go-import | github.com/hansonwang99/JavaCollection git https://github.com/hansonwang99/JavaCollection.git |
| octolytics-dimension-user_id | 15247067 |
| octolytics-dimension-user_login | hansonwang99 |
| octolytics-dimension-repository_id | 260475603 |
| octolytics-dimension-repository_nwo | hansonwang99/JavaCollection |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 260475603 |
| octolytics-dimension-repository_network_root_nwo | hansonwang99/JavaCollection |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width