OTRS INSTALLATION ON CENTOS 7:-
Database for OTRS has been created successfully in MySQL DB
Configuring System Setting
Finally OTRS setup is completed and user can access via web portal.
OTRS, stands for Open source Ticket Request System, is a popular help desk software that can be used to assign tickets to incoming queries, and tracks further communications when needed. using OTRS, we can manage incoming inquiries, complaints, support requests, defect reports, and other communications.
1. Install MySQL:-
sudo yum install mariadb-server mariadb -y
Add a below entry in MySQL Configuration File:
sudo vi /etc/my.cnf
[mysqld]
max_allowed_packet = 20M
query_cache_size = 32M
innodb_log_file_size = 256M
datadir=/var/lib/mysql
2. Create a MySQL Root user:-
sudo mysql_secure_installation
3. Start the MySQL / MariaDB Serveice:-
sudo systemctl start mysqld.service
sudo systemctl enable mysqld.service
sudo systemctl status mysqld.service
4. Install OTRS using RPM Repository:-
wget http://ftp.otrs.org/pub/otrs/RPMS/rhel/7/otrs-5.0.15-01.noarch.rpm
yum install otrs-5.0.15-01.noarch.rpm
5. OTRS dependency to check using perl script:-
OTRS is written in Perl, it uses a number of Perl modules. We can check for missing modules by using the CheckModules.pl script included with OTRS.
sudo /opt/otrs/bin/otrs.CheckModules.pl
We have to install the dependency packages which are displayed as not installed. Please find the below command to install the above not installed packages.
yum install "perl(Apache2::Reload)" "perl(Crypt::Eksblowfish::Bcrypt)" "perl(Encode::HanExtra)" "perl(JSON::XS)" "perl(Mail::IMAPClient)" "perl(ModPerl::Util)" "perl(Text::CSV_XS)" "perl(YAML::XS)" "perl(DBD::Pg)" "yum install "perl(DBD::mysql)"
Again run the perl script sudo /opt/otrs/bin/otrs.CheckModules.pl
Note:- ODBC and Oracle package not required here to install because we are using MySQL Database for OTRS. If you use Oracle or MS-SQL DB then you must install above package.
Once everything is installed perfectly, Next we need to restart the apache service.
6. Install Apache:-
yum install httpd -y
http -v -> to check http version
systemctl start httpd.service
systemctl enable httpd.service
systemctl restart httpd.service
systemctl status httpd.service
Default location for apache:
/var/www/html/
7. Access OTRS Setup Wizard in web:
http://10.11.12.40/otrs/installer.pl
Select Database from the list we going to use, Here we installed MySQL so need to select MySQL.
Configure MySQL we need to give MySQL username and password
User: root
Password: root password of mysql [created during mysql installation]
Create user and database for OTRS.
Here username: otrs
Password: ****
Databasename: otrs
Database for OTRS has been created successfully in MySQL DB
Configuring System Setting
Configuring mail setup
Finally OTRS setup is completed and user can access via web portal.
8. OTRS web portal login
http://10.11.12.40/otrs/index.pl
9. Start the OTRS demon and cron :-
OTRS daemon and activate its cronjob.
su - otrs -c "/opt/otrs/bin/otrs.Daemon.pl start"
sudo su - otrs -c "/opt/otrs/bin/Cron.sh start"
OTRS Dashboard:
ConversionConversion EmoticonEmoticon