安装LAMP
yum -y
install
httpd php php-mysql mysql mysql-server perl-DBD-MySQL php-pdo net-snmp net-snmp-libs net-snmp-utils net-snmp-devel ruby php-snmp ruby-devel rrdtool-ruby rrdtool-perl
vim
/etc/httpd/conf/httpd
.conf
找到DirectoryIndex所在的位置,添加一行
DirectoryIndex index.php
/etc/init.d/iptables stop //防火墙一定要关闭。不然无法打开info.php
service httpd restart
service mysqld restart
chkconfig httpd on
chkconfig mysqld on
vi /var/www/html/info.php
<?php
phpinfo();
?>
安装perl
yum install perl* -y
安装otrs
下载otrs
#wget http://ftp.otrs.org/pub/otrs//RPMS/rhel/6/otrs-3.3.8-01.noarch.rpm
# rpm -ivh otrs-3.2.3-01.noarch.rpm
错误信息
[root@otrs Desktop]# rpm -ivh otrs-3.2.3-01.noarch.rpm
error: Failed dependencies:
procmail is needed by otrs-3.2.3-01.noarch
安装procmail
yum install procmail -y
# rpm -ivh otrs-3.2.3-01.noarch.rpm
再次安装,成功。
OTRS支持环境安装
看一下我们还缺少什么必备条件
#perl /opt/otrs/bin/otrs.CheckModules.pl
进入cpan模式
#cpan
nolock_cpan>install Crypt::Eksblowfish::Bcrype
nolock_cpan> install Encode::HanExtra
nolock_cpan> install JSON::XS
nolock_cpan> install Mail::IMAPClient
nolock_cpan> install PDF::API2
nolock_cpan> install Text::CSV_XS
没有安装成功。报错了!
解决办法:
#wget http://down1.chinaunix.net/distfiles/Text-CSV_XS-0.92.tgz
#tar zxvf Text-CSV_XS-0.92.tgz
#cd Text-CSV_XS-0.92
#perl Makefile.PL
#make
#make install
nolock_cpan> install YAML::XS
看一下我们还缺少什么必备条件
#perl /opt/otrs/bin/otrs.CheckModules.pl
# useradd -d /opt/otrs/ -c ‘OTRS user‘ otrs
# perl -cw /opt/otrs/bin/cgi-bin/index.pl
# perl -cw /opt/otrs/bin/cgi-bin/customer.pl
# perl -cw /opt/otrs/bin/otrs.PostMaster.pl
http://192.168.247.144/otrs/installer.pl
http://192.168.247.144/otrs/index.pl
本文出自 “莎吧啦” 博客,请务必保留此出处http://songlisha.blog.51cto.com/6269280/1439629
Centos6.4安装OTRS必须成功版!,布布扣,bubuko.com
原文:http://songlisha.blog.51cto.com/6269280/1439629