Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisioneRevisione precedente
Prossima revisione
Revisione precedente
otrs_installazione_mutiple_instance [2009/01/15 11:53] marcootrs_installazione_mutiple_instance [2014/07/03 14:57] (versione attuale) – modifica esterna 127.0.0.1
Linea 3: Linea 3:
 Unpack the archive for example with tar into the directory /opt and rename the directory from otrs-2.2.x to otrs: Unpack the archive for example with tar into the directory /opt and rename the directory from otrs-2.2.x to otrs:
  
-linux:/opt# tar xf /tmp/otrs-2.2.x.tar.gz +   linux:/opt# tar xf /tmp/otrs-2.2.x.tar.gz 
-linux:/opt# mv otrs-2.2.-x otrs +   linux:/opt# mv otrs-2.2.-x otrs 
-linux:/opt# ls +   linux:/opt# ls 
-otrs +   otrs 
-linux:/opt#+   linux:/opt#
  
 Because the modules of OTRS should not be executed with root rights, a new user for OTRS will be added in the next step. The home directory of this new user should be /opt/otrs. If your webserver is not running with the same user rights like the new otrs users (this is the case on most systems), you have to add the new otrs user to the group of the web server user: Because the modules of OTRS should not be executed with root rights, a new user for OTRS will be added in the next step. The home directory of this new user should be /opt/otrs. If your webserver is not running with the same user rights like the new otrs users (this is the case on most systems), you have to add the new otrs user to the group of the web server user:
  
-linux:/opt# useradd -d /opt/otrs/ -c 'OTRS user' otrs +  linux:/opt# useradd -d /opt/otrs/ -c 'OTRS user' otrs 
-linux:/opt# usermod -G nogroup otrs +  linux:/opt# usermod -G nogroup otrs 
-linux:/opt#+  linux:/opt#
  
 Now some demo config files of OTRS have to be copied. The system will later use the copied files. The files are located in /opt/otrs/Kernel and /opt/otrs/Kernel/Config and have the ending .dist. Now some demo config files of OTRS have to be copied. The system will later use the copied files. The files are located in /opt/otrs/Kernel and /opt/otrs/Kernel/Config and have the ending .dist.
  
-linux:/opt# cd otrs/Kernel/ +  linux:/opt# cd otrs/Kernel/ 
-linux:/opt/otrs/Kernel# cp Config.pm.dist Config.pm +  linux:/opt/otrs/Kernel# cp Config.pm.dist Config.pm 
-linux:/opt/otrs/Kernel# cd Config +  linux:/opt/otrs/Kernel# cd Config 
-linux:/opt/otrs/Kernel/Config#  cp GenericAgent.pm.dist GenericAgent.pm+  linux:/opt/otrs/Kernel/Config#  cp GenericAgent.pm.dist GenericAgent.pm
  
  
Linea 60: Linea 60:
  
 Modificato /etc/httpd/conf.d/otrs.conf Modificato /etc/httpd/conf.d/otrs.conf
 +
 +  # agent, admin and customer frontend
 +  ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
 +  ScriptAlias /tsanasa3/ "/opt/tsanasa3/bin/cgi-bin/"
 +  ScriptAlias /tsamg/ "/opt/tsamg/bin/cgi-bin/"
 +  Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
 +  Alias /tsanasa3-web/ "/opt/tsanasa3/var/httpd/htdocs/"
 +  Alias /tsamg-web/ "/opt/tsamg/var/httpd/htdocs/"
  
   <Directory "/opt/otrs/bin/cgi-bin/">   <Directory "/opt/otrs/bin/cgi-bin/">