In this guide, we'll install osTicket in a virtual environment using VirtualBox. This method allows easy file transfer and is ideal for educational purposes. Snapshots are recommended for troubleshooting and rerunning the lab.
- Oracle VM VirtualBox
- Internet Information Services (IIS)
- MySQL
- Windows 10
-
Download Installation Files:
-
Enable Drag and Drop:
-
Install Guest Additions:
-
Prepare osTicket Folder:
- Create a folder named "osTicket" on the VM desktop and drag installation files into it.
- Take a snapshot of the VM.
- Enable IIS:
- Go to
Control Panel > Programs and Features > Turn Windows features on or off
. - Enable
IIS Management Console
,CGI
, and allCommon HTTP Features
.
- Go to
-
Verify IIS Installation:
- Open a web browser and navigate to
127.0.0.1
to check if the IIS page loads.
- Open a web browser and navigate to
-
Install PHP Manager:
- Install
PHPManagerForIIS_V1.5.0.msi
.
- Install
-
Install Rewrite Module:
- Install
rewrite_amd64_en-US.msi
.
- Install
-
Setup PHP:
- Create a folder
C:\PHP
. - Unzip
php-7.3.8-nts-Win32-VC15-x86.zip
and copy contents toC:\PHP
. - Install
VC_redist.x86.exe
.
- Create a folder
-
Install MySQL:
- Install
mysql-5.5.62-win32.msi
with typical setup. - Use MySQL Instance Configuration Wizard with standard configuration and root password
Password1
.
- Install
-
Configure IIS Manager:
-
Install osTicket:
- Extract and copy the
upload
folder toC:\inetpub\wwwroot
and rename it toosTicket
. - Restart PHP Manager.
- Extract and copy the
-
Configure PHP Extensions:
-
Complete osTicket Installation:
-
Browse to
Sites > Default Web Site > osTicket
and click onBrowse *:80 (http)
. -
Rename
C:\inetpub\wwwroot\osTicket\include\ost-sampleconfig.php
toost-config.php
. -
Change permissions on
ost-config.php
by disabling inheritance and giving full control to everyone. -
-
Now you should be able to access the osTicket installer page. Follow the on-screen instructions to complete the setup. Remember to write down the username and email you use to signup and use
Password1
as default password. -
-
-
-
Install HeidiSQL and create a new database called
osTicket
. We will be using our credentials from MySQL in HeidiSQL and in the database settings,root
and passwordPassword1
. -
-
Congratulations! You just installed osTicket.
-
-
Finally, perform post-installation cleanup by deleting the
setup
folder and changing the permissions onost-config.php
to read & execute and read-only. -
-
-
This lab can be challenging, and issues may arise during the setup. Using VirtualBox is preferable over Azure because you can create and load snapshots, allowing you to quickly restore your environment without needing to reinstall the virtual machine. Additionally, VirtualBox's drag-and-drop feature helps overcome slow download speeds by easily transferring installation files to the VM. Finally, there are no fees associated with using VirtualBox compared to cloud services.