How to install OTRS 5 Free on CentOS 7

Check IP
ipp addr

Update packages
yum clean all
yum -y update

yum -y install wget
yum -y install mc

Install webmin
yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty
rpm -U webmin-1.791-1.noarch.rpm

Deactivate SELinux

Check status with: sestatus
Edit /etc/selinux/config
set SELINUX=permissive.

Type setenforce Permissive

yum -y install mariadb-server
open the file /etc/my.cnf and add following lines under the [mysqld] section:
max_allowed_packet = 20M
query_cache_size = 32M
innodb_log_file_size = 256M

systemctl enable mariadb.service
systemctl start mariadb.service

follow the on-screen instructions to set a database root password, remove anonymous access and remove the test database.

yum -y install epel-release
yum install -y mod_perl “perl(Crypt::Eksblowfish::Bcrypt)” “perl(JSON::XS)” “perl(GD::Text)” “perl(Encode::HanExtra)” “perl(GD::Graph)” “perl(Mail::IMAPClient)” “perl(PDF::API2)” “perl(Text::CSV_XS)” “perl(YAML::XS)”

Download OTRS Free for CentOS

yum install –nogpgcheck otrs-5.0.8-01.noarch.rpm

systemctl enable httpd.service
systemctl start httpd.service


The next step is to configure OTRS using the web installer
insted of localhost use hostname or IP of your server

Start the OTRS daemon and activate corresponding watchdog cron job (this must be done by the otrs user):
su otrs
/opt/otrs/bin/ start
/opt/otrs/bin/ start