In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Create a user
[root@node3 bin] # useradd-r-M-s / sbin/nologin-u 8080 tomcat
two。 Install jsvc tools
[root@node3 bin] # tar xvf commons-daemon-native.tar.gz
[root@node3 bin] # cd commons-daemon-1.0.15-native-src/unix/
[root@node3 unix] #. / configure-with-java=/usr/local/jdk1.7.0_80
[root@node3 unix] # make
[root@node3 unix] # cp-a jsvc / usr/local/tomcat-7.0.64/bin/
[root@node3 unix] # vim / etc/rc.local
/ usr/local/tomcat-7.0.64/bin/jsvc-user tomcat- Djava.util.logging.config.file=/usr/local/tomcat-7.0.64/conf/logging.properties-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager-server-Xms1024m-Xmx2048m-XX:PermSize=256M-XX:MaxNewSize=512m-XX:MaxPermSize=256m-Djava.awt.headless=true-Djava.endorsed.dirs=/usr/local/tomcat-7.0.64/endorsed-classpath / usr/local/tomcat-7.0.64/ Bin/bootstrap.jar:/usr/local/tomcat-7.0.64/bin/tomcat-juli.jar-Dcatalina.base=/usr/local/tomcat-7.0.64-Dcatalina.home=/usr/local/tomcat-7.0.64-Djava.io.tmpdir=/usr/local/tomcat-7.0.64/temp org.apache.catalina.startup.Bootstrap start
[root@node3 unix] # ps-ef | grep-I tomcat
Tomcat 19857 19856 4 16:40? 00:00:47 jsvc.exec-user tomcat- Djava.util.logging.config.file=/usr/local/tomcat-7.0.64/conf/logging.properties-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager-server-Xms1024m-Xmx2048m-XX:PermSize=256M-XX:MaxNewSize=512m-XX:MaxPermSize=256m-Djava.awt.headless=true-Djava.endorsed.dirs=/usr/local/tomcat-7.0.64/endorsed-classpath / usr/local/tomcat-7.0.64/ Bin/bootstrap.jar:/usr/local/tomcat-7.0.64/bin/tomcat-juli.jar-Dcatalina.base=/usr/local/tomcat-7.0.64-Dcatalina.home=/usr/local/tomcat-7.0.64-Djava.io.tmpdir=/usr/local/tomcat-7.0.64/temp org.apache.catalina.startup.Bootstrap start
Root 20384 19920 0 16:58 pts/1 00:00:00 grep-I fron
[root@node3 unix] #
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.