Changes

Jump to navigation Jump to search
1,212 bytes added ,  21:04, 2 November 2013
Line 7: Line 7:  
  cd /usr/local/src
 
  cd /usr/local/src
   −
  wget http://ftp.otrs.org/pub/otrs/otrs-2.2.2.tar.gz
+
  wget http://ftp.otrs.org/pub/otrs/otrs-2.3.4.tar.gz
   −
  tar xvzf otrs-2.2.2.tar.gz
+
  tar xvzf otrs-2.3.4.tar.gz
   −
  mv /usr/local/src/otrs-2.2.2/ /opt/otrs/
+
  mv /usr/local/src/otrs-2.3.4/* /opt/otrs/
    
  chown -R www.www /opt/otrs
 
  chown -R www.www /opt/otrs
Line 48: Line 48:     
== Setup Dag Repositories ==
 
== Setup Dag Repositories ==
{{Repository|Dag}}
+
You need to activate the [[Dag]] reposity before installing this contrib.<br />
 +
 
 +
see [[dag|dag repository]] <br />
    
== Installation of needed perl modules ==
 
== Installation of needed perl modules ==
Line 63: Line 65:     
  signal-event post-upgrade
 
  signal-event post-upgrade
 +
signal-event reboot
   −
  yum install perl-GD.i386 perl-GD-Graph.i386 perl-GD-Graph3d.noarch \
+
  yum install perl-GD perl-GD-Graph perl-GD-Graph3d \
  perl-GD-Text-Util.i386 perl-Date-Pcalc.noarch perl-Email-Valid.noarch\
+
  perl-GD-Text-Util perl-Date-Pcalc perl-Email-Valid perl-PDF-API2 \
 
  --enablerepo=base \
 
  --enablerepo=base \
 
  --enablerepo=updates \
 
  --enablerepo=updates \
Line 102: Line 105:  
     GD::Text::Align ... ok
 
     GD::Text::Align ... ok
 
         XML::Parser ... ok
 
         XML::Parser ... ok
            PDF::API2 ... not installed! (for PDF output - not required)
+
          PDF::API2 ... ok
 
       Compress::Zlib ... ok
 
       Compress::Zlib ... ok
   −
If you want to have PDF files generation, install PDF::API2 via cpan.
     −
cpan
+
Remove gcc for security reasons
install PDF::API2
+
 
reload cpan
+
  yum remove gcc cpp
  quit
      
Execute also the three commands perl -cw bin/cgi-bin/index.pl and perl -cw bin/PostMaster.pl after changing into the directory  
 
Execute also the three commands perl -cw bin/cgi-bin/index.pl and perl -cw bin/PostMaster.pl after changing into the directory  
Line 142: Line 143:  
  Alias /otrs/ "/opt/otrs/bin/cgi-bin/"
 
  Alias /otrs/ "/opt/otrs/bin/cgi-bin/"
 
  Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
 
  Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
Alias /otrs/public "/opt/otrs/bin/cgi-bin/"
   
   
 
   
 
  PerlRequire /opt/otrs/scripts/apache2-perl-startup.pl
 
  PerlRequire /opt/otrs/scripts/apache2-perl-startup.pl
Line 183: Line 183:     
  sh SetPermissions.sh /opt/otrs www www
 
  sh SetPermissions.sh /opt/otrs www www
 +
 +
The errors generated from this script are because it assumes the presence of the 'nogroup' group so we have to substitute the 'nobody' group for the chown commands
 +
 +
chown -R www:nobody /opt/otrs
 +
chown www:nobody /opt/otrs
 +
chown -R www:nobody /opt/otrs/var/
 +
chown -R www:nobody /opt/otrs/var/sessions/
 +
touch && chown www:nobody /opt/otrs/var/log/TicketCounter.log
    
== Configuring the database using the web installer ==
 
== Configuring the database using the web installer ==
Line 235: Line 243:  
All scripts with the cron jobs are located in var/cron in the home directory of the OTRS user.  
 
All scripts with the cron jobs are located in var/cron in the home directory of the OTRS user.  
    +
== Additional information ==
 +
=== IMAP auth plugin ===
 +
There is an OTRS plugin for authentication against an IMAP server available [http://mirror.contribs.org/smeserver/contribs/michaelw/sme7/OTRS/ here].
 +
This plugin is useful when you set up ORTS for your internal users. Users authenticate against their SME IMAP accounts. You don't need to create OTRS accounts for each of your users manually.
 +
 +
Installation:
 +
/usr/bin/yum --enablerepo=dag install perl-Net-IMAP-Simple
 +
tar -C / -xf imap_auth.tar
 +
 +
add this to /opt/otrs/Kernel/Config.pm
 +
$Self->{'AuthModule'} = 'Kernel::System::Auth::IMAP';
 +
$Self->{'AuthModule::IMAP::Server'} = 'aaa.bbb.ccc.ddd';
 +
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::IMAP';
 +
$Self->{'Customer::AuthModule::IMAP::Server'} = 'aaa.bbb.ccc.ddd';
 +
 +
where aaa.bbb.ccc.ddd is the IP address of the IMAP Server.
 +
 +
Note: The plugin is tested on OTRS 2.1.2
       
[[Category:Howto]]
 
[[Category:Howto]]

Navigation menu