1. prereqs

source /etc/cid.conf
curl -s http://${rdsserver}/sharel/bin/inst-httpd | sh
curl -s http://${rdsserver}/sharel/bin/inst-mariadb-server | sh

2. installation

source /etc/cid.conf
wget -nv https://github.com/opensupports/opensupports/releases/download/v4.9.0/opensupports_v4.9.0.zip -O /tmp/opensupports.zip
mkdir -p /var/www/html/hdesk
unzip -q /tmp/opensupports.zip -d /var/www/html/hdesk/
rm -f /tmp/opensupports.zip
chown apache:apache -R /var/www/html/hdesk/
wget -N -nv http://${rdsserver}/sharel/etc/httpd/conf.d/hdesk.conf -P /etc/httpd/conf.d/
systemctl reload httpd.service

3. configuration

mysql -u"root" -p"Passw0rd" -e "create database if not exists hdesk;"
mysql -u"root" -p"Passw0rd" -e "grant all privileges on hdesk.* to 'dbmusr'@'%' identified by 'Passw0rd';"
mysql -u"root" -p"Passw0rd" -e "grant all privileges on hdesk.* to 'dbmusr'@'localhost' identified by 'Passw0rd';"
mysql -u"root" -p"Passw0rd" -e "flush privileges;"

4. references