Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
linux:request_tracker [2019/10/08 07:29] adilinux:request_tracker [2024/02/26 14:37] (aktuell) adi
Zeile 4: Zeile 4:
 ===== Installation ===== ===== Installation =====
 Die Installation des Ticketsystems basiert auf folgenden Softwareversionen: Die Installation des Ticketsystems basiert auf folgenden Softwareversionen:
-  * Ubuntu 16.04 Server x64 +  * Ubuntu 20.04 Server x64 
-  * Request Tracker 4.2.9+  * Request Tracker 4.4.1
  
 ==== Request Tracker ==== ==== Request Tracker ====
 Zunächst einige Vorbereitungen installieren/treffen. Zunächst einige Vorbereitungen installieren/treffen.
-<code bash>apt-get install make sockstat samba nfs-common postfix mysql-server phpmyadmin nginx php-fpm build-essential perl-doc libxml-parser-perl libgd-graph-perl libgraphviz-perl libdbd-mysql-perl libcrypt-ssleay-perl</code>+<code bash>apt-get install make sockstat samba nfs-common postfix mariadb-server phpmyadmin nginx php-fpm build-essential perl-doc libxml-parser-perl libgd-graph-perl libgraphviz-perl libdbd-mysql-perl libcrypt-ssleay-perl</code>
 <code bash>useradd rt</code> <code bash>useradd rt</code>
  
Zeile 19: Zeile 19:
  
 Danach RT downloaden, entpacken und in entpacktes Verzeichnis wechseln. Danach RT downloaden, entpacken und in entpacktes Verzeichnis wechseln.
-Hier wird das Skript ''configure'' mit folgenden Anweisungen ausgeführt +Hier wird das Script ''configure'' mit folgenden Anweisungen ausgeführt 
-<code bash>./configure --enable-graphviz --enable-gd --with-db-rt-pass=<PASSWORD> --with-web-user=www-data --with-web-group=www-data</code>+<code bash>./configure --enable-graphviz --enable-gd --enable-gpg --enable-smime --enable-externalauth --with-web-handler=fastcgi --with-web-user=www-data --with-web-group=www-data --with-attachment-store=disk</code>
 Nun prüft RT ob alle Abhängigkeiten erfüllt sind. Dazu führt man folgenden Befehl aus: Nun prüft RT ob alle Abhängigkeiten erfüllt sind. Dazu führt man folgenden Befehl aus:
 <code bash>make testdeps</code> <code bash>make testdeps</code>
Zeile 159: Zeile 159:
 <code bash>[Unit] <code bash>[Unit]
 Description = Request Tracker FastCGI backend (instance %i) Description = Request Tracker FastCGI backend (instance %i)
-After = mysql.service +After = mariadb.service 
-Wants = mysql.service+Wants = mariadb.service
  
 [Service] [Service]
Zeile 292: Zeile 292:
 To see it in a ticket list somewhere in "RT at a glance", click on Edit for the section you want (e.g., 10 highest priority tickets I own). In the Display Columns section, add UpdateStatus to the shown columns. That will work in conjunction with ShowUnreadMessageNotifications and show you new messages. You can click the link at the top of the page to clear the unread messages for a given ticket. – Jim Brandt Jan 2 '13 at 14:51 To see it in a ticket list somewhere in "RT at a glance", click on Edit for the section you want (e.g., 10 highest priority tickets I own). In the Display Columns section, add UpdateStatus to the shown columns. That will work in conjunction with ShowUnreadMessageNotifications and show you new messages. You can click the link at the top of the page to clear the unread messages for a given ticket. – Jim Brandt Jan 2 '13 at 14:51
 +1 for UpdateStatus column add to the dashboard... :-) – Jan Marek Jan 10 '13 at 9:07</code> +1 for UpdateStatus column add to the dashboard... :-) – Jan Marek Jan 10 '13 at 9:07</code>
 +
 +===== RT CLI =====
 +In Bash zunächst Variablen für den Login festlegen:
 +<code bash>export RTUSER=<USERNAME>
 +RTPASSWD=<PASSWORD>
 +export RTSERVER=https://<IP_OR_HOSTNAME></code>
 +
 +Oder die o.g. Variablen in die Datei ''~/.rtrc'':
 +<code>user <USERNAME>
 +passwd <PASSWORD>
 +server https://<IP_OR_HOSTNAME></code>
 +
 +Jetzt kann man die CLI wie folgt öffnen:
 +<code bash>/opt/rt4/bin/rt shell</code>
 +
 +==== Befehle ====
 +^ Befehl ^ Beschreibung ^
 +|  |  |
 +| ''show ticket/<ID> -f status,queue,owner'' | Zeigt die Felder (-f) Status, Bereich und Besitzer der entspr. Ticket-ID an |
 +| ''rt show ticket/<ID>'' | zeigt generelle Infos zum Ticket an |
Navigation
Drucken/exportieren
QR-Code
QR-Code Request Tracker (erstellt für aktuelle Seite)