How To Install osTicket v1.14 On Ubuntu 20.04

I want to share how to install osTicket v1.14 for Ubuntu 20.04 server. osTicket written by php mysql. This guide for installation process not for any customize. You can use this system for your company support portal.

How To Install Java And Tomcat On Ubuntu 16.04
How To Install DNS Server (Bind9) On Ubuntu 20.04

My server info :

IP address : 10.66.11.15
OS : Ubuntu 20.04 LTS
RAM : 2 GB
Disk : 50 GB
vCPU : 2
CPU op-mode(s) : 64-bit
Service : osTicket v1.14.2
Database : Mariadb
vPHP : 7.3

Step : Must be server update and upgrade.

root@osTicket:~# vi /etc/resolv.conf

Insert name server as like below

nameserver 8.8.8.8

Step : Install web server (Apache) and database server (Mariadb).

root@osTicket:~# apt install software-properties-common
root@osTicket:~# add-apt-repository ppa:ondrej/php
root@osTicket:~# apt update
root@osTicket:~# apt install php7.3 -y
root@osTicket:~# apt install mariadb-server libapache2-mod-php7.3 php7.3-mbstring php7.3-cli php7.3-mysql php7.3-cgi php7.3-fpm php7.3-gd php7.3-imap php7.3-xml php7.3-intl php-dev libmcrypt-dev php-pear php-apcu unzip -y
root@osTicket:~# systemctl enable apache2
root@osTicket:~# systemctl start apache2
root@osTicket:~# systemctl enable mariadb
root@osTicket:~# systemctl start mariadb
root@osTicket:~# mysql_secure_installation

If needed root password setup so run last command otherwise not run this command. mysql_secure_installation. By default mariabd is secure.

Step : Create database, use and user password.

MariaDB [(none)]> create database osticket_db;
MariaDB [(none)]> create user osticket_user@localhost identified by 'Passw0rd@123';
MariaDB [(none)]> grant all privileges on osticket_db.* to osticket_user@localhost identified by 'Passw0rd@123';
MariaDB [(none)]> flush privileges;
MariaDB [(none)]> exit;

Step : Download and extract into root folder.

root@osTicket:~# wget https://github.com/osTicket/osTicket/archive/v1.14.2.zip
root@osTicket:~# unzip v1.14.2.zip
root@osTicket:~# mv osTicket-1.14.2/* /var/www/html/
root@osTicket:~# rm -rf /var/www/html/index.html
root@osTicket:~# cp /var/www/html/include/ost-sampleconfig.php /var/www/html/include/ost-config.php

Setup file permission for root folder.

root@osTicket:~# chown -R www-data:www-data /var/www/html/
root@osTicket:~# chmod 755 -R /var/www/html/
root@osTicket:~# vi /etc/apache2/sites-available/000-default.conf

Now see default web root folder is /var/www/html/ otherwise it is change needed.

Restart web server using below command.

root@osTicket:~# service apache2 restart

Now browse server ip address for complete web installation process.

http://10.66.11.15/

Step : Check osTicket prerequisites if all is done!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Click Continue

Step : osTicket basic installation.

Create system settings, Admin user and database configuration (db name, user name & password).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Click Install Now

Wait at least 1-2 min for complete installation process done! Then see Congratulations! page and login url.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

After complete installation done! Then access your staff panel and home page.

Step : After installation done change some permission and remove setup folder.

root@osTicket:~# rm -rf /var/www/html/setup/
root@osTicket:~# chmod 0644 /var/www/html/include/ost-config.php 

For more details see YouTube channel and subscribe.

The post How To Install osTicket v1.14 On Ubuntu 20.04 appeared first on TechnologyRSS.

Ubuntu Server Admin

Recent Posts

🚀 Deploy Elastic Stack on Ubuntu VPS (5 Minute Quick-Start Guide)

Here’s the guide to deploy Elastic Stack on Ubuntu VPS, with secure access, HTTPS proxying,…

1 day ago

🚀 Deploy Nagios on Ubuntu VPS

This guide walks through deploying Nagios Core on an Ubuntu VPS, from system prep to…

1 day ago

Shoryuken Has a New Maintainer, and v7.0.0 Is Almost There

After a decade under Pablo Cantero's stewardship, Shoryuken has a new maintainer - me. I'm…

5 days ago

A better way to provision NVIDIA BlueField DPUs at scale with MAAS

MAAS 3.7 has been officially released and it includes a bunch of cool new features.…

2 weeks ago

Ruby Floats: When 2.6x Faster Is Actually Slower (and Then Faster Again)

Update: This article originally concluded that Eisel-Lemire wasn't worth it for Ruby. I was wrong.…

2 weeks ago

MicroCeph: why it’s the superior MinIO alternative (and how to use it)

Recently, the team at MinIO moved the open source project into maintenance mode and will…

2 weeks ago