LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-23-2008, 12:26 AM   #1
warun
Member
 
Registered: Aug 2007
Posts: 39

Rep: Reputation: 15
installing tomcat on slackware 12.1


hello everyone,

I am using slackware 12.1. I nedd to install and use TOMCAT apache on my system. How do i do it?

Thanks in advance...
 
Old 11-23-2008, 02:50 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
You can download it from linuxpackages and use installpkg procedure to install it.
 
Old 11-23-2008, 04:59 AM   #3
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
You can follow the informations in this thread.

I for myself would not use packages from linuxpackages.net, but everyone as he likes....
 
Old 11-26-2008, 12:31 AM   #4
vitalstrike82
Member
 
Registered: Oct 2007
Location: Singapore
Distribution: OpenSuse, Slackware, Redhat
Posts: 318

Rep: Reputation: 40
I will download the tomcat server package from the apache website itself: http://tomcat.apache.org/download-60.cgi

Down the binary distribution. Untar the file and place lets say in the home dorectory.

Then go into this directory: cd /home/tomcat<version>/bin

next : ./startup.sh to run the tomcat.

Be sure to set the environment variablesor classpaths in the ./bashrc file for the tomcat to run successfully.
 
1 members found this post helpful.
Old 11-29-2008, 10:23 AM   #5
Ho0ligaN
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
please don't bash me for posting again, I thought if I post about tomcat in a mysql thread I won't get quick responses.. so here goes again

how do I set classpath for tomcat? I have downloaded apache-tomcat-6.0.18.tar.gz(which I used on my previous two distros also, mandriva 2009 and opensuse 11.0), now I have extracted to /home/user directory, I ran ./startup.sh and the server is indeed up and running. but I cant seem to find .bash_profile file to set classpath(like I did in my previous two installs).. there's only a .bash_history file. Also, there is no servlet api .jar file in /usr/share/java :-S
 
Old 11-29-2008, 09:04 PM   #6
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Just create the ~/.bash_profile file and log out and back in. Technically you could source the file without logging out and back in, but it's up to you.
 
Old 11-30-2008, 01:22 AM   #7
Ho0ligaN
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
yeah I figured that out, now the problem is I can't seem to find where the .jar file for servlet APIs are. I could find only one in /home/username/apache-tomcat-6.0.18/lib/servlet-api.jar and that doesn't seem to be the right one. In my previous distros there was tomcat servlet api.jar files /usr/share/java :-S
 
  


Reply



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 tomcat mahmoud Linux - Server 5 09-26-2008 09:22 AM
can't installing tomcat nukeu666 Linux - General 3 12-21-2005 04:13 PM
Slackware 10.2 + Mysql + Apache + PHP + Tomcat Black187 Slackware 5 11-16-2005 07:11 AM
How to install TOMCAT on Slackware 10 monalisa Slackware 1 03-28-2005 06:32 AM
Installing Tomcat Hiper1 Linux - Newbie 1 03-12-2005 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration