Share your knowledge at the LQ Wiki.
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 07-14-2003, 06:14 PM   #1
LQ Newbie
Registered: Jul 2003
Distribution: Red Hat 9.0
Posts: 12

Rep: Reputation: 0
environment variables

I'm planning on installing Tomcat tonight on my Linux server. I'm familiar with Windows ev's but I'm new to linux. I'm guessing there is a config file somewhere, probably /var something. Here is the tomcat instrux... any help is appreciated:

There are two techniques by which Tomcat 4.0 can be started:

* Via an environment variable:
- Set an environment variable CATALINA_HOME to the path of the directory
into which you have installed Tomcat 4.0.
- Execute the shell command:

%CATALINA_HOME%\bin\startup (Windows)

$CATALINA_HOME/bin/ (Unix)

Old 07-14-2003, 07:25 PM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
We've deployed tomacat and apache at work for our website, it runs off RH so install was as easy as rpm -i tomcat-x.x-i386.rpm plus some other packages that tomcat required (on top of my head jakarta-servletapi) - mind you we have tomcat3 running. After it was installed the conf files were placed into /etc/tomcat3/conf, tomcat startup and shutdown script were respectively in /etc/init.d/rc.{0,3,6}, and the tomcat web-apps were in /var/tomcat3/ directory. You need java installed and be on the user's path -
export JAVA_HOME=/path/to/java
Good luck.


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
Environment Variables - where do they go!?! iansoundz Linux - General 7 11-17-2005 03:27 AM
environment variables in c++ s3b0 Programming 6 08-27-2004 10:19 AM
when to use environment variables? mark_2811 Programming 2 02-23-2004 07:09 PM
environment variables. jISV Linux - General 0 04-05-2002 07:01 AM
environment variables aethereal Linux - Newbie 7 12-19-2001 10:34 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:02 AM.

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