Ciao a tutti!
Sto seguendo un tutorial per installare tomcat 5.5.20 su mac...
Più o meno sono arrivata a questo punto...(i due file gli ho già creati...)
Now you can create a file called start_tomcat with the following contents (this assumes the JAVA_HOME environment variable was defined above):
#!/bin/sh
export CATALINA_HOME=/usr/local/tomcat
$CATALINA_HOME/bin/startup.sh
And create another file called stop_tomcat with the following contents:
export CATALINA_HOME=/usr/local/tomcat
$CATALINA_HOME/bin/shutdown.sh
Make the two scripts you just created executable:
$ chmod u+x *_tomcat
Add /Users/myusername/bin to your PATH environment variable, where myusername is replaced with your login name. If you're using the csh or tcsh shell add the following to the ~/.tcshrc file:
setenv PATH ${PATH}:/Users/myusername/bin
If you're using the Bash shell, add the following to your ~/.bash_profile file:
export PATH=${PATH}:/Users/myusername/bin
You can now use start_tomcat and start_tomcat to start and stop the tomcat server.
Quello che nella mia ignoranza non capisco io è la parte in rosso... Ok so cosa sono la bash e tcsh, ma dove gli trovo io questi file da modificare?

Rispondi quotando