In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1、vim /etc/init.d/tomcat
#!/ bin/bash # # tomcat startup script for the Tomcat server # # chkconfig: 345 80 20 # description: start the tomcat deamon # # Source function library . /etc/rc.d/init.d/functions prog=tomcat JAVA_HOME=/usr/local/jdk1.8.0_161export JAVA_HOME CATALANA_HOME=/opt/apache-tomcat-8.5.24/export CATALINA_HOME case "$1" in start) echo "Starting Tomcat... " $CATALANA_HOME/bin/startup.sh ;; stop) echo "Stopping Tomcat... " $CATALANA_HOME/bin/shutdown.sh ;; restart) echo "Stopping Tomcat... " $CATALANA_HOME/bin/shutdown.sh sleep 2 echo echo "Starting Tomcat... " $CATALANA_HOME/bin/startup.sh ;; *) echo "Usage: $prog {start|stop|restart}" ;; esac exit 0
2. Configuration
chmod +x /etc/init.d/tomcatchkconfig tomcat onservice tomcat start
summary
The above is the centos6 configuration tomcat8 boot script introduced by Xiaobian to you. I hope it will help you. If you have any questions, please leave me a message. Xiaobian will reply to you in time. Thank you very much for your support!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.