yum -y install epel-release
yum -y install sendmail setuptool httpd mod_perl perl-Net-DNS \
perl-XML-Parser perl-DateTime perl-TimeDate perl-IO-Socket-SSL perl-DateTime-Format-Builder perl-Apache-DBI
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
yum -y install perl-YAML-XS perl-YAML gcc gcc-c++ perl-Archive-Zip perl-Template-Toolkit
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
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 ~]#sh centos_install_package2.4.sh (mysql)
[root@localhost ~]# vim /usr/local/mysql/my.cnf
max_allowed_packet=20M
innodb_log_file_size=512M
[root@localhost ~]# mysql -uroot -p
mysql> create user 'otrs'@'localhost' identified by 'otrs';
mysql> grant all on otrs.* to 'otrs'@'localhost';
mysql> flushprivileges;
[root@localhost ~]# /etc/init.d/mysqld restart
[root@localhost~]# wgethttp://ftp.otrs.org/pub/otrs/RPMS/rhel/6/otrs-5.0.17-01.noarch.rpm
[root@localhost ~]# rpm -ivh otrs-5.0.17-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
((enjoy))
Your OTRS Team
[root@localhost ~]# cd /opt/otrs/bin
[root@localhost bin]# ./otrs.CheckModules.pl
[root@localhost bin]#/etc/init.d/httpd restart
登陆地址:http://ip/otrs/customer.pl
OTRS安装完成后,系统会自动生成登录密码。由于自动生成的密码很长,并且比较复杂,不容易被记住,一旦遗忘了密码,会导致系统无法登录。
我们使用otrs.SetPassword.pl文件,对登录密码进行修改
[root@localhost ~]# cd /opt/otrs/bin
[root@localhost ~]# perl otrs.SetPassword.pl root@localhost 123456
①、初次安装的地址 otrs/installer.pl (安装完成后默认情况下是无法再次访问的)
②、服务人员登录地址 otrs/index.pl
③、客户端登录地址 otrs/customer.pl
④、公共FAQ访问地址(如果有装FAQ模块) otrs/public.pl
下载源:http://ftp.otrs.org/pub/otrs/
OTRS 邮件配置手册:https://ask.otrs.org.cn/article/14
http://doc.otrs.com/doc/manual/admin/stable/zh_CN/html/web-installer.html
https://wiki.otrs.org.cn/CentOS
http://www.docin.com/p-1440636794.html
https://yq.aliyun.com/articles/11117
Zammad: