Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-15-2006, 02:23 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 23

Rep: Reputation: 15
Apache Ant - Tomcat Installation

Hello everybody.

I am a linux newbie, nevertheless i was asked to setup a

Linux server (Debian Sarge) with J2sdk 1.4.x, Apache-Ant

1.6.5, Tomcat 5.5.x and mySql 4.1.

Until now i've done the following:

1) I installed j2sdk under /usr/local/java

2) I extracted the in /usr/local/ant

3) I extracted the in /usr/local/tomcat

Is that ok or must i do something else??If it is ok,

what changes must i do in the /etc/profile or in the

PATH variable?? Must i change any configurarion files in

order for the aforementioned to work properly??(Except


Thanx in advance and sorry for the big post!!
Old 12-17-2006, 12:27 AM   #2
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
That isn't a big post, by any stretch of the imagination!

As to your actual questions, simply extracting files to /usr/local is just the same as unzipping under windows. You have the install what is within the tar.gz files. Usually the setps that follow are:

./configure (maybe some options)
(sudo/root) make install

You should read the INSTALL or README file in the top level directory (usr/local/whatever), and see if you need to do something else.

You won't need to change anything in the profile or path settings. Where you are extracting those files is fine, and the install process will most likely put the executable files in /usr/local/bin, which is in the path of nearly every user on the system. You may need to reconfigure a few things, but it should just work.

You do know that you don't have to install from source? It is fine to, but it takes a bit of work. You could just use apt-get to install them with no work on your part.



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
ANT installation directory allelopath Linux - Software 3 09-17-2009 06:42 AM
Apache Ant and Red Hat Enterprise WS 4 AsymptoticOrbit Red Hat 4 08-22-2005 09:02 PM
creating apache-ant package merchtemeagle Slackware 3 05-11-2005 02:12 PM
Question about Apache Ant Hockeyfan Programming 2 02-19-2005 02:17 PM
java ant tomcat j-ray Linux - Software 1 09-12-2002 12:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:55 PM.

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