This tutorial guides you through the steps to create a Windows 10 Virtual Machine in Azure and install osTicket with all necessary dependencies.
- Microsoft Azure (Virtual Machines/Compute)
- Remote Desktop
- Internet Information Services (IIS)
- Windows 10 (21H2)
Before you begin, ensure you have the following:
- Azure Account: You need an active Azure subscription to create and manage resources.
- Remote Desktop Client: To connect to the Windows VM in Azure.
- osTicket Installation Files: Download from Google Drive.
-
Create a Resource Group in Azure
-
Create a Windows 10 Virtual Machine (VM)
- Use 2-4 Virtual CPUs.
- Allow it to create a new Virtual Network (Vnet).
-
Create an Azure Virtual Machine Windows 10, 4 vCPUs
- Name:
Vm-osticket
- Username:
labuser
(example) - Password:
osTicketPassword1!
(example)
- Name:
-
Download Installation Files
-
Install / Enable IIS in Windows with the following features:
- CGI and Common HTTP Features
- World Wide Web Services -> Application Development Features ->
- CGI
- Common HTTP Features
- Internet Information Services -> Web Management Tools -> IIS Management Console
- IIS Management Console
-
From the Installation Files, download and install the following:
- PHP Manager for IIS:
PHPManagerForIIS_V1.5.0.msi
- Rewrite Module:
rewrite_amd64_en-US.msi
- PHP Manager for IIS:
-
Create the directory
C:\PHP
-
Download and install PHP 7.3.8:
- File:
php-7.3.8-nts-Win32-VC15-x86.zip
- Unzip the contents into
C:\PHP
- File:
-
Download and install VC_redist.x86.exe
-
Download and install MySQL 5.5.62:
- File:
mysql-5.5.62-win32.msi
- Typical Setup
- Launch Configuration Wizard (after install) ->
- Standard Configuration
- Password:
Password1
- File:
-
Open IIS as an Admin
-
Register PHP from within IIS
-
Reload IIS (Open IIS, Stop and Start the server)
-
Install osTicket v1.15.8:
- Download osTicket from the Installation Files Folder.
- Extract and copy the “upload” folder to
C:\inetpub\wwwroot
. - Within
C:\inetpub\wwwroot
, rename “upload” to “osTicket”.
-
Reload IIS (Open IIS, Stop and Start the server)
-
Go to sites -> Default -> osTicket:
- On the right, click “Browse *:80”.
-
Enable PHP Extensions:
- Back to IIS, sites -> Default -> osTicket
- Double-click PHP Manager.
- Click “Enable or disable an extension”.
- Enable:
php_imap.dll
,php_intl.dll
,php_opcache.dll
. - Refresh the osTicket site in your browser and observe the changes.
-
Rename
ost-config.php
:- From:
C:\inetpub\wwwroot\osTicket\include\ost-sampleconfig.php
- To:
C:\inetpub\wwwroot\osTicket\include\ost-config.php
- From:
-
Assign Permissions to
ost-config.php
:- Disable inheritance -> Remove All.
- New Permissions -> Everyone -> All.
-
Continue Setting up osTicket in the browser:
- Name: Helpdesk
- Default email: (receives email from customers)
-
Download and install HeidiSQL from the Installation Files
-
Open HeidiSQL:
- Create a new session,
root/Password1
. - Connect to the session.
- Create a database called
osTicket
.
- Create a new session,
-
Continue Setting up osTicket in the browser:
- MySQL Database:
osTicket
- MySQL Username:
root
- MySQL Password:
Password1
- Click “Install Now!”
- MySQL Database:
-
Congratulations! 🥳 🥳 🥳
- Browse to your help desk login page:
http://localhost/osTicket/scp/login.php
- Browse to your help desk login page:
-
Delete:
C:\inetpub\wwwroot\osTicket\setup
-
Set Permissions to “Read” only:
C:\inetpub\wwwroot\osTicket\include\ost-config.php
- Browse to your help desk login page:
http://localhost/osTicket/scp/login.php
- End Users osTicket URL:
http://localhost/osTicket/