otrs安装mysql_otrs安装配置

本篇基于CentOs 6.x环境,收录必要的安装过程

更新补丁包 yum -y update

关闭 selinux 接着重启服务器

[root@localhost~]vim /etc/selinux/config 修改SELINUX=disabled

[root@localhost~]reboot

安装EPEL扩展和一些perl模块

[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

配置MySQL

为达到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

安装OTRS(以下为3.x版本为例,其它版本至5.x同方式操作)

[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

配置MySQL的优化参数

检查是否还存在perl模块缺失

[root@localhost ~]# cd /opt/otrs/bin

[root@localhost bin]# ./otrs.CheckModules.pl

[root@localhost bin]# service httpd restart

补全所有perl模块后,浏览器打开otrs的配置页面进行配置,配置完成后即可使用

初次安装的地址 otrs/installer.pl (安装完成后默认情况下是无法再次访问的)

支持人员登录地址 otrs/index.pl

用户门户登录地址 otrs/customer.pl

公共FAQ访问地址(如果有装FAQ模块) otrs/public.pl

本文章来自互联网OTRS

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值