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 07-12-2010, 01:32 PM   #1
MattWeiler
LQ Newbie
 
Registered: Jul 2010
Location: Ontario, Canada
Distribution: Debian (lenny)
Posts: 7

Rep: Reputation: 0
Installing Tomcat on Debian (lenny)


I recently installed Debian 5.0.5 (lenny) on an extra PC that I had lying around:
  • Intel P4 3.4 GHz
  • 4GB DDR2
  • NVidia 7600 GT - 256 MB

I want to turn this PC into a Linux server for hosting a basic JSP web application with PostgreSQL as the back-end database.

I installed PostgreSQL and it runs fine however I'm having some issues installing Tomcat 6.
I followed a guide that I found online, and everything seemed fine when I was following the steps however I wasn't able to verify that the server was running by viewing the default tomcat page.
http://localhost:8080

Is there much difference in using Tomcat 5 vs Tomcat 6?
I'll probably try Tomcat 5.5 tonight.

Installer Guide: http://www.itoperationz.com/2009/06/...6-on-debian-5/


I'd also like to setup a simple email server, and I'd like to know roughly what's required to do this.


I know I sound like a noob, I guess I'm just too used to Windows
I just haven't touched Linux since University as the company I work for is all Windows and it's easy to get comfortable


Thanks

Last edited by MattWeiler; 07-12-2010 at 01:34 PM.
 
Old 07-12-2010, 06:03 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,644

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
Your link doesn't work and you haven't provided enough information. Look at the logs.

Is tomcat running? Is it listening on 8080? What message do you get when you browse to http://localhost:8080 ??
 
Old 07-12-2010, 06:21 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,733
Blog Entries: 12

Rep: Reputation: 456Reputation: 456Reputation: 456Reputation: 456Reputation: 456
Tomcat5.5 is in stable/lenny, Tomcat6 is in squeeze/testing.

http://packages.debian.org/search?ke...searchon=names
 
Old 07-12-2010, 06:42 PM   #4
MattWeiler
LQ Newbie
 
Registered: Jul 2010
Location: Ontario, Canada
Distribution: Debian (lenny)
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for your fast replies.

Once I got home, I found another site that I followed to success
http://library.linode.com/developmen...debian-5-lenny

Now Tomcat is running and I can access the default webapp.




P.S. sorry about the last link...not sure what happened there :P
Incase you're intereseted, this is the original link:
http://www.itoperationz.com/2009/06/...6-on-debian-5/

There was a lot wrong with this one:
  • in the /etc/profile file, they used strange quotation marks (they look okay at 1st glance)
  • in the tomcat-users.xml file, they once again use strange quotation marks (they look okay at 1st glance)
  • there might be more wrong with it, but mine works now

Last edited by MattWeiler; 07-12-2010 at 06:48 PM.
 
Old 12-18-2010, 09:55 AM   #5
DaddyMagic
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Trying to do something similar..

Quote:
Originally Posted by MattWeiler View Post
Thanks for your fast replies.

Once I got home, I found another site that I followed to success
http://library.linode.com/developmen...debian-5-lenny

Now Tomcat is running and I can access the default webapp.




P.S. sorry about the last link...not sure what happened there :P
Incase you're intereseted, this is the original link:
http://www.itoperationz.com/2009/06/...6-on-debian-5/

There was a lot wrong with this one:
  • in the /etc/profile file, they used strange quotation marks (they look okay at 1st glance)
  • in the tomcat-users.xml file, they once again use strange quotation marks (they look okay at 1st glance)
  • there might be more wrong with it, but mine works now
Hi, I am trying to do something similar to what you were doing early in the thread.

I am putting up a page with GeoServer inside ApacheTomcat. I have gotten through to the point where I have "http://MYIPADDRESS:8080/" working.

Now I am trying to get to the place where I can edit my "tomcat-user.xml" file, and cant seem to navigate to it inside the "PuTTY" window I am using to access my VPS (linode.com)

Any tips would be apprceciated...

Andy Davis.
 
  


Reply

Tags
debian, lenny, tomcat


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
Installing plesk 9.3 on debian lenny s_110_z Linux - Software 2 01-20-2010 11:47 AM
installing unetbootin in debian lenny htamayo Debian 3 11-28-2009 07:33 PM
Problem installing Debian Lenny 5.0..... raisun Linux - Newbie 5 08-24-2009 02:16 AM
Installing and running Tomcat under Debian hike2009 Linux - Newbie 1 06-10-2009 04:55 PM
Problems installing Debian Lenny. ghostofsin Debian 4 08-10-2007 06:32 PM


All times are GMT -5. The time now is 09:46 PM.

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