Close
 Brekeke Website | Bekeke SIP Server | Brekeke PBX   
Notification:  
v2.4.18 Professional
Login
Loading

Auto Start Tomcat when reboot Linux PC

  1. Download and install Apache Tomcat and run following command from terminal
  2. cp $TOMCAT/bin/catalina.sh /etc/init.d/
  3. cd /etc/init.d/
  4. mv catalina.sh catalina
  5. vi catalina to add/change the lines shown below
  6. chkconfig --add catalina
  7. chkconfig --level 2345 catalina on
  8. reboot PC and check if tomcat start automatically
Note: This setup may not work on all linux.

Changes in file "catalina"