Step by Step installation for OTRS Community Edition 6.x on CentOS Linux


OTRS stands for (Open-Source Ticket Request System) is a service management suite that comprises ticketing, workflow automation, and notification, along with a wide range of customizable features.

It is Founded by André Mindermann and Burchard Steinbild in 2001, it was a fully open-source and got huge popularity, and later on, OTRS renamed to OTRS Community Edition., OTRS has release business edition for enterprise in 2005.
.
                                          Image result for centos logo                   Image result for otrs logo       Brand Assets | OTRS Group



((OTRS)) Community Edition is a leading open source ticketing system that provides enterprise-class ticket management systems at much lower costs compared to proprietary ticketing system software. 

((OTRS)) Community Edition provides ready to use features for Help Desk organization and management and IT Service Management.

Being Open Source, ((OTRS)) Community Edition can be extended and customized to meet the requirements of a particular customer environment. 

service integrators will help you to customize and integrate solutions based on requirements.

My Lab Details.




Step - 1 DISABLE FIREWALL

# vi /etc/selinux/config
SELINUX=disabled 

# systemctl disable firewalld

# systemctl stop firewalld


Step - 2 INSTALL APACHE WEB SERVER AND MYSQL DATABASE SERVER

# yum install httpd httpd-devel gcc mariadb-server -y

# systemctl start httpd

# systemctl enable httpd

Step - 3 SET MYSQL CUSTOME PARAMETERS

# vi /etc/my.cnf

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

save and Close

# systemctl start mariadb

# systemctl enable mariadb

Step - 4 SECURE MYSQL INSTALLATION

# mysql_secure_installation

Step - 5 INSTALL COMMUNITY EDITION 

# yum install https://ftp.otrs.org/pub/otrs/RPMS/rhel/7/otrs-6.0.29-02.noarch.rpm -y

# systemctl restart httpd

Step - 6  VERIFY AND INSTALL REQUIRED PERL MODULES FOR OTRS INSTALLATION.

# /opt/otrs/bin/otrs.CheckModules.pl

# yum install epel-release -y

# yum -y install https://harbottle.gitlab.io/epmel/7/x86_64/epmel-release.rpm

# yum update

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

# yum install "perl(Moo)" "perl(namespace::clean)" "perl(Exporter::Tiny)" "perl(Math::Random::ISAAC)" "perl(Module::Find)" -y

Step - 7 ACCESS OTRS WEB INSTALLER

http://<OTRS-Server-IP-Adrress>/otrs/installer.pl

follow the wizard steps and complete the installation process, if you want more help on this, please visit my youtube how-to installation video on my channel "The G-Tech Show".

Troubleshooting

Error : Please set the value for innodb_log_file_size on your database to at least 256 MB (current: 5 MB, recommended: 512 MB).


Issue : Service Failed to start after setting innodb_log_file_size = 256

Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.

Resolution : 

1. systemctl stop mariadb
2. cd /var/lib/mysql/
3. rm -f ib_logfile*
4. systemctl start mariadb

"INTERNAL SERVER ERROR "

Error : "Internal Server Error" when accessing web installer http://<otrs server IP / name>/otrs/installer.pl
  
Issue: "Can't Locate Namespace/clean.pm" in /var/log/httpd/error.log.

Resolution:

1. ensure EPMEL and EPEL Repos are installed.
2. Install required Package with "Yum install "perl(namespace::clean)""
3. Restart Apache " systemctl restart httpd "


Introduction to OTRS
https://youtu.be/VxAHNiWIg8s

How to install CentOS Linux Step by Step
https://youtu.be/kyu7JZ-T510

How to install OTRS Community Edition on CentOS 7 Step by Step Video Tutorial.
https://youtu.be/uj1ZruryBks



Comments

Popular posts from this blog

OTRS ACTIVE DIRECTORY AUTHENTICATION INTEGRATION

Virtual Disk ( HDD ) stuck in locked status ( ovirt, rhv, olvm )