osTicket 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. The best part is, it’s completely free. This Guide will quickly guide you on how to install Open Source support ticketing system OsTicket On Linux.
What do you need to install Open Source support ticketing system OsTicket on Linux
- RHEL 6 OS: For demo we have used RHEL6 OS.
[root@rhel1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Steps needed to install Open Source support ticketing system OsTicket
1. Install httpd
[root@rhel1 ~]# yum -y install httpd httpd-devel
2. Restart Apache Server
In the next step we need to restart the apache server and add apache service in chkconfig so that it will be get started up after reboot automatically.
[root@rhel1 ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@rhel1 ~]# chkconfig httpd on
3.Install and Configure MySQL
In the next step we need to install MySQL 0n the server.
[root@rhel1 ~]# yum -y install mysql mysql-server mysql-devel
4. Start Mysqld Service :
In this step we need to start the MySQL service also add MySQL service in chkconfig so that it will be get started up after reboot automatically.
[root@rhel1 ~]# service mysqld restart
[root@rhel1 ~]# chkconfig mysqld on
5.Changing MySQL Root Password :
Once we have started to MySQL service we need to change the MySQL root password.
[root@rhel1 ~]# mysql_secure_installation
Please enter following answers to question during setup:
Enter current password for root (enter for none): (Please Press enter for setting the root password)
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can log into the MySQL
root user without the proper authorisation.
Set root password? [Y/n] Y
Re-enter new password:
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y
6. Create Database required for OsTicket
Now we will be creating database required for OsTicket.
[root@rhel1 ~]# mysql -u root -p
You will get mysql prompt once you successfully authenticated. Please use below command for database creation.
mysql> create database osticket;
mysql> grant all privileges on osticket.* to osticket@'localhost' identified by 'password';
mysql> flush privileges;
In the next step we will be installing PHP.