目录

OTRS-5安装配置

准备工作

官方地址: www.otrs.com 社区:http://ask.otrs.org.cn/;http://www.otrs-china.cn/forum.php

在Red Hat Enterprise Linux或CentOS系统上安装OTRS: http://otrs.github.io/doc/manual/admin/stable/zh_CN/html/installation.html#installation-on-centos

环境

系统:CentOS6.4_X64 硬件:4核8G200G

关闭Selinux

1
2
sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/sysconfig/selinux
setenforce 0

关闭防火墙

1
2
3
itpables -F
/etc/init.d/iptables save
service iptables restart

安装otrs过程

安装配置mysql

使用yum安装:

yum -y install mysql-server

配置mysql

1
2
3
4
5
6
7
8
mv /var/lib/mysql/ /mds/
ln -s /mds/mysql/ /var/lib/mysql
mysqladmin -uroot password 123456

编辑/etc/mysql.conf将如下内容添加到[mysqld]
max_allowed_packet = 20M
query_cache_size = 32M
innodb_log_file_size = 256M

启动mysql

/etc/init.d/mysqld start

安装otrs包

yum安装

yum install --nogpgcheck otrs-5.0.10-01.noarch.rpm

启动httpd

/etc/init.d/httpd start

更新epel-release

yum install -y epel-release

浏览器访问安装

http://ServerIP//otrs/installer.pl

启动OTRS守护进程并激活相应的监控此进程的cron任务(必须以otrs用户执行)

1
2
/opt/otrs/bin/otrs.Daemon.pl start
/opt/otrs/bin/Cron.sh start

加入开机启动

1
2
chkconfig mysqld on
chkconfig httpd on