This guide covers the prerequisites and installation of the open-source help desk ticketing system, osTicket.
- Microsoft Azure (Virtual Machines/Compute)
- Remote Desktop
- Internet Information Services (IIS)
- Windows 10 (21H2)
- Azure Virtual Machine
- Internet Information Services (IIS)
- PHP Manager
- Rewrite Module
- VC Redist
- MySQL
- Heidi SQL
- osTicket v1.15.8
-
Setup Virtual Machine on Azure:
-
Go to Azure Portal.
-
Setup your virtual machine with Windows 10 Pro, version 22H2. Note: Ensure your VM has at least 2 vCPUs and 16 GBs of memory.
-
Connect using the public IP address via the remote desktop connection app.
-
-
Configure Windows Features:
-
Install IIS with CGI and Common HTTP Features:
-
Test IIS Installation:
-
Setup PHP and Required Modules:
-
From Installation Files:
- Install PHP Manager for IIS (
PHPManagerForIIS_V1.5.0.msi
). - Install Rewrite Module (
rewrite_amd64_en-US.msi
). - Create a folder in the C drive named
PHP
. - Download and unzip PHP 7.3.8 (
php-7.3.88-nts-Win32-VC15-x866.zip
) toC:\PHP
.
Attention: If a warning appears, choose to "Keep" the file.
- Install PHP Manager for IIS (
-
-
Install VC Redist:
- Download and install
VC_redist.x86.exe
from the installation files.
- Download and install
-
Setup MySQL:
- Download and install MySQL 5.5.62 (
mysql-5.5.62-win32.msi
). - Follow the setup wizard: Typical Setup -> Launch Configuration Wizard (after install) -> Standard Configuration.
- Set the root password as
Password1
and execute the process.
- Download and install MySQL 5.5.62 (
-
Configure IIS for PHP:
- Search for IIS in the windows search bar. Open IIS as an administrator.
- Register a new PHP version within IIS pointing to the
php-cgi.exe
file located inC:\PHP
. - Restart the IIS server.
-
Install osTicket:
- Download osTicket from the Installation Files Folder.
- Extract and copy the "upload" folder to
c:\inetpub\wwwroot
. - Rename the folder from "upload" to "osTicket" within
c:\inetpub\root
. - Reload IIS.
-
Enable Required Extensions in osTicket:
- In IIS, navigate to sites -> Default -> osTicket.
- Open PHP manager and enable the following extensions:
php_imap.dll
php_intl.dll
php_opcache.dll
-
Database Configuration:
- Download and install HeidiSQL from the Installation Files.
- Create a new session ensuring the username is
root
and the password isPassword1
. - Create a new database named
osTicket
within HeidiSQL. - Back in the osTicket setup on your browser, fill out the form, setting the database name as
osTicket
and using the credentialsroot
andPassword1
.
-
Post Installation Configurations:
- Delete the setup folder located in
C:\inetpub\wwwroot\osTicket\setup
. - Set the permissions of the
ost-config.php
file back to "Read" only. - Log in to osTicket through the browser.
- Delete the setup folder located in
Congratulations! osTicket is now successfully installed and configured on your system!