LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing Tomcat (https://www.linuxquestions.org/questions/linux-newbie-8/installing-tomcat-4175433079/)

Whatif 10-19-2012 11:25 AM

Installing Tomcat
 
Hello,

I'm trying to install Tomcat 7.0. After I downloaded the tar.gz under Core from the apache website, I used the tar zxf filename command but I don't seem to find either the README or INSTALL files. The following directories have been created:
temp, logs, webapps, conf, lib, bin, work
And there are 4 files:
RELEASE-NOTES, RUNNING.txt, LICENSE, NOTICE

How do I proceed?

Thanks in advance,
Mike

mmheera 10-19-2012 12:56 PM

Which OS you are using? Here is a how to for CentOS, RHEL, or Fedora:

Install Tomcat 7 on CentOS, RHEL, or Fedora

Thanks!

wigry 10-19-2012 01:42 PM

Regardless of OS you start the tomcat by issuing bin/startup.sh in the tomcat folder and it starts up. Later you issue bin/shutdown.sh to stop it. What you probably want is to enable it to startup automatically with your system? Put the startup command into /etc/rc.local file and you are done. Should work on most of the distros. Otherwise you have to create the init stript and what all tou put it officially into your startup sequence.


All times are GMT -5. The time now is 06:51 AM.