osticket installation step by step

osTicket is an often used for support. It is written in PHP and it comes with a  simple and intuitive web interface used to manage, organize, track and archive all support ticket requests in your company. today I am installing osticket apache server

How to install osticket apache server ( )

Now our first step is installing an apache web server and maria database server for connecting osticket service simple install via the apt ubuntu packet manager.

sudo apt install apache2 mariadb-server
osticket installation
MariaDB Create database ( osticket installation )

we see our apache server and MariaDB server is installed the second step is log in with the database I am login our root database and create a new database with MySQL query.

sudo mysql -u root -p
  • create database osticket;
  • create user ‘ostuser’@’localhost’ identified by ‘password’;
  • grant all on osticket.* to ‘ostuser’@’localhost’ identified by ‘password’ with grant option;
osticket installation
  • flush privileges;
  • exit;

The next step is to install php modules osticket requirements. (osticket installation )

sudo apt install php php-gd php-mysql php-imap php-xml php-dom php-mbstring php-intl php-apcu

you download here osticket Github link I am downloading with Linux wget command

sudo wget https://github.com/osTicket/osTicket/releases/download/v1.14.1/osTicket-v1.14.1.zip
osticket installation

After completing the download, we see our directory osticket .zip extracting the file with unzipping toll (-d parameter use for our apache destination folder)

sudo unzip osTicket-v1.14.1.zip -d /var/www/html/ostiket
osticket installation
changing permission osticket directory ( osticket install )
chmod -R 755 /var/www/html/ostiket
changing ownership and group ( osticket installation )
sudo choww -R www-data:www-data /var/www/html/ostiket
osticket installation

cd /var/www/html/ostiket/upload

next configuration is renamed the ost-sampleconfig.php file

sudo cp include/ost-sampleconfig.php include/ost-config.php

After copying the new ost-sampleconfig.php file no permissions changing permission our new file

sudo chmod 0666 include/ost-config.php
osticket installation

This is the next step complete all step we need to restart our apache server

service apache2 restart

Open your web browser and put your IP address in URL and your osticket destination directory and hit enter and we see our osticket installation dashboard now put your helpdesk name and email address, your database name password fills you’re according to all field. and click install now button

http://192.168.0.107/ostiket/upload/setup/install.php

we see congratulation massage your os Ticket installation has been completed successfully and our next step is changing permission we see the image file

osticket installation

we see our osTicket URL I am opening the URL new tab and our support center is work correctly

http://192.168.0.107/ostiket/upload/

How to install multi-website one server see here

About Rahul Gehlaut

Cyber Security Researcher, CTF Player. Tech Blog Writer.

View all posts by Rahul Gehlaut →