Skip to content

Part 1 Guide of Prerequisites and Installation of osTicketing

Notifications You must be signed in to change notification settings

anumkhanit/osticket-prereqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 

Repository files navigation

osTicket logo

osTicket - Prerequisites and Installation (Part 1)

In this installation tutorial, I will walk you through what you need and how to set up osTicket, an open-source help desk ticketing system. With some notes and screenshots to give you a quick peek at the important stuff.

Environments and Technologies Used

  • Microsoft Azure (Virtual Machines: Windows 10 recommend for this guide)
  • RD Client
  • Internet Information Services (IIS)

Operating Systems Used

  • Windows 10 Pro

Files to use for installation


Part 1: Setting Up Your Azure Virtual Machine

1) Create a Resource Group

  • Start by logging into your Azure portal.

  • Click on Create a resource and choose Resource group.

  • Name your resource group, and select a region.

  • Click Review + create and then Create.

2) Create a Windows 10 Virtual Machine

  • In the Azure portal, select your created resource group.

  • Click on Add and search for Windows 10 Pro.

  • Configure your VM with 2-4 virtual CPUs memory as needed.

  • Allow the creation of a new Virtual Network (VNet) during VM setup.


Part 2: Installation

1) Azure Virtual Machine Configuration

  • Name your VM (e.g., "Vm-osticket").

  • Set a username (e.g., "labuser").

  • Choose a strong password (e.g., "osTicketPassword1!") or an easy password for you to remember when you login through the VM Machine.

2) Download Installation Files

3.1) Install Within Windows VM** & Enable IIS with CGI and Common HTTP Features

  • Open Server Manager on your Windows 10 VM. Then go to Manage and select Add roles and features.

  • Go to World Wide Web Services to Application Development Features

    • CGI
    • Common HTTP Features

3.2) Along with IIS Management Console

  • Go to Internet Information Services (or IIS) to Web Management Tools to IIS Management Console
    • IIS Management Console

4) Install PHP Manager for IIS

  • Download and install "PHP Manager for IIS" (PHPManagerForIIS_V1.5.0.msi) from your installation files.

5) Install the Rewrite Module

  • Download and install the "Rewrite Module" (rewrite_amd64_en-US.msi) from your installation files.

6) Create the C:\PHP Directory or Folder

  • Find Windows Files Explorer and head to The PC and create a folder of PHP.

7) Install PHP 7.3.8

  • Download PHP 7.3.8 (php-7.3.8-nts-Win32-VC15-x86.zip) from your installation files. (Note: if you see a warning icon, ignore it and keep it!)

  • After downloading the content, first move the content and unzip it into the PHP folder.

8) Install VC_redist.x86.exe

9) Install MySQL 5.5.62

  • Download and install "MySQL 5.5.62" (mysql-5.5.62-win32.msi) from your installation files.

  • During installation, select Typical Setup and configure with the password Password1.

10) Register PHP in IIS

  • Open IIS as an administrator.

  • Register PHP from within IIS.

11) Reload IIS

  • Open IIS, stop and start the server.

12) Install osTicket v1.15.8

  • Download osTicket from the Installation Files Folder.

  • Extract and copy the upload folder to c:\inetpub\wwwroot.

  • Rename the upload folder to osTicket within c:\inetpub\wwwroot.

13) Reload IIS Again

  • Open IIS, stop and start the server.

14) Configure osTicket

  • Go to sites -> Default -> osTicket.

  • Click *Browse :80. and note any missing extensions.

15) Enable PHP Extensions

  • Go 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.

16) Rename ost-config.php

  • Rename ost-sampleconfig.php to ost-config.php within C:\inetpub\wwwroot\osTicket\include.

17) Assign Permissions to ost-config.php

  • Disable inheritance and remove all permissions.

  • Add new permissions for Everyone with All access.

18) Continue Setting up osTicket in the Browser

  • Visit the osTicket setup page in your browser and follow the on-screen instructions. Name your helpdesk and set the default email.

19) Install HeidiSQL

  • Download and install "HeidiSQL" from your installation files.

  • Open HeidiSQL and create a new session using root and the password Password1.

20) Create a Database

  • Connect to the session and create a database called osTicket.

21) Complete osTicket Setup

  • Continue setting up osTicket in the browser, providing the following details:

    • MySQL Database: osTicket
    • MySQL Username: root
    • MySQL Password: Password1
  • Click Install Now!

Clean Up

1) Delete Setup Files

  • Delete the C:\inetpub\wwwroot\osTicket\setup folder.

2) Set Permissions

  • Set the permissions of C:\inetpub\wwwroot\osTicket\include\ost-config.php to Read only.

Conclusion

Congratulations! You've made it through a complicated task of installing a help desk software by scratch! Now that the osTicket is installed with no errors. You can access your help desk login page at http://localhost/osTicket/scp/login.php. Along with the End Users osTicket URL: http://localhost/osTicket/ you will use for another lesson.