Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. cd /usr/src/;
  2. wget https://download.bestpractical.com/pub/rt/release/rt-4.0.22.tar.gz ;
  3. wget https://download.bestpractical.com/pub//rt/release/RT-IR-3.0.4.tar.gz ;
  4. adduser --system --group rt;
  5. usermod -aG rt www-data;
  6.  
  7. tar xzvf rt-4.0*.tar.gz;
  8. cd /usr/src/rt-4.0.22
  9. ./configure --with-web-user=www-data --with-web-group=www-data --enable-graphviz --enable-gd
  10.  
  11. /opt/rt4/sbin/rt-server --port 8080
  12.  
  13. cat /etc/apache2/sites-available/rt.conf
  14. <VirtualHost *:8081>
  15. ServerAdmin webmaster@localhost
  16. ServerName 10.1.1.155:8081
  17.  
  18. AddDefaultCharset UTF-8
  19. DocumentRoot /opt/rt4/share/html
  20. Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
  21. ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
  22. <Location />
  23. Require all granted
  24. </Location>
  25.  
  26. LogLevel info
  27.  
  28. ErrorLog ${APACHE_LOG_DIR}/error.log
  29. CustomLog ${APACHE_LOG_DIR}/access.log combined
  30.  
  31. </VirtualHost>
  32.  
  33. Set( $rtname, '10.1.1.155');
  34. Set($WebDomain, '10.1.1.155');
  35. Set($WebPort, 8081);
  36.  
  37. chown www-data:www-data -R /opt/rt4/var/mason_data
  38.  
  39. cd /usr/src
  40. tar xzvf RT-IR-3.0.4.tar.gz
  41. cd /usr/src/RT-IR-3.0.4
  42.  
  43. apt-get install libhook-lexwrap-perl libnet-whois-ripe-perl
  44.  
  45. Set(@Plugins, 'RT::IR');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement