Everything Java Apache Geospatial Open Source. Hello Shinning Stars!!! Vincent Massol, Raphael Luta, Santiago Gala, Carsten Z.

Thursday, August 17, 2006

Installing OTRS 2.0.4 trouble ticket system on Fedore Core 4!

1. Download the RPM

[nagios@nagios noc]$ wget ftp://ftp.otrs.org/pub/otrs/RPMS/redhat/8.0/otrs-2.0.4-01.i386.rpm

2. Install RPM

[nagios@nagios noc]$ sudo rpm -ihv otrs-2.0.4-01.i386.rpm
error: Failed dependencies:
fetchmail is needed by otrs-2.0.4-01.i386

Resolve fetchmail dependency

[nagios@nagios noc]$ sudo yum install fetchmail

3. Start services

[nagios@nagios noc]$ sudo /sbin/service httpd start

I had problems with Fedora Core 4 and OTRS. This post saved me. It says to change all references to Apache to Apache2 in /etc/httpd/conf.d/otrs.conf

[nagios@nagios noc]$ sudo /sbin/service mysqld start

4. Set the password for the MySQL server

[nagios@nagios usr]$ sudo /usr/bin/mysqladmin -u root password 'new-password'
[nagios@nagios usr]$ sudo /usr/bin/mysqladmin -p -u root -h mydomain.tld password 'new-password'
Enter password:

5. Install the OTRS database

http://mydomain.tld/otrs/installer.pl

A warning message about permission write access to Config.pm was resolved by disabling SELinux with this command,

[nagios@nagios usr]$ sudo /usr/sbin/setenforce 0

6. Start OTRS service

[nagios@nagios noc]$ sudo /sbin/service otrs start

No comments: