- Microsoft Azure (Virtual Machines/Compute)
- Remote Desktop
- Internet Information Services (IIS)
- Windows 10 (21H2)
- Create Windows 10 Virtual Machine in Microsoft Azure
- Remote Desktop into Virtual Machine and Enable IIS in Windows
- Install osTicket and it's dependencies
- Clean Up
Start by preparing your environment for the task. Have the Installation Files page open and loaded before proceeding to the next steps. Installation files- https://drive.google.com/drive/u/2/folders/1APMfNyfNzcxZC6EzdaNfdZsUwxWYChf6
Create an Azure free trial. Upon starting Azure you will have a subscription made for you giving you 200$ in free credits for demo. In reality you will create a new subscription for each department or company to prioritize costs of a service to the approriate account. Go to Virtual Machines and Create a Azure Virtual Machine. Make a new Resource group for the VM to belong to. Set the VM's Operating system to Windows 10 with at least 2 Virtual CPUs. Name the VM osTicket and make sure to remember the login details.Check the "I confirm I have an eligible Windows 10/11 license with multi-tenant hosting rights" box.
Let the Virtual Machine create the virtual network and subnet. Azure will validate that the configurations have passed and then click Create. Allow time for the deployment.
After the deployment is finished go to Virtual Machines and copy the Public IP address from the osTicket VM.Open Remote Desktop and paste the Vm's public IP address. Log in using the credential used during creation. Open control panel in the Virtual Machine go to Programs and then "Turn Windows Features on or Off" option. Find Internet Information Services and check the box enabling it.Go to World Web Services and make sure all of the Common HTTP Features are enabled. In Application Development Features Enable CGI. In Web Management Tools make sure IIS Management Console is enabled. Then click okay and let Windows make the changes. To ensure IIS is enabled go to a browser and enter a loopback address(127.0.0.1) to show Internet Information Services page. If page doesn't load, repeat steps.
Now go back to your main PC and copy the Installation Files URL (https://drive.google.com/drive/u/2/folders/1APMfNyfNzcxZC6EzdaNfdZsUwxWYChf6) and once back on your VM paste in a new browser. Download and install PHP Manager(PHPManagerForIIS_V1.5.0.msi). Download and install the Rewrite Module(rewrite_amd64_en-US.msi). Create a folder in C: named "PHP". Download PHP 7.3.8 (php-7.3.8-nts-Win32-VC15-x86.zip). Unzip the contents into C:\PHP. Download and install VC_redist.x86.exe. Download and install MySQL 5.5.62 (mysql-5.5.62-win32.msi). Choose a Typical Configuration and make sure "Launch Configuration Wizard" is checked. Choose Standard Configuration. Make sure to remember the login details created. Enable root access. Launch Internet Information Services as Administrator. Go to the PHP Manager and register the PHP file (php-cgi.exe). file. Restart IIS. Download and install osTicket v1.15.8. Extract and copy “upload” folder to c:\inetpub\wwwroot. Rename the "upload" folder to "osTicket". Restart IIS. Click Browse .80 after going to Sites/ Defaults/osTicket and the site tells you that some extensions are not enabled.
Go to Sites, Defaults, osTicket and go to the PHP Manager. Click enable or disable an extension and enable "php_imap.dll","php_intl.dll", "php_opcache.dll". Refresh the browser and click continue. Restart IIS for the last time.
Notice the changes after refreshing Browser.
Disable inheritance by going to the ost-config.php file's Properties, then Security and Advanced. Then remove all inherited permissions from this object. Add a new permission for "Everyone" and set it to full control.
Change C:\inetpub\wwwroot\osTicket\include\ost-sampleconfig.php to C:\inetpub\wwwroot\osTicket\include\ost-config.php.
Download and install HeidiSQL(HeidiSQL_12.3.0.6589_Setup.exe).Open Heidi SQL and create a new session. Connect to the session and create a database called “osTicket”.
Make sure to remember the "Root" credentials created earlier. The database name has to match the one created in order to work.
Change permission of ost-config.php to remove write access and set to Read only.
Delete: C:\inetpub\wwwroot\osTicket\setup folder and you have successfully installed osTicket along with all of its prerequisites.