otrs安装配置

一、otrs安装

1.安装perl mysql-server mysql-devel httpd gcc make perl cpan 关闭防火墙,selinux

yum install perl mysql-server mysql-devel httpd

2.设置mysql账户密码,创建otrs 用户,创建otrs数据库,并给otrs用户对otrs数据库的所有权限

(1)mysqladmin -u root -p password 123456

(2)create database otrs character set utf8;

(3)insert into mysql.user(Host,User,Password) values('localhost','otrs',password('123456'));

(4)grant all on *.* to 'otrs'@'%' identified by '123456' with grant option;(或使用图形化数据库管理工具)

3.设置mysql允许包大小

max_allowed_packet=256M

4重新启动mysql,设置开机启动

service mysqld restart

chkconfig mysqld on

5.下载otrs系统包,解压,修改文件名

mv otrs-x.x otrs

6.检查所需模块

perl /opt/otrs/bin/otrs.CheckModules.pl

7.安装所需要的模块</