- Edited
One of the strengths I've found with OsTicket is the robust and easy initial installation.Naturally, everyone does things a little differently though so I thought I would share my own build notes.I tend to stick to Centos, have a policy of services are always born https only, and like to keep SELinux enabled.My notes tend to be in short hand a little so if any additional explanation is required just ask.<after a standard Centos 7 minimal x64 install>Prereq software installs:as root:yum install epel-releaseyum updateyum -y group install "Development Tools"yum -y install httpd httpd-devel mod_ssl mariadb-server mariadb mariadb-devel php php-develyum -y install php-mysql php-gd php-php-gettext php-imap php-mbstring php-xml php-pecl-apcu php-intl php-pecl-zendopcache php-ldapupgrade php to 5.6: https://zedt.eu/tech/linux/enabling-php-5-6-opcache-centos-7/Modifications to php config:vi /etc/php.ini^date.timezone = "Australia/Brisbane"upload_max_filesize = 20MConfigure and start mariadb:systemctl enable mariadbsystemctl start mariadbmysql_secure_installation^- set db root passwordmysql -u root -p^CREATE DATABASE osticket CHARACTER SET utf8;CREATE USER 'osticket'@'localhost' IDENTIFIED BY '<yourdbpassword>';GRANT ALL privileges ON osticket.* TO 'osticket'@'localhost';quitAdd in a dedicated user account for this service, you can just use your own account too if that is easier:Just run commands from your own account whenever I have an "as osticket" section:useradd osticketsu - osticketGrab the latest OsTicket source and plugins repos:git clone https://github.com/osTicket/osTicket.gitgit clone https://github.com/osTicket/osTicket-plugins.gitSetup a directory in the webroot to host osTicket from:as root:mkdir /var/www/html/osticketchown osticket /var/www/html/osticketUse the OsTicket manage.php to sync from git repo to webroot, includes copying the setup folder:Copy the ost-config.php file in order for the installer to be able to save settings to it:as osticket:cd osTicketphp manage.php deploy --setup /var/www/html/osticketcd /var/www/html/osticketcp include/ost-sampleconfig.php include/ost-config.phpchmod 0666 include/ost-config.phpAllow writing of this file even with Selinux active:as root: chcon -t httpd_sys_rw_content_t include/ost-config.php... continued in next post...