本篇基于CentOs 6.x环境,收录必要的安装过程
[root@localhost~]vim /etc/selinux/config 修改SELINUX=disabled [root@localhost~]reboot
[root@localhost~]#yum -y install epel-release [root@localhost~]#yum -y update //不一定需要操作 [root@localhost~]#yum -y install sendmail setuptool httpd mysql-server mysql mod_perl perl-Net-DNS \ perl-XML-Parser perl-DateTime perl-TimeDate perl-IO-Socket-SSL perl-DateTime-Format-Builder perl-Apache-DBI
[root@localhost~]#yum -y install perl perl-Crypt-SSLeay perl-Digest-SHA perl-Net-LDAP procmail \ perl-core perl-LDAP perl-Encode-HanExtra perl-GD perl-JSON-XS perl-Mail-IMAPClient perl-PDF-API2 perl-PDF-API2-Text-CSV_XS
[root@localhost~]#yum -y install perl-YAML-XS perl-YAML gcc gcc-c++ perl-Archive-Zip perl-Template-Toolkit [root@localhost~]#yum -y install system-config-firewall-base system-config-date system-config-firewall \ system-config-firewall-tui system-config-network-tui system-config-services system-config-services-docs
[root@localhost~]#yum -y install mlocate perl-CPAN perl-Crypt-Eksblowfish perl-GD-Text perl-GDGraph \ perl-GDTextUtil perl-Text-CSV-Separator perl-Text-CSV_XS perl-YAML perl-YAML-LibYAML perl-XML-LibXSLT
[root@localhost~]#chkconfig --level 235 mysqld on [root@localhost~]#chkconfig --level 235 httpd on [root@localhost~]#chkconfig --level 235 ntpd on [root@localhost~]#service httpd start [root@localhost~]#service ntpd start
[root@localhost~]#service iptables stop
或
[root@localhost~]#/etc/init.d/iptables stop
为达到OTRS对MySQL配置要求,需要对my.cnf添加两行参数 设置MySQL允许包的大小,添加到[mysqld]下
[root@localhost~]#vim /etc/my.cnf max_allowed_packet=20M innodb_log_file_size=512M [root@localhost~]#service mysqld start
配置帐号和密码
[root@localhost ~]# mysql -uroot -p mysql> create user 'otrs'@'localhost' identified by 'otrs'; mysql> grant all on otrs.* to 'otrs'@'localhost'; mysql>flush privileges; [root@localhost ~]#service mysqld restart
[root@localhost~]#wget http://ftp.otrs.org/pub/otrs/RPMS/rhel/6/otrs-3.3.8-01.noarch.rpm
[root@localhost~]#rpm -ivh otrs-3.3.8-01.noarch.rpm
Preparing... ########################################### [100%]
Check OTRS user ... otrs added.
1:otrs ########################################### [100%]
Next steps:
[httpd services]
Restart httpd 'service httpd restart'
[install the OTRS database]
Make sure your database server is running.
Use a web browser and open this link: http://localhost/otrs/installer.pl [OTRS services]
Start OTRS 'service otrs start' (service otrs {start|stop|status|restart).
((enjoy))
Your OTRS Team
https://ask.otrs.org.cn/question/29
[root@localhost ~]# cd /opt/otrs/bin [root@localhost bin]# ./otrs.CheckModules.pl [root@localhost bin]# service httpd restart
http://OTRS服务器IP地址/otrs/installer.pl
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30345407/viewspace-2099343/ ,如需转载,请注明出处,否则将追究法律责任。