OSTICKET

by 4hala
0 deployments · 0 still active · last rev. 1 year ago

OPEN SOURCE TIKET

Compatible with: Ubuntu 14.04 LTS, Ubuntu 12.04 LTS
						#!/bin/bash

###########################################################################################################
# Install osTicket and Softaculous Webuzo
# Description -
# About Webuzo :
#   Webuzo is a Single User Control Panel which helps users deploy Web Apps (WordPress, Joomla, Drupal, etc)
#   or System Apps (Apache, NGINX, PHP, Java, MongoDB, etc) on their virtual machines or in the cloud.
#
# About osTicket :
#   osTicket is a widely-used open source support ticket system. 
#   Easily manage, organize and archive all your support requests and responses in one place 
#   while providing your clients with accountability and responsiveness they deserve. 
###########################################################################################################

# Install osTicket Script using Webuzo
function install_webuzo_script(){
   
    # Install Webuzo
    install_webuzo
   
    wget http://files.webuzo.com/ip.php >> /root/webuzo-install.log 2>&1
    ip=$(cat ip.php)
   
    /usr/local/emps/bin/curl "http://$ip:2004/install.php?prepareinstall=83&license=$1"
   
}

# Install Webuzo Function
function install_webuzo(){
       
    # Fetch the Webuzo Installer
    wget -N http://files.webuzo.com/install.sh >> /root/webuzo-install.log 2>&1
   
    # Modify Permissions
    chmod 0755 install.sh >> /root/webuzo-install.log 2>&1
   
    # Execute
    ./install.sh  >> /root/webuzo-install.log 2>&1
   
    # Clean Up
    rm -rf install.sh >> /root/webuzo-install.log 2>&1
   
}

#########################################################
#   Installing osTicket and Softaculous Webuzo
#########################################################

install_webuzo_script 

# Check the return of the above command and display the result accordingly

echo " "
echo "-------------------------------------"
echo " Installation Completed "
echo "-------------------------------------"
echo "Congratulations, osTicket has been successfully installed"
echo " "
echo "You can now configure osTicket and Softaculous Webuzo at the following URL :"
echo "http://$ip:2004/"
echo " "
echo "Thank you for choosing Softaculous Webuzo !"
echo " "