Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
otrs_installazione_mutiple_instance [2009/01/15 11:51] – marco | otrs_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 / | + | linux:/opt# tar xf / |
- | linux:/opt# mv otrs-2.2.-x otrs | + | |
- | linux:/opt# ls | + | |
- | otrs | + | |
- | 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# 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 / | Now some demo config files of OTRS have to be copied. The system will later use the copied files. The files are located in / | ||
- | linux:/opt# cd otrs/ | + | |
- | linux:/ | + | linux:/ |
- | linux:/ | + | linux:/ |
- | linux:/ | + | linux:/ |
Linea 60: | Linea 60: | ||
Modificato / | Modificato / | ||
+ | |||
+ | # agent, admin and customer frontend | ||
+ | ScriptAlias /otrs/ "/ | ||
+ | ScriptAlias /tsanasa3/ "/ | ||
+ | ScriptAlias /tsamg/ "/ | ||
+ | Alias /otrs-web/ "/ | ||
+ | Alias / | ||
+ | Alias /tsamg-web/ "/ | ||
< | < | ||
Linea 89: | Linea 97: | ||
cp unlock.dist unlock | cp unlock.dist unlock | ||
| | ||
+ | To setup all cron jobs the script bin/Cron.sh can be used, which is located in the home directory of the OTRS user. the script needs a parameter when it is executed that tells if you like to install, remove or reinstall the cron jobs. The following parameters can be used: | ||
+ | |||
+ | Cron.sh { start } { stop } { restart } [ OTRS user ] | ||
+ | |||
+ | Because the cron jobs need to be installed in the crontab file of the OTRS user, you need to be logged in as OTRS user. If you are logged in as root, you can change to the OTRS user with the command su otrs. Execute the following command to install the cronjobs: | ||
+ | |||
+ | Warning | ||
+ | |||
+ | Please note that other crontab entries of the OTRS user will be overwritten or removed by the Cron.sh script. Please change the Cron.sh script to keep also other crontab entries. | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | exit | ||
+ | |||
+ | | ||
+ |