How To Install osTicket System

Today, we are going to know how to run and install the osTicket Ticket System tool, an open-source (commercial version also available),  in Ubuntu 14.04 server edition. Lots of companies doing service level business. They need to give proper service/support to the client. They should give proper support to the customer. How to do that? They need to maintain customer support ticket system/help desk support.

In this article, I’m going to explain how to install and configure the FREE self-hosted open-source support portal/help desk software osTicket.

What is osTicket?

It is a widely used and trusted open source support ticket system. It seamlessly routes inquiries created via email, web-forms, and phone calls into a simple, easy-to-use, multi-user, web-based customer support platform.

osTicket comes packed with more features and tools than most of the expensive (and complex) support ticket systems on the market. The best part is, it’s completely free.

osTicket Features

  • Custom Fields – Customize the data collected from users when submitting a ticket to help get straight to the issue ;
  • Rich Text or HTML – Rich text or HTML email, is supported and allows for rich text markup in staff replies and internal notes posted to the ticket thread ;
  • Help Topics – Configurable help topics for web tickets. Route inquiries without exposing internal departments or priorities ;
  • Agent Collision Avoidance – Ticket locking mechanism to allow staff to lock tickets during response and avoid conflicting or dual responses ;
  • Assign and Transfer – Transfer tickets between departments to make sure it’s being handled by the correct staff. Assign tickets to a staff or to a team ;
  • Auto-Responder – Configurable automatic reply sent out when a new ticket is opened or a message is received ;
  • Internal Notes – Add internal notes to tickets for staff. Activity logs let you see events or actions that have been taken when they took place, and by whom ;
  • Service Level Agreements – SLA Plans allow you to track tickets and due dates without the hassle ;
  • Customer Portal – All support requests and responses are archived online. Users can log in using email and ticket ID. No user account or registration required to submit a ticket ;
  • Dashboard Reports – Get system overview and basic historical statistics on tickets count and status per department, staff and help topics.

Install OSTicket On Ubuntu 14.04

Since it is a web-based tool, the following prerequisites need to be installed.

  1. Apache ;
  2. MySQL ;
  3. PHP.
First of all, update all packages using the command:
sudo apt-get update && sudo apt-get upgrade

Install all the required prerequisites, including some PHP extensions using the command:
sudo apt-get -y install apache2 mysql-server mysql-client php5 php5-mysql php5-imap php5-gd php5enmod imap

During installation, you’ll be asked to enter the MySQL root user password.

Re-enter the password.

Configuring MySQL for osTicket

Now, log in to the MySQL console and create a database for the osTicket.

mysql -u root -p
This will prompt you for a password, so enter your MySQL root password and hit Enter. Then, Create the database for osTicket and assign proper permission.
mysql> create database osticketdb;
Query OK, 1 row affected (0.01 sec)
mysql> CREATE USER 'osticketuser'@'localhost' IDENTIFIED BY 'ubuntu';
Query OK, 0 rows affected (0.00 sec)
mysql> GRANT ALL ON osticketdb.* TO 'osticketuser'@'localhost';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit

Downloading osTicket installation script

Go to the Apache root directory:
cd /var/www/

Download osTicket latest version from the official download page.
sudo wget //

Create a directory called ‘osticket’ and extract the zip in it.
sudo mkdir osticket
sudo unzip -d osticket

Change HTML/osticket folder permissions:
chown -R www-data:www-data /var/www/osticket/

Finally, restart the Apache service.
sudo service apache2 restart

Accessing osTicket. And See the Installation wizard has been started… Open your favorite browser and navigate to // or //server-IP/osticket the osTicket installer requires the ability to write to the configuration file. 

To do that, copy file ost-sampleconfig.php and rename to ost-config.php:
sudo cd /var/www/osticket
sudo cp include/ost-sampleconfig.phpinclude/ost-config.php

Now change permission: As I mentioned above, the configuration file is not writable. So change the file permission from0644 to 0666 then hit Done, Continue button.
sudo cd /var/www/tickets
sudo chmod 0664 include/ost-config.php

Fill the required details.

Wait for a few seconds. Installation under processing…

Now, you have successfully installed osTicket. Congratulations! Now Open Support center home page. Open your favorite browser and navigate to // or //server-IP. Here is how my osTicket support center looks.

Open Admin/Staff login URL…

Thanks for using this tutorial (Open source ticketing tool) on Ubuntu 14.04 system.

For additional help or useful information, we recommend you to check the official website found below.
Reference: https: //

Updates (06/29/16): osTicket v1.9.9 Released

The osTicket team is pleased to announce the availability of osTicket, v1.9.9, the latest stable release in 1.9.x series.

Don’t forget to leave your comment if you tried to install or work with this System.
Share it with us!
If you like this post, then please subscribe to our YouTube Channel for more upcoming videos.
You can also find us on Twitter, Instagram, and Facebook.




Kris Lacanlale

Hey! I'm Kris. A Dream Catcher collector, your tech-savvy sassy girl behind Dream Catcher Girl, a fur-parents and married while waiting for our super baby to come! Come along with me as I strive to live a life I love to do creatively and chic.