Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have you read the apache documentation on installing with tomcat, and vice versa? It is all outlined there. Once you've actually tried to do what they say, and you still have problems, repost.
Well, If you are going to write java stuff, I'd suggest you have the jdk.
Since you're using tomcat 4, you should get jdk1.4
Regardless of apache, for the tomcat setup, you'll need to set a JAVA_HOME and CATALINA_HOME environment variables.
You'll want to make sure you have the tomcat source, so you'll need to download the src package as well. This is required because the apache module will come from the tomcat source.
Within the source, there is a src/native/apache directory. Somewhere in there you'll need to get the module out of it and put it in with the rest of the apache modules. I'm at work now, so that's about all I can get off the top of my head.
If you do a bit of a search in linux.org for tomcat/apache I think you'll find an article that will run you through the details.
be warned, though, it sets up tomcat for service on another machine than localhost. (thus the subdomain) If you need to setup on localhost, just replace the (main) ServerName in httpd.conf with localhost, then add the appropriate IfModule statement at the bottom.
In an attempt to install TomCat in Linux, I did the following.
1. Download the RPM from the Apache website
2. Installed JSDK and JRE succesfully including setting the environment path variables for these.
2. rpm -ivh <rpm filename>
3. The installation took place successfully but I am not sure where I should place the JAVA_HOME and CATALINA_HOME settings inside. Is it tomcat.conf, .bash_profile ...?
4. I couldn't find startup.sh and shutdown.sh.
Installing in Windows is so much easier. I just needed to include the env variables inside the system information and enter startup.bat and the TomCat page appeared in Internet Explorer.
yes, u have to place CATALINA_HOME and JAVA_HOME as an export command in your ~/.bashrc. but it's all documented in the tomcat install files.
like that
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.