• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to Install OTRS on CentOS

498

To Install OTRS on CentOS

OTRS is an Open-source Ticket Request System. It is an open-source trouble ticket system software used in organizations for enquiries, complaints, defect reports, support requests, and other communications.

Installation of OTRS

Install the LAMP, before the installation of OTRS. To know how to install LAMP, visit the following link
https://www.linuxhelp.com/install-lamp-fedora-22/

Open the my.cnf file to add mysql location using below command.

[root@linuxhelp Desktop]# vim /etc/my.cnf

my cnf

Run the following command to restart the mysql service.

[root@linuxhelp Desktop]# service mysqld restart
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]

Now start the apache service with below command.

[root@linuxhelp Desktop]# service httpd start
Starting httpd:                                            [  OK  ]

Then start the apache in run level using following command.

[root@linuxhelp Desktop]# chkconfig httpd on

To configure, copy apache configuration into respective location.

[root@linuxhelp Desktop]# cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak

Here, change the following settings with below command.

[root@linuxhelp Desktop]# vim /etc/httpd/conf/httpd.conf
ServerAdmin root@localhost
ServerName 192.168.5.82:80
Listen 192.168.5.82:80

Now, run the below command to verify the configuration status.

[root@linuxhelp Desktop]# httpd -t
Syntax OK

Restart the apache by using the below command.

[root@linuxhelp Desktop]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]

Run the following command to edit the iptables to allow default apache port 80 and to restart the iptable service.

[root@linuxhelp Desktop]# iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
[root@linuxhelp Desktop]# service iptables restart
iptables: Setting chains to policy ACCEPT: filter mangle na[ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]
iptables: Applying firewall rules: [ OK ]

Now start download the OTRS package by using the below command.

[root@linuxhelp Desktop]# wget http://ftp.otrs.org/pub/otrs/RPMS/rhel/6/otrs-3.3.6-01.noarch.rpm
--2016-08-04 15:09:01-- http://ftp.otrs.org/pub/otrs/RPMS/rhel/6/otrs-3.3.6-01.noarch.rpm
Resolving ftp.otrs.org... 178.63.12.4
.
.
.
100%[============================================================================> ] 20,259,619 160K/s in 3m 35s
2016-08-04 15:12:37 (91.9 KB/s) - “ otrs-3.3.6-01.noarch.rpm”  saved [20259619/20259619]

Then install the OTRS package with below command.

[root@linuxhelp Desktop]# yum install otrs-3.3.6-01.noarch.rpm
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify,
: versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
.
.
.
Installed:
otrs.noarch 0:3.3.6-01

Complete!

Additionally, install perl modules. To know the required modules by OTRS, run the below command.

[root@linuxhelp Desktop]# /opt/otrs/bin/otrs.CheckModules.pl

install_perl

Install only the perl required package from the above displayed packages.

Run the below command to install the perl package.

[root@linuxhelp Desktop]# yum install " perl(Encode::HanExtra)"  " perl(GD)"  " perl(GD::Text)"  " perl(GD::Graph)"  " perl(JSON::XS)"  " perl(Mail::IMAPClient)"  " perl(PDF::API2)"  " perl(Text::CSV_XS)"  " perl(YAML::XS)"  
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify,
: versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net

.
.
.

Dependency Installed:
perl-Font-TTF.noarch 0:0.45-6.el6 perl-Parse-RecDescent.noarch 0:1.965-1.el6 perl-common-sense.noarch 0:3.5-1.el6

Complete!

Run the below command to view the installed packages.

[root@linuxhelp Desktop]# /opt/otrs/bin/otrs.CheckModules.pl

view_installed_pack

Now open the browser and enter the ip address with location path. Click next to start installation of OTRS.
ip_address

Here click Accept License option.
license

Now select the database type and then click next.
database_type

Enter the following details and click Check database setting option to verify the database settings.

configure_mysql

db_check

create_db

Here you can modify the system configuration.

modify_system_config

Configure the outbound mail and click next for further process.

config_outbond_mail

Finally, OTRS login details will be generated.

login_details

Now, Login the OTRS with generated username and password.

login_otrs

Home page of OTRS will appear on the screen.

home_page

Tags:
isaiah
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

How to install LAMP Stack on Fedora?

A

For LAMP Setup in Fedora use the following link
https://www.linuxhelp.com/install-lamp-fedora-22/

Q

Where to download the ORTS package in archive format?

A

To download the ORTS package in archive format follow URL "http://ftp.otrs.org/pub/otrs/RPMS/rhel/6/"

Q

In Centos server installation of the package via RPM can be achieved in YUM?

A

In Centos, server RPM can be installed by using "rpm -ivh" rpm package and also via "yum install rpm" package.

Q

How to rectify OTRS installation error, while running the Perl scripts "otrs.CheckModules.pl"?

A

May be the "otrs.CheckModules.pl " won't have executable permission change them as "chmod +x /opt/otrs/bin/otrs.CheckModules.pl" and proceed with the setup of OTRS.

Q

How to overcome access denied error and also Database connection issue in OTRS?

A

After configuring OTRS make sure the DB user has full privilege over the created directory.

Related Tutorials in How to Install OTRS on CentOS

Related Tutorials in How to Install OTRS on CentOS

How to Install OTRS on CentOS
How to Install OTRS on CentOS
Aug 6, 2016
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Isaiah ?
What is the use of SUID & SGID commands

How to set the special permissions to the files and folders using SUID and SGID commands...

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.