Followed by that I installed OTRS 5.0.17, which was installed successfully and did not gave any error.
When I started to configure OTRS using the Installer.pl file, I was getting this error saying
"Please make sure your database accepts packages over 20 MB in size (it currently only accepts packages up to 16 MB). Please adapt the max_allowed_packet setting of your database in order to avoid errors."

I then edited the /etc/my.cnf file and added below 3 lines to [mysqld] section
max_allowed_packet = 20M
query_cache_size = 32M
innodb_log_file_size = 256M
And then i restarted the Mariadb service, which I was unable to start now. Everytime it gave me error as
"Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details".
Even tried adding those 3 lines to etc/my.cnf.d/zotrs.cnf file (According to some tutorials), even then I was unable to start mariadb service.
Please Suggest, How to install OTRS 5 on Centos 7, which has ISPconfig.