How to Start apache tomcat server on startup in Centos,Redhat
1. First install the apache server.
http://rapidsolutions4u.blogspot.in/2016/09/install-apache-tomcat-on-linux-1.html
2. Go to
#
3. Create and edit "tomcat" file.
# vim tomcat
#
# description: Tomcat Start Stop Restart
# processname: tomcat
#
JAVA_HOME=
PATH=$JAVA_HOME/bin
CATALINA_HOME=apache path
;;
;;
;;
4. Save the file.
5. Set permission to
#
6. Add on startup
# chkconfig --add tomcat
# chkconfig --level 35 tomcat on
7. Start tomcat service.
# /etc/
8.
great
ReplyDelete