Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2006
    Messaggi
    29

    tomcat per utonti come me

    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?

  2. #2
    Utente di HTML.it
    Registrato dal
    Feb 2006
    Messaggi
    29
    in parte ho risolto... ora la domanda è più specifica...

    The BASEDIR environment variable is not defined
    This environment variable is needed to run this program

    che variabile è? che percorso ci devo inserire?

    grazie anticipatamente a tutti

  3. #3
    Moderatore di Programmazione L'avatar di alka
    Registrato dal
    Oct 2001
    residenza
    Reggio Emilia
    Messaggi
    24,480

    Moderazione

    Cerca di usare titoli più specifici riferiti al problema che riscontri, anche se lo ritieni banale.

    Ciao!
    MARCO BREVEGLIERI
    Software and Web Developer, Teacher and Consultant

    Home | Blog | Delphi Podcast | Twitch | Altro...

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.