1. prereqs
source /etc/cid.conf
curl -s http://${rdsserver}/sharel/bin/inst-httpd | sh
curl -s http://${rdsserver}/sharel/bin/inst-mariadb-server | sh
echo "#" > /etc/my.cnf.d/otrs.cnf
echo "[mysqld]" >> /etc/my.cnf.d/otrs.cnf
echo "max_allowed_packet = 64M" >> /etc/my.cnf.d/otrs.cnf
echo "query_cache_size = 32M" >> /etc/my.cnf.d/otrs.cnf
echo "innodb_log_file_size = 256M" >> /etc/my.cnf.d/otrs.cnf
echo "character-set-server = utf8" >> /etc/my.cnf.d/otrs.cnf
echo "collation-server = utf8_unicode_ci" >> /etc/my.cnf.d/otrs.cnf
rm -fv /var/lib/mysql/ib_logfile*
systemctl restart mariadb.service
2. installation
rpmname="$(lftp -c "open https://ftp.otrs.org/pub/otrs/RPMS/rhel/7/; ls;" | tail -n1 | awk '{print $3}')"
yum -y install http://ftp.otrs.org/pub/otrs//RPMS/rhel/7/${rpmname}
///
Installing : otrs-6.0.24-01.noarch 150/150
Next steps:
[restart web server]
systemctl restart apache2.service
[install the OTRS database]
Make sure your database server is running.
Use a web browser and open this link:
http://srv121.d01.net/otrs/installer.pl
[start OTRS daemon and corresponding watchdog cronjob]
/opt/otrs/bin/otrs.Daemon.pl start
/opt/otrs/bin/Cron.sh start
((enjoy))
Your OTRS Team
///
/opt/otrs/bin/otrs.CheckModules.pl
yum -y 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)"
systemctl reload httpd.service xx
3. service
runuser -l otrs -c 'bin/otrs.Daemon.pl start'