How to OSticket on Linux mint 18.03

To install OSticket on Linux mint 18.03

Osticket is an open source ticketing software which provides quick fix any issue or technical problem raised by any company/organization. It can be done through web-forms, email, and phone calls into a web-based customer support platform. This tutorial covers the installation procedure of OSticket on Linux mint 18.03.

Prerequisites

Install LAMP(Apache, MariaDB, php7) In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules

add-apt-repository ppa:ondrej/php 
apt-get update 
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring  php7.0-common  
php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl php7.0-apcu

Installation

Download an OSticket package by using wget.

linuxhelp ~ # wget http://osticket.com/sites/default/files/download/osTicket-v1.10.4.zip
--2018-09-18 17:24:18--  http://osticket.com/sites/default/files/download/osTicket-v1.10.4.zip
Resolving osticket.com (osticket.com)... 69.164.192.85, 2600:3c00::3a:9200
Connecting to osticket.com (osticket.com)|69.164.192.85|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8693499 (8.3M) [application/zip]
Saving to: ‘osTicket-v1.10.4.zip’

osTicket-v1.10.4.zip     100%[==================================>]   8.29M  11.2MB/s    in 0.7s    

2018-09-18 17:24:41 (11.2 MB/s) - ‘osTicket-v1.10.4.zip’ saved [8693499/8693499]

After Downloading extract the downloaded package

linuxhelp ~ # unzip osTicket-v1.10.4.zip -d osticket
Archive:  osTicket-v1.10.4.zip
  inflating: osticket/scripts/api_ticket_create.php  
  inflating: osticket/scripts/automail.php  
  inflating: osticket/scripts/automail.pl  
  inflating: osticket/scripts/rcron.php  
  inflating: osticket/upload/account.php  
  inflating: osticket/upload/ajax.php  
  inflating: osticket/upload/api/.htaccess  
.
.
.
inflating: osticket/upload/setup/test/tests/test.unitialized.php  
  inflating: osticket/upload/setup/test/tests/test.validation.php  
  inflating: osticket/upload/setup/tips.php  
  inflating: osticket/upload/setup/upgrade.php  
  inflating: osticket/upload/tickets.php  
  inflating: osticket/upload/view.php  
  inflating: osticket/upload/web.config

Change ownership and permission for the osticket directory

linuxhelp ~ # ls
osticket  osTicket-v1.10.4.zip
linuxhelp ~ # chown -R www-data:www-data osticket/ ; chmod -R 775 osticket/

Move the extracted file into the HTML directory

linuxhelp ~ # mv osticket/ /var/www/html/

Rename the ost-sampleconfig.php file.

linuxhelp ~ # cd /var/www/html/osticket/upload/include/
linuxhelp include # mv ost-sampleconfig.php ost-config.php

Create a new virtual host configuration for accessing the OSticket

linuxhelp include # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim os.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/osticket/
<Directory /var/www/html/osticket/>
AllowOverride All
allow from all
</Directory>
</VirtualHost>

Enable site access

linuxhelp sites-available # a2ensite os.conf 
Enabling site os.
To activate the new configuration, you need to run:
  service apache2 reload

Entry to the host's file.

linuxhelp sites-available # vim /etc/hosts
<Give your ip>   <Give your domain>

Restart the apache service to make the changes effect

linuxhelp sites-available # systemctl restart apache2.service

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://<ipaddress or domain name

Check pre-required ( php modules and MySQL ).

Fill out the information on system settings as follows.

Fill the admin user setup.

Fill the database setup as follows.

The installation is completed.

Click Open a New Ticket, to raise a new ticket.

If you want to login your admin page click 'sign in here'.

Login with the admin credentials.

Admin page of Osticket. With this, the method to install Osticket on Linuxmint-18.03 comes to an end.

Tag : Osticket
FAQ
Q
How can I enable the site access?
A
Run the following command:
# a2ensite os.conf
Q
What are OSticket plugins?
A
This WordPress plugin supports the creation of new tickets in the osTicket system by using osTicket API. Only contact forms which send emails are supported as our osTicket plugin hooks the “wp_mail()” function to get the data from the forms.
Q
Can extract the downloaded file?
A
Use the following command:
# unzip osTicket-v1.10.4.zip -d osticket
Q
Is there any alternatives in OSticket?
A
The alternatives are,
Freshdesk. Freshdesk is an award-winning, online help desk software that allows you to support customers over email, phone, the web or even... ...
Zammad. ...
OTRS. ...
Request Tracker. ...
HelpCrunch. ...
Bugzilla. ...
Q
What are the pre-requirements in OSticket?
A
The requirements are,
Install LAMP(Apache, MariaDB, php7) In MariaDB (create database and user and give privileges to that user )