Rapid construction of work order system
Created by: Wu Zishan
Content: Deployment of OTRS work order system
1. Environment
Centos 7/8, turn off the firewall, turn off seleinux, server initialization,
Two, steps
①Install epel source
#yum install -y epel*
② Install the required database
1) (Yum installation can be used) #yum install -y mariadb-server
2) Modify its configuration file:
[root@otrs ~]# cat /etc/my.cnf.d/zotrs.cnf
[mysqld]
max_allowed_packet = 20M
query_cache_size = 32M
innodb_log_file_size = 256M
3) Start the database
#systemctl start mariadb
Check if the port is started # netstat -lntp
3. Install OTRS (I installed version 6)
① First download #wget http://ftp.otrs.org.cn/pub/otrs/RPMS/rhel/7/otrs-6.0.13-01.noarch.rpm
②Reinstall: yum localinstall otrs-6.0.13-01.noarch.rpm -y
③Download nginx or apache
(Apache comes with the above package)
Start httpd directly
4. Check for missing perl modules
#/opt/otrs/bin/otrs.CheckModules.pl
If there are not many missing modules, install them manually
. If there are many missing modules, I have also prepared a very convenient method. You only need the following two steps to install all missing perl modules.
#/opt/otrs/bin/otrs.CheckModules.pl &>check.txt
#grep -o ‘yum."’ check.txt|sed 's#.#& -y#g’|bash
5. The construction is completed
Visit: http://10.10.122.241/otrs/installer.pl
Do bit by bit configuration
After configuration, enter the work order page
and switch user su - otrs
start process: /opt/otrs/bin/otrs.Daemon.pl start
/opt/otrs/bin/Cron.sh start
Just log in again
6. The work order system is completed!
Please indicate the source of the original work when reprinting! ! !