LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-13-2012, 09:30 PM   #1
Whatif
Member
 
Registered: Nov 2010
Distribution: VectorLinux
Posts: 87

Rep: Reputation: 0
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
 
Old 10-14-2012, 03:18 AM   #2
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,204
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
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
 
Old 10-16-2012, 01:42 AM   #3
ZackFair
LQ Newbie
 
Registered: Oct 2012
Location: Russia
Distribution: Arch, CentOS, RHEL, Debian, Ubuntu
Posts: 15

Rep: Reputation: Disabled
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.

Last edited by ZackFair; 10-16-2012 at 01:49 AM.
 
Old 10-16-2012, 05:27 AM   #4
mericet
Member
 
Registered: Jul 2009
Posts: 50

Rep: Reputation: 8
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.
 
Old 10-16-2012, 08:48 AM   #5
Whatif
Member
 
Registered: Nov 2010
Distribution: VectorLinux
Posts: 87

Original Poster
Rep: Reputation: 0
I hope I understood you correctly. Does that mean I don't need to install Apache to have Tomcat working?
 
Old 10-16-2012, 08:54 AM   #6
ZackFair
LQ Newbie
 
Registered: Oct 2012
Location: Russia
Distribution: Arch, CentOS, RHEL, Debian, Ubuntu
Posts: 15

Rep: Reputation: Disabled
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.
 
Old 10-16-2012, 05:04 PM   #7
Whatif
Member
 
Registered: Nov 2010
Distribution: VectorLinux
Posts: 87

Original Poster
Rep: Reputation: 0
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?
 
Old 10-17-2012, 01:33 AM   #8
ZackFair
LQ Newbie
 
Registered: Oct 2012
Location: Russia
Distribution: Arch, CentOS, RHEL, Debian, Ubuntu
Posts: 15

Rep: Reputation: Disabled
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.
 
Old 10-17-2012, 03:37 AM   #9
mericet
Member
 
Registered: Jul 2009
Posts: 50

Rep: Reputation: 8
Quote:
Originally Posted by Whatif View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 5.2 with Tomcat 5.2 and JDK 2.5 g2293 Linux - Software 1 02-08-2007 09:00 PM
Problem with jdk tomcat apache me4linux Linux - General 1 02-05-2007 10:08 AM
jdk and tomcat sharp81 Linux - Software 11 03-28-2006 07:56 AM
Tomcat 5.0.27 connecting to Apache 2 with jdk 1.2.6 yea420 Linux - Newbie 0 08-13-2004 07:21 PM


All times are GMT -5. The time now is 05:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration