[plug] Where to set an environment variable in CentOS?

Fred Janon fjanon at yahoo.com
Sun Oct 3 19:09:22 WST 2010

I installed Tomcat6 on a CentOS distrib and I need to set an environment variable as indicated here in a user's post:

Add the $CATALINA_HOME environment variable to your PATH.
# vi /etc/profile
I checked the /etc/profile file and it doesn't seem to be the best place to add it.

What would be the best directory/file to actually set the variable so it is set globally when the system boots?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20101003/865b44db/attachment.html>

More information about the plug mailing list