My ADD

16 September 2015

OTRS Installation Steps for CentOS7

First Installation CentOS7 with Minimal ISO then follow the below steps for OTRS installation.
  1. yum -y update
  2. hostnamectl set-hostname otrs.example.local
  3. vi /etc/sysconfig/selinux // disabled the selinux
  4. yum -y install epel-release
  5. yum install -y wget mod_perl perl-DBD-MySQL
  6. wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
  7. rpm -ivh mysql-community-release-el7-5.noarch.rpm
  8. yum install mysql-server
  9. systemctl start mysqld
  10. mysql_secure_installation
  11. 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)"
  12. yum -y install http://ftp.otrs.org/pub/otrs/RPMS/rhel/7/otrs-4.0.11-01.noarch.rpm
  13. vi /etc/my.cnf //please enter below setting for mysql finetuning
  14. systemctl enable httpd.service
  15. systemctl start httpd.service
  16. firewall-cmd --permanent --zone=public --add-service=http
  17. firewall-cmd --reload
  18. service otrs start
my.cnf setting

    [server]
    max_allowed_packet=200M
    query_cache_size=32M

    # innodb
    innodb_buffer_pool_size = 256M
    innodb_log_file_size = 512M

Now install through webinstaller http://otrs.example.local/otrs/installer.pl