Bienvenue Francois! check out these locations for /etc/profile or ~/.bashrc http://www.ccoss.org/tutorials/unix_utilities/node1.htm
check out http://www.fedoraforum.org/forum/showthread.php?t=28075 for options basically your %PATH% environment variable is replaced by $PATH export $PATH HTH, Martin- Etats Unis -----Original message----- From: "D. Stimits" [EMAIL PROTECTED] Date: Tue, 14 Dec 2004 16:03:56 -0500 To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: set an environement variable under fedora core3 > FRANCOIS Dufour wrote: > > hi to all > > > > im used to work on windows im actualy tring to find were to set these > > variable under linux > > sombody could give mee an hint ? > > Other answers already were given, this is an alternative that *might* > help if it is startup environment variables you are interested in. If > you add a file to TOMCAT_HOME/bin/ and call that file "setenv.sh" it > will run this file and set environment variables in it. I had to do this > on fedora core 2, I found adding to individual files plus other ones > already mentioned always left something broken. Add file > TOMCAT_HOME/bin/setenv.sh with these contents fixed everything for me: > > #!/bin/sh > > export JAVA_HOME="/opt/jdk1.5.0" > export CATALINA_HOME="/usr/local/jakarta-tomcat-5.0.30" > > > You can use an editor to create this file, then "chmod u+x setenv.sh" to > make sure it is executable (linux can use filenames as hints but really > has no defined name for type of file, chmod makes it executable). > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > This message and its contents are intended for receiver. Information contained within is protected by Law. If you have received this message in error please delete it and notify [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
