This tutorial outlines the prerequisites and installation of the open-source help desk ticketing system osTicket.
- osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone, and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve.
- Microsoft Azure (Virtual Machines/Compute)
- Remote Desktop
- Internet Information Services (IIS)
- Windows 10 (21H2)
- Microsoft Azure Subscription
- osTicket installation files
First, create a new Resource Group in Microsoft Azure Cloud Service. Name this Resource Group "OSTICKET". Create a virtual machine (VM) on the same page and name it "vmosTicket" or anything you like. Pick a region to host the VM in. Pick Windows 10 in the image section, this will be the operating system your VM will use. For the size section pick one that uses 2 cpu's. Lastly, Click review and create to finialize the Resource group and VM creation.
In azure go to the VM "vmosticket" and copy the public IP address. Open Remote Desktop, paste the IP address, and connect to your VM. Now that that our VM is connected, let us enable IIS (Internet Information Services ). ISS is a Microsoft web server that runs on Windows operating system and is used to exchange static and dynamic web content with internet users. IIS can be used to host, deploy, and manage web applications using technologies such as ASP.NET and PHP. You'll need to find "CGI" within IIS and enable it.
-
Start Menu > Windows Feature > Internet Information Services > World Wide Web Services > Application Development Features > CGI
-
Now that we have this installed lets download the files needed for osTicket and HeidiSQL.
- From the Installation Files, download and install PHP Manager for IIS (PHPManagerForIIS_V1.5.0.msi)
- From the Installation Files, download and install the Rewrite Module (rewrite_amd64_en-US.msi)
- Create the directory C:\PHP
- From the Installation Files, download PHP 7.3.8 (php-7.3.8-nts-Win32-VC15-x86.zip) and unzip the contents into C:\PHP
- From the Installation Files, download and install VC_redist.x86.exe.
- From the Installation Files, download and install MySQL 5.5.62 (mysql-5.5.62-win32.msi)
- Once you have installed MySQL Server you will need to create credentials for the MySQL Server. Write the credentials down as they'll be needed later once we setup HeidiSQL.
- Open IIS Manager as an Admin, Register the PHP using the file "php-client" within the PHP folder that's located in C:.
On this page you can see the requirements needed for osTicket and some of the extensions we enabled. If your page doesn't open or some of the extensions aren't enabled you missed a step along the way. Be sure the folder "osTicket" is spelled exactly like this with the capital T. If it's still not working I suggest restarting the tutorial.
Now lets step back and return to c:\inetpub\wwwroot\osticket\include. Once you find it look for the file named "ost-sample-config.php" We will rename it to "ost-config.php". Once that is completed, right click the file, open properties under the secruity tab and click advanced. Now click "Disable Inheritance", then Remove all new permissions and give everyone permissions.
- Now we'll return to the osTicket webpage so we can finish the installation process. Click continue and you will need to give your help desk a name, an email, and an admin user profile. Put anything you'd like but document all the information because it will be used later once osTicket is installed and running.
- Next we'll need to download and install HeidiSQL which can be found here.
- After installation you need to launch heidiSQL and input your username and password that you created (from MySQL server). Connect to a new session using the same information from MySQL and create a database called "osTicket". Return to the osTicket browser we have open and fill out the rest of the page.
- Delete: C:\inetpub\wwwroot\osTicket\setup
- Set Permissions to “Read” only: C:\inetpub\wwwroot\osTicket\include\ost-config.php



















