Skip to content

cmpi66/osticket-prereqs

Repository files navigation

osTicket logo

osTicket - Prerequisites and Installation

This tutorial outlines the prerequisites and installation of the open-source help desk ticketing system osTicket.

Environments and Technologies Used

  • Microsoft Azure (Virtual Machines/Compute)
  • Remote Desktop
  • Internet Information Services (IIS)

Operating Systems Used

  • Windows 10 (21H2)

List of Prerequisites

  • Azure subscription
  • new azure resource group
  • windows 10 virtual machine
  • MySQL 5.5
  • PHP
  • osTicket

Creating our resources

  1. Create a Resource Group
  2. Create a Windows 10 Virtual Machine (VM) with 2-4 virtual CPUs

Installing dependencies

  1. Connect to your Virtual Machine with Remote Desktop
  2. Install / Enable IIS in Windows by going to the start menu, control panel, uninstall a program and then click "Turn windows features on or off", check the following box:

IIs image

  1. Install Web Platform Installer
  2. Open after installation
  3. Search for MySQL 5.5 and add it (it will ask for credentials to be created later)

mysql image

  • Name: root
  • Password: Password1
  1. Search for PHP and add all simple versions of x86 PHP up until version 7.3
  2. Fix any failures if required download from dependecies folder you can ignore PHP version 5.3.28 if it fails
  1. Install PHP Manager 1.5.0 for IIS 10 if it fails to install
  2. Install Microsoft Visual C++ 2009 if it fails to install

Install osTicket v1.15.8

  1. Download osTicket
  • Extract and copy the “upload” folder INTO c:\inetpub\wwwroot
  • Within c:\inetpub\wwwroot, Rename “upload” to “osTicket”

osticket image

Reload IIS

  1. open up start menu type "iis" and restart the server, then go to sites -> Default -> osTicket
  2. On the right, click “Browse :80”

iis restart

Enable Extensions in IIS: Note that some extensions are not enabled

  1. Go back to IIS, sites -> Default -> osTicket
  2. Double-click PHP Manager
  3. Click “Enable or disable an extension”
  • Enable: php_imap.dll
  • Enable: php_intl.dll
  • Enable: php_opcache.dll

php enable

Refresh the osTicket site in your browser, observe the changes

Rename:

From: C:\inetpub\wwwroot\osTicket\include\ost-sampleconfig.php

To: C:\inetpub\wwwroot\osTicket\include\ost-config.php

Assign Permissions: ost-config.php

  1. right click the file, go to properties, security, advanced and Disable inheritance -> Remove All
  2. Now click add, select a principal, "Everyone" and give them access to everything, obviously for the sake of practice we're ginving everyone full control, in a real setup this would be unwise.

diabling inheritance

assinging-new-permissions

Continue Setting up osTicket in the browser (click Continue)

  1. Name Helpdesk
  2. Default email (receives email from customers)
  1. Create a new session, root/Password1
  2. Connect to the session
  3. Create a database called “osTicket”

Continue Setting up osticket in the browser

  1. MySQL Database: osTicket
  2. MySQL Username: root
  3. MySQL Password: Password1
  • Click “Install Now!”
  • Congratulations, hopefully it installed with no errors!

Clean up

  1. Delete: C:\inetpub\wwwroot\osTicket\setup (if it fails to delete, delete the contents and then delete the empty folder)
  2. Set Permissions to “Read and execute” only: C:\inetpub\wwwroot\osTicket\include\ost-config.php by following the same step as earlier

read and execute

  1. Login to the osTicket Admin Panel (http://localhost/osTicket/scp/login.php)

your login pages

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published