日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > 数据库 >内容正文

数据库

otrs安装mysql_otrs安装配置

發布時間:2023/12/29 数据库 28 豆豆
生活随笔 收集整理的這篇文章主要介紹了 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

總結

以上是生活随笔為你收集整理的otrs安装mysql_otrs安装配置的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。