How do I start Tomcat service automatically in Linux?
Answer
Create Tomcat Auto startup script:
Answer
Create Tomcat Auto startup script:
- login with root user.
- create a file name with tomcat in /etc/init.d. …
- if you set the JAVA_HOME and CATALINA_HOME is bash_profile then you no need to set in /etc/init.d/tomcat script.
- tomcat script is: …
- chmod 775 tomcat.
- create symbolic link of the tomcat script in rc.d directory.