OTRS installation and configuration, OTRS installation Configuration

Source: Internet
Author: User
Tags install perl

OTRS installation and configuration, OTRS installation Configuration
Zookeeper

The OTRS name is abbreviated from the first letter of Open-sourceTicket Request System and is an Open-source defect tracking management System software. OTRS classifies service requests submitted by telephone, email, and other channels into different queues and service levels. Service personnel track and reply to customers through the OTRS system, compared with the traditional processing process, OTRS provides a coordination environment for a department or team to process, query, and track in a more efficient way.

 

1. install and configure Mysql

1) install the Mysql database

# Yum-y installmysql-server

2) Add MySql boot

Chkconfig mysqld on

3) set the password

# Mysql_secure_installation

4) set remote connection

# Mysql-uroot-p

Mysql> grant allon *. * to 'user' @ '%' identified by 'p @ ssw0rd'

Mysql> FLUSHPRIVILEGES;

5) set Apache to connect to MySQL

# Setseboolhttpd_can-network_connect = 1

6) set the allowed MySQL package size and add it to [mysqld ].

# Vim/etc/my. cnf

Max_allowed_packet= 1048576000

Innodb_log_file_size = 1024 M // Log Size

Restart mysql

# Service mysqldrestart

 

2. install and configure Apache

1) install Apache

# Yum install httpd

2) Add to start

# Chkconfig httpd on

3) install gcc and make

# Yum install gccmake

4) Configure iptables

#/Sbin/iptables-IINPUT-p tcp -- dport 80-j ACCEPT

#/Sbin/iptables-IINPUT-p tcp -- dport 3306-j ACCEPT

#/Etc/rc. d/init. d/iptables save

5) Disable SElinux

# Vim/etc/selinux/config

6) Restart Apache

 

3. Install OTRS

3.1 download the installation package

# Cd/opt

# Wget ftp://ftp.otrs.org/pub/otrs/otrs-4.0.7.tar.gz

Decompress the installation package

# Tar-zxvf otrs-4.0.7.tar.gz

Modify file name

# Mvotrs-4.0.7.tar.gz otrs

 

3.2 check installation of required modules

1) install perl

# Yum install perl

2) install cpan

# Yum install cpan

3) Check required modules

# Cd/opt/otrs/bin

# Perl/opt/otrs/bin/otrs. CheckModules. pl

4) install the required modules based on the check results.

# Yum install "perl (Archive: Tar )"

# Yum install "perl (Archive: Zip )"

# Yum install "perl (Date: Format )"

.

.

.

.

.

If installation fails, use the following methods:

 

# Cpan

Cpan [1]> installMail: IMAPClient PDF: API2 (Crypt: Eksblowfish: Bcrypt Encode: HanExtra

 

Text: CSV_X YAML: XS

Cpan [1]> exit

 

3.3 create an OTRS user

# Useradd-d/opt/otrs/-c 'oss user' OTRS

 

3.4 activate the configuration file

# Cd/opt/otrs

# CpKernel/Config. pm. dist Kernel/Config. pm

# CpKernel/Config/GenericAgent. pm. dist Kernel/Config/GenericAgent. pm

 

3.5 check important files

[Root @ OTRS ~] # Perl-cw/opt/otrs/bin/cgi-bin/index. pl

 

[Root @ OTRS ~] # Perl-cw/opt/otrs/bin/cgi-bin/customer. pl

 

[Root @ OTRS ~] # Perl-cw/opt/otrs/bin/otrs. PostMaster. pl

 

3.6 configure Apache

# Vim/etc/httpd/conf/httpd. conf

Add the following in the line Includeconf. d/*. conf:

 

Include/opt/otrs/scripts/apache2-httpd.include.conf

 

Change User apache to otrs

 

Restart apache

# Service httpdrestart

 

3.7 file authorization

# Cd/opt/otrs

# Bin/otrs. SetPermissions. pl -- web-grop = apache

 

Restart the server after configuration is complete

# Shutdown-r now or reboot

 

3.8OTRS Initialization Configuration

 

1) enter the following URL in the browser:

 

Http: // ip address/otrs/index. pl

 

2) Configure as prompted

Omitted

3) change the logon User Password

# Cd/opt/otrs/bin

#./Otrs. SetPassword. pl root @ localhost xxxxxxx

 

4) logon page

4. Installation Module

 

1) install the ITSM Module

Download the installation package

# Cd/opt/otrs/bin

# Wget ftp://ftp.otrs.org/pub/otrs/itsm/bundle4/ITSM-4.0.7.opm

#/Opt/otrs/bin/otrs. PackageManager. pl-a install-p/opt/otrs/bin/ITSM-4.0.7.opm

#./Otrs. RebuildConfig. pl

#./Otrs. DeleteCache. pl

#./Otrs. CleanUp. pl

#./Otrs. SetPermissions. pl -- web-group = apache

 

2) install the FAQ Module

# Cd/opt/otrs/bin

# Wget ftp://ftp.otrs.org/pub/otrs/packages/FAQ-4.0.1.opm

#/Opt/otrs/bin/otrs. PackageManager. pl-a install-p/opt/otrs/bin/FAQ-4.0.1.opm

#./Otrs. RebuildConfig. pl

#./Otrs. DeleteCache. pl

#./Otrs. CleanUp. pl

#./Otrs. SetPermissions. pl -- web-group = apache

 

3) install the TimeAccounting Module

# Cd/opt/otrs/bin

# Wget ftp://ftp.otrs.org/pub/otrs/packages/TimeAccounting-4.0.1.opm

#/Opt/otrs/bin/otrs. PackageManager. pl-a install-p/opt/otrs/bin/TimeAccounting-4.0.1.opm

#./Otrs. RebuildConfig. pl

#./Otrs. DeleteCache. pl

#./Otrs. CleanUp. pl

#./Otrs. SetPermissions. pl -- web-group = apache

 

Configuration complete

Restart Apache

# Service httpdrestart

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.