Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
rt [2008/04/22 11:16] a |
rt [2009/05/25 00:35] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Scripts ===== | ===== Scripts ===== | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
===== Optimization ===== | ===== Optimization ===== | ||
Line 13: | Line 20: | ||
===== Howto ===== | ===== Howto ===== | ||
+ | |||
+ | ==== Request tracker 3.8.2 (Ubuntu-LTS) + NGINX + PostgreSQL ==== | ||
+ | |||
+ | < | ||
+ | wget http:// | ||
+ | tar -xvzf rt-3.8.2.tar.gz | ||
+ | make testdeps | ||
+ | make fixdeps | ||
+ | apt-get install mysql-client | ||
+ | apt-get install libdbd-pg-perl libclass-dbi-pg-perl | ||
+ | make testdeps | ||
+ | make install | ||
+ | </ | ||
+ | |||
+ | **Upgrading PostgreSQL database** | ||
+ | ## make upgrade | ||
+ | / | ||
+ | |||
+ | === NGINX setup === | ||
+ | |||
+ | Useful links: | ||
+ | * http:// | ||
+ | * http:// | ||
+ | * http:// | ||
+ | |||
+ | **FCGI/init script** | ||
+ | <code bash|f / | ||
+ | #!/bin/sh | ||
+ | |||
+ | RTPATH=/ | ||
+ | RTUSER=www-data | ||
+ | # | ||
+ | FCGI_SOCKET_PATH=/ | ||
+ | |||
+ | case $1 in | ||
+ | start) | ||
+ | echo -n " | ||
+ | cd $RTPATH | ||
+ | export FCGI_SOCKET_PATH | ||
+ | su $RTUSER -c " | ||
+ | echo | ||
+ | ;; | ||
+ | |||
+ | stop) | ||
+ | echo -n " | ||
+ | PIDS=`ps axww | awk '/ | ||
+ | if [ -n " | ||
+ | then | ||
+ | echo -n kill -TERM $PIDS | ||
+ | kill $PIDS | ||
+ | echo | ||
+ | else | ||
+ | echo RT not running | ||
+ | fi | ||
+ | ;; | ||
+ | |||
+ | restart|force-reload) | ||
+ | $0 stop | ||
+ | $0 start | ||
+ | ;; | ||
+ | |||
+ | *) | ||
+ | echo " | ||
+ | exit 1 | ||
+ | ;; | ||
+ | esac | ||
+ | </ | ||
+ | |||
+ | **nginx request-tracker vhost config** | ||
+ | <code |f / | ||
+ | server { | ||
+ | listen | ||
+ | server_name | ||
+ | access_log | ||
+ | |||
+ | location | ||
+ | fastcgi_pass | ||
+ | # | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | } | ||
+ | location ~* .+\.(html|js|css)$ | ||
+ | fastcgi_pass | ||
+ | # | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | fastcgi_param | ||
+ | } | ||
+ | |||
+ | location / | ||
+ | alias / | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | === adding RTFM === | ||
+ | |||
+ | **Download RTFM** | ||
+ | |||
+ | tar -xzvf rtfm.tar.gz | ||
+ | |||
+ | Install and patch the database | ||
+ | |||
+ | cd RTFM-2.4.0 | ||
+ | perl Makefile.PL | ||
+ | make install | ||
+ | make initdb | ||
+ | |||
+ | add follwing line to / | ||
+ | | ||
+ | |||
==== Changing user pref " | ==== Changing user pref " | ||
If you try to change your email and RT returns you an error **"'' | If you try to change your email and RT returns you an error **"'' | ||
as root **Configuration -> Users ->** Find people whose Email is '< | as root **Configuration -> Users ->** Find people whose Email is '< | ||
+ | |||
+ | ==== Installing RT 3.8.1 / Debian ==== | ||
+ | |||
+ | good article on this topic on [[http:// | ||
+ | |||
+ | |||
+ | |||