LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-04-2010, 01:04 PM   #1
codemaniac
Member
 
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Rep: Reputation: 17
Lightbulb How to install Tomcat on slackware 13


Hi Friends, I am quite new to the slackware world and still discovering its amazing charm..can anyone help me how can I install and configure Tomcat in my slack box.I just want to run simple servlet programs.
Thanks in advance!!!!!!!
 
Old 04-04-2010, 01:45 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
the easy way can be downloading the binary distribution and run it, have a look at this thread.

for completness I link you also a thread in which ppr:kut links his slackbuild (but if you are not used to slackbuilds it's better to try the binary first).

found the two threads googling for "tomcat slackware"

btw: happy easter to everybody

Last edited by ponce; 04-04-2010 at 01:47 PM.
 
Old 04-04-2010, 01:57 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
There's a package .. and a Slackbuild at http://www.slacky.eu/ too :
>>> version 6.0.20 , the Slackware 12.2 repo
http://repository.slacky.eu/slackwar...tomcat/6.0.20/

> apache-tomcat-6.0.20-i486-1ld.tgz

http://repository.slacky.eu/slackwar...at/6.0.20/src/
> > src/apache-tomcat.SlackBuild , etc. etc.

.....
 
Old 04-04-2010, 02:00 PM   #4
codemaniac
Member
 
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Original Poster
Rep: Reputation: 17
Thanks for your reply..I have used slackbuilds to install packages.But couldn't found the slackbuild for Tomcat on the slackbuild.org!!!!!
 
Old 04-04-2010, 02:37 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Slacky.eu is useful to know :
2000 packages ( and Slackbuild scripts.)

And also the Eric Hameleers ( = @Alien Bob ) site :
http://connie.slackware.com/~alien/slackbuilds/

.....
 
Old 04-04-2010, 05:13 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
Quirky way (kind of):
Code:
cd /opt
su
wget http://mirror.mkhelif.fr/apache/tomc...-6.0.26.tar.gz
tar xzf apache-tomcat-6.0.26.tar.gz
Then you can start/stop it so:
Code:
/opt/apache-tomcat-6.0.26/bin/startup.sh
/opt/apache-tomcat-6.0.26/bin/shutdown.sh
It's certainly not the best way to install it on an administrative/security stand point, but probably the quickest to have it running for the time being on Slackware

Some caveat would you do it that way:
- take care of the logs yourself, they will live in /opt/apache-tomcat-6.0.26/logs
- configuration files will live in /opt/apache-tomcat-6.0.26/conf
- stopping tomcat with aforementioned script won't kill all java processes

Last edited by Didier Spaier; 04-05-2010 at 02:18 AM.
 
Old 04-04-2010, 10:24 PM   #7
codemaniac
Member
 
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Original Poster
Rep: Reputation: 17
Thanks friends for ypur precious replies..I am currently running Slackware 13 in my PC.What if i install Tomcat following this link http://repository.slacky.eu/slackwar...tomcat/6.0.20/ ...
This package is for slackware 12.2..So if i try to install in slack 13 would there be any version mismatch???
 
Old 04-04-2010, 10:24 PM   #8
codemaniac
Member
 
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Original Poster
Rep: Reputation: 17
Thanks friends for ypur precious replies..I am currently running Slackware 13 in my PC.What if i install Tomcat following this link http://repository.slacky.eu/slackwar...tomcat/6.0.20/ ...
This package is for slackware 12.2..So if i try to install in slack 13 would there be any version mismatch???
 
Old 04-04-2010, 10:58 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The Slackware 12.2 tomcat package is OK.

But please have in mind, that versions 6.0.24 and
6.026 are bug fix versions ( of 6.0.20 ).
http://mirror.mkhelif.fr/apache/tomc...-6.0.26.tar.gz

And making up a new package using the
apache-tomcat.SlackBuild will only take seconds.
Just edit line 8 to : VERSION=6.0.26

All to be done in a new empty folder with these files :
apache-tomcat-6.0.26.tar.gz apache-tomcat.SlackBuild doinst.sh slack-desc
The commands to build the package are :
1) su , 2) sh apache-tomcat.SlackBuild
.....

Last edited by knudfl; 04-04-2010 at 11:01 PM.
 
Old 04-04-2010, 11:56 PM   #10
codemaniac
Member
 
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Original Poster
Rep: Reputation: 17
gonna check this out...thanks.!
 
Old 04-05-2010, 12:54 AM   #11
codemaniac
Member
 
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Original Poster
Rep: Reputation: 17
i found in some other threads here that i should eliminate the "requirebuilder" line..
So i have greped and comented that one out..will ther nbe any problem????
 
Old 04-05-2010, 01:16 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Line 151 : requiredbuilder -y -v -s $CWD $PKG

is optional, ref. @ gnashley
http://www.linuxquestions.org/questi...tomcat-685368/
>>> post # 2.
.....
 
Old 04-06-2010, 12:04 AM   #13
mfrias
LQ Newbie
 
Registered: Dec 2007
Posts: 15

Rep: Reputation: 7
Quote:
Originally Posted by codemaniac View Post
Hi Friends, I am quite new to the slackware world and still discovering its amazing charm..can anyone help me how can I install and configure Tomcat in my slack box.I just want to run simple servlet programs.
Thanks in advance!!!!!!!
You can use this package hosted in linuxpackages.net. I use it on a dedicated server since 2008 and I've no problems.

When you install this package will create the user «tomcat» that will own some folders and also be responsible for start/stop server using the service file «rc.tomcat».
 
1 members found this post helpful.
Old 04-07-2010, 12:04 AM   #14
codemaniac
Member
 
Registered: Feb 2010
Location: INDIA
Distribution: Slackware,Suse,Mint
Posts: 39

Original Poster
Rep: Reputation: 17
Installed Tomcat smoothly with knudfl's help..thanks again friend..
 
  


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
apache tomcat on slackware 12.2 gnurich Slackware 2 12-21-2009 11:43 AM
installing tomcat on slackware 12.1 warun Slackware 6 11-30-2008 01:22 AM
fresh tomcat 5.5 install not showing tomcat homepage laggerific Linux - Software 0 10-26-2007 03:28 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

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

All times are GMT -5. The time now is 05:42 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