Skip to content

Tyler338/osticket-prereqs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

osticket-prereqs

osTicket logo

osTicket - Prerequisites and Installation

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


What is osTicket?

  • osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email, phone, and web-based forms into a simple easy-to-use multi-user web interface. Manage, organize and archive all your support requests and responses in one place while providing your customers with accountability and responsiveness they deserve.

Environments and Technologies Used

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

Operating Systems Used

  • Windows 10 (21H2)

List of Prerequisites

  • Microsoft Azure Subscription
  • osTicket installation files

Installation Steps

Disk Sanitization Steps

First, create a new Resource Group in Microsoft Azure Cloud Service. Name this Resource Group "OSTICKET". Create a virtual machine (VM) on the same page and name it "vmosTicket" or anything you like. Pick a region to host the VM in. Pick Windows 10 in the image section, this will be the operating system your VM will use. For the size section pick one that uses 2 cpu's. Lastly, Click review and create to finialize the Resource group and VM creation.



Disk Sanitization Steps Disk Sanitization Steps

In azure go to the VM "vmosticket" and copy the public IP address. Open Remote Desktop, paste the IP address, and connect to your VM. Now that that our VM is connected, let us enable IIS (Internet Information Services ). ISS is a Microsoft web server that runs on Windows operating system and is used to exchange static and dynamic web content with internet users. IIS can be used to host, deploy, and manage web applications using technologies such as ASP.NET and PHP. You'll need to find "CGI" within IIS and enable it.

  • Start Menu > Windows Feature > Internet Information Services > World Wide Web Services > Application Development Features > CGI

  • Now that we have this installed lets download the files needed for osTicket and HeidiSQL.

Disk Sanitization Steps


  • From the Installation Files, download and install PHP Manager for IIS (PHPManagerForIIS_V1.5.0.msi)
  • From the Installation Files, download and install the Rewrite Module (rewrite_amd64_en-US.msi)

Disk Sanitization Steps

  • Create the directory C:\PHP
  • From the Installation Files, download PHP 7.3.8 (php-7.3.8-nts-Win32-VC15-x86.zip) and unzip the contents into C:\PHP
  • From the Installation Files, download and install VC_redist.x86.exe.
  • From the Installation Files, download and install MySQL 5.5.62 (mysql-5.5.62-win32.msi)
  • Once you have installed MySQL Server you will need to create credentials for the MySQL Server. Write the credentials down as they'll be needed later once we setup HeidiSQL.

Disk Sanitization Steps

Disk Sanitization Steps

Disk Sanitization Steps

Everything except HeidiSQL (will be installed later) should be installed now and we'll begin to use/configure IIS manager which we need to run osTicket. Within IIS we'll use PHP Manager to register a new version which includes CGI. We installed CGI earlier in IIS.
  • Open IIS Manager as an Admin, Register the PHP using the file "php-client" within the PHP folder that's located in C:.

Disk Sanitization Steps

Disk Sanitization Steps

Disk Sanitization Steps

Now that our PHP is registered we need to enable some extensions that are currently disabled. In IIS Manager, open PHP Manager, and click "enable or disable an extension". We need to enable three extensions by the name of php_imap.dll, php_intl.dll, php_opcache.dll. Now reload IIS manager and make your way to "Sites > Default > osTickets" and on the right side, click " Browse *:80" to open the osTicket web-interface.

On this page you can see the requirements needed for osTicket and some of the extensions we enabled. If your page doesn't open or some of the extensions aren't enabled you missed a step along the way. Be sure the folder "osTicket" is spelled exactly like this with the capital T. If it's still not working I suggest restarting the tutorial.

Disk Sanitization Steps

Disk Sanitization Steps

Now lets step back and return to c:\inetpub\wwwroot\osticket\include. Once you find it look for the file named "ost-sample-config.php" We will rename it to "ost-config.php". Once that is completed, right click the file, open properties under the secruity tab and click advanced. Now click "Disable Inheritance", then Remove all new permissions and give everyone permissions.

Disk Sanitization Steps

Disk Sanitization Steps

  • Now we'll return to the osTicket webpage so we can finish the installation process. Click continue and you will need to give your help desk a name, an email, and an admin user profile. Put anything you'd like but document all the information because it will be used later once osTicket is installed and running.
  • Next we'll need to download and install HeidiSQL which can be found here.
  • After installation you need to launch heidiSQL and input your username and password that you created (from MySQL server). Connect to a new session using the same information from MySQL and create a database called "osTicket". Return to the osTicket browser we have open and fill out the rest of the page.

Disk Sanitization Steps

Lastly click "install now" at the bottom of the osTicket browser. You've now succesfully setup your own ticketing system and database!

Disk Sanitization Steps

Disk Sanitization Steps

This final section for osTicket installation is cleanup to setup for post installation.
  • Delete: C:\inetpub\wwwroot\osTicket\setup
  • Set Permissions to “Read” only: C:\inetpub\wwwroot\osTicket\include\ost-config.php

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors