LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache, Tomcat and JDK downloads (http://www.linuxquestions.org/questions/linux-software-2/apache-tomcat-and-jdk-downloads-4175432100/)

Whatif 10-13-2012 09:30 PM

Apache, Tomcat and JDK downloads
 
Hello,

I'm trying to install Apache, Tomcat and JDK but don't know what to download. I browsed the Apache website and the latest version is httpd 2.4.3 but the downloadable options don't include one for linux, only Unix and NetWare.

http://httpd.apache.org/download.cgi#apache24

Which should I download?

Tomcat, list options for Windows 32 & 64. It lists a tar.gz but doesn't specifically list it as a Linux download. Is this the one I should download?

JDK, has to options for Linux, Linux x86 and Linux x64. I have a Pentium III 450MHz. Which one should I download?

Thank you,
Mike

Thor_2.0 10-14-2012 03:18 AM

hey Mike....

Hmm...let's see
Quote:

JDK, has to options for Linux, Linux x86 and Linux x64. I have a Pentium III 450MHz. Which one should I download?
most likely (unless I'm wrong) that system will not be 64 bit anyway, so go with the 32 bit.

Quote:

Which should I download?
I'd stick with what the repo offers...that should be tuned in with your platform and should install and run glitch free...
Quote:

I'm trying to install Apache, Tomcat and JDK but don't know what to download
If you install something, your installer (dont know what distro you've got there) should install the required dependencies as well, dont worry about that

Good luck

Thor

ZackFair 10-16-2012 01:42 AM

Tomcat
7: http://apache.softded.ru/tomcat/tomc...-7.0.32.tar.gz
6: http://apache-mirror.rbc.ru/pub/apac...-6.0.35.tar.gz
I don't think you'll need earlier versions. But if you need - go to http://tomcat.apache.org, choose version and download "tar.gz".


Java
7:http://www.java.com/en/download/linu....jsp?locale=en
6:http://www.java.com/en/download/manual_v6.jsp
If you're running CentOS/RHEL box - just stick with Linux x64 RPM. Otherwise use Linux x64.
Download binary and run it.

mericet 10-16-2012 05:27 AM

Tomcat
 
Don't know much about Apache httpd, but Tomcat doesn't come in different versions for Windows or Linux because it's all written in Java which is cross-platform. You'll need a Linux JDK (or at least a JRE) before you can run Tomcat, but you mentioned that already.
Download the latest Tomcat, unzip the archive, and in the bin/ directory, you'll find some Windows stuff like *.bat files and an exe file. You can delete those if you want. You'll also find some linux shell scripts (*.sh). Change permissions to make them executable, then run startup.sh
Then browse to http://localhost:8080 and you should see the Tomcat welcome page.

Whatif 10-16-2012 08:48 AM

I hope I understood you correctly. Does that mean I don't need to install Apache to have Tomcat working?

ZackFair 10-16-2012 08:54 AM

Indeed. If you need to run java web applications - use only tomcat. Install java from binary then untar tomcat and point it to correct $JAVA_HOME in startup.sh/catalina.sh.

Whatif 10-16-2012 05:04 PM

I downloaded the JDK rpm. But need help with tomcat. The tomcat download pages has serveral options: Core, Full documentation, Deployer, Extras, and Embedded. Is all I'm supposed to do is download the tar.gz under Core, untar it, read the readme file and fellow the instructions. What about the Deployer, Extras, and Embedded? What are they used for?

ZackFair 10-17-2012 01:33 AM

As soon as you'll get Tomcat you'll have a static deployer from the box.
If you want to know more about other options available for download, refer to documentation (provided with "Full documentation" package).
As example - here is answer for what is deployer package:

Code:

This is a package which can be used to validate, compile, compress to .WAR, and deploy web applications to production or development Tomcat servers. It should be noted that this feature uses the Tomcat Manager and as such the target Tomcat server should be running.
I don't think you'll need these extra packages atm.

mericet 10-17-2012 03:37 AM

Quote:

Originally Posted by Whatif (Post 4807595)
I downloaded the JDK rpm. But need help with tomcat. The tomcat download pages has serveral options: Core, Full documentation, Deployer, Extras, and Embedded. Is all I'm supposed to do is download the tar.gz under Core, untar it, read the readme file and fellow the instructions. What about the Deployer, Extras, and Embedded? What are they used for?

I wouldn't worry about the other options, just download the Core. That's all you need to get a Tomcat server up and running. The others are optional extras.
Basic setup with default options will work as I mentioned in my previous post, but Tomcat is endlessly configurable.


All times are GMT -5. The time now is 11:03 AM.