LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   environment variables (http://www.linuxquestions.org/questions/linux-newbie-8/environment-variables-72710/)

kakridge 07-14-2003 06:14 PM

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/startup.sh (Unix)

Thanks.

neo77777 07-14-2003 07:25 PM

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.


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