How To Install OTRS

How To Install OTRS

SHORT INTRODUCTION

GUI like Explorer can be used for file manipulation functions (eg, copying a file to a floppy) or deleting or moving files on a disk. It cannot be used to implement PARTICLE DAQ.

INSTALLATION :

Step1 - SELinux in permissive mode, even OTRS official web site suggests to disable SELinux, execute the below command.

$ sudo setenforce 0
$ sudo sed -i --follow-symlinks 's/SELINUX=enforcing/SELINUX=permissive/g'/etc/sysconfig/selinux

Step2 - Install Apache and Database Server (MariaDB)

$ sudo yum install httpd httpd-develgccmariadb-server -y

Step3 - Start and enable the Apache Web service.

$ sudo systemctl start httpd
$ sudo systemctl enable httpd

Step4 - Update the following parameters under the [mysqld]

$ sudo vi /etc/my.cnf
$sudo [mysqld]
$sudo datadir=/var/lib/mysql
$sudo socket=/var/lib/mysql/mysql.sock
$sudo max_allowed_packet=64M
$sudo query_cache_size=32M
$sudo innodb_log_file_size=256M
$sudo character-set-server=utf8
$sudo collation-server=utf8_unicode_ci

Save & exit the file

Step5 - Start and enable themysqlservice using the commands

$ sudo systemctl start mariadb
$ sudo systemctl enable mariadb

Step6 - Configure the root password of mariadb database Run “mysql_secure_installation” command

$ sudo mysql_secure_installation

Step7 - Install Community Edition OTRS 6

$ sudo yum install -y https://ftp.otrs.org/pub/otrs/RPMS/rhel/7/otrs-6.0.17-01.noarch.rpm

Above command will also install the dependencies of OTRS 6 automatically,

Step8 - Restart apache web service

$sudo systemctl restart httpd

Step9 - Verify and install required perl modules for OTRS

$sudo /opt/otrs/bin/otrs.CheckModules.pl

Step10 - Some of the perl modules are not available in the default yum centos 7 / RHEL 7 repositories, so enable the epel repository using following yum command

$ sudo yum install epel-release -y

Step11 - Now install the missing perl modules using the following yum command

$ sudo yum install "perl(Crypt::Eksblowfish::Bcrypt)" "perl(DBD::Pg)" "perl(Encode::HanExtra)" "perl(JSON::XS)" "perl(Mail::IMAPClient)" "perl(Authen::NTLM)" "perl(ModPerl::Util)" "perl(Text::CSV_XS)" "perl(YAML::XS)" -y

Step12 - Re-run the command “/opt/otrs/bin/otrs.CheckModules.pl” to verify whether all the required perl modules are installed successfully or not.

$ sudo /opt/otrs/bin/otrs.CheckModules.pl

Step13 - Access OTRS 6 Web Installer GUI

$ sudo http:///otrs/installer.pl

Successfull  installation!!

Tags:

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest Comments

No comments to show.