Sanav GC-101 Manual de Instalação Página 12

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 60
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 11
3.2.a) Windows users:
The location of the installation 'bin' directories for the Java SDK, Ant, and SQL database server installations,
needs to be added to the command execution PATH environment variable (if the installation process has not
already added them to the PATH variable).
Environment variables can be set manually in a command-prompt with the “set” command, as in the following
example:
C:\> set GTS_HOME=C:\OpenGTS_1.2.3
(When setting environment variables, quotes should not be used to enclose an installation directory, even if the
directory contains embedded spaces)
Environment variables are referenced by enclosing them in '%'. For instance, after setting the environment
variable JAVA_HOME to point to your JDK installation directory, this environment variable would be
dereferenced as “%JAVA_HOME%”.
The file path separator is the back-slash character “\”. So, while on Linux a file/directory could be referenced
as “$JAVA_HOME/jre/lib/ext/.”, on Windows this same directory would be referenced as “%JAVA_HOME
%\jre\lib\ext\.
The above environment variables can be set to be automatically defined when starting a command-prompt
through the "System Properties" window as follows:
Right-click on "My Computer" and select "Properties", the "System Properties" window will display.
Select the "Advanced" tab, then press the "Environment Variables" button.
In the "System Variables" section, add the following variables:
Variable Name: JAVA_HOME (required for building OpenGTS, and running Tomcat)
Value: (The location of your JAVA SDK Installation Folder, NOT the JRE)
Variable Name: ANT_HOME
Value: (The location of your Ant Installation Folder)
Variable Name: CATALINA_HOME (required for building OpenGTS)
Value: (The location of your Apach Tomcat Installation Folder)
Variable Name: GTS_HOME
Value: (The location of your OpenGTS Installation Folder)
(Quotes should NOT be used to enclose an installation directory for these environment variable
specifications, even if the directory contains embedded spaces)
Prefix the following to the "Path" environment variable in the "System Variables" section (create a new
"Path" variable if one does not already exist):
.;%JAVA_HOME%\bin;%MYSQL_HOME%\bin;%ANT_HOME%\bin;
(Quotes may be added to the PATH variable if necessary)
Click "OK" on the "Environment Variable" window.
3.2.b) Linux users:
It is recommended that the following symbolic links be created within the "/usr/local/" directory which point
to their corresponding 'home' directories (skip a given symbolic link if it has already been created):
# cd /usr/local
# ln -s $JAVA_HOME java
# ln -s $CATALINA_HOME tomcat
# ln -s $GTS_HOME gts
OpenGTS Configuration and Installation Manual Page 12 of 60
Vista de página 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 59 60

Comentários a estes Manuais

Sem comentários