Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Tuesday, 26 January 2016

How to Install & Configure OsTicket on Centos/RHEL 6x

Install OsTicket


Q. What is OSTicket ?

-- 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.

Requirements:
===========

1. Install httpd.
2. Install mysql.
3. Install php.
4. Install OsTicket.

Step: 1. Install Apache Server :

# yum -y install httpd httpd-devel

Step: 2. Restart Apache Server :

# service httpd restart
# chkconfig httpd on

Step: 3. Install & Configure MySQL :

# yum -y install mysql mysql-server mysql-devel

Step: 4. Start Mysqld Service :

# service mysqld restart
# chkconfig mysqld on

Step: 5. Changing MySQL Root Password :

# mysql_secure_installation

Step: 6. Create Database for OsTicket  :

# mysql -u root -p
Enter password:

mysql> create database osticket;
mysql> grant all privileges on osticket.* to osticket@'localhost' identified by 'password';
mysql> flush privileges;
mysql> exit

Step: 7. Install PHP 5.3 :

# yum -y install php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel \
  php-xml php-imap php-ldap php-mbstring php-odbc php-pear php-xmlrpc php-soap mod_ssl

Step: 8. Restart Apache Service :

# service httpd restart

Step: 9. Install & Configure OsTicket :

# yum -y install unzip
# cd /var/www/html
# wget http://osticket.com/sites/default/files/download/osTicket-v1.9.2.zip
# unzip osTicket-v1.9.2.zip
# ls -ltr
# mv upload support

Step: 10. Rename & Change Permission of 'ost-config.sample.php' :

# cd /var/www/html/support/include
# mv ost-config.sample.php ost-config.php
# chmod 777 ost-config.php

Step: 11. Enable Short_Open_Tag from /etc/php.ini :

# vi /etc/php.ini

-- Find This Line 'short_open_tag'

short_open_tag = On

-- Save & Quit (:wq)

Step: 12. Restart Apache Server :

# service httpd restart

Step: 13. Open Browser & Type :


http://ip address/support/setup/

-- System Settings :
   Helpdesk Name: Support Portal
   Default Email: kchatter@domain.com
   Default Language: English

-- Admin User :
   First Name: Kousik
   Last Name : Chatterjee
   Email Add : kchatterjee@domain.com
   Username  : administrator
   Password  : Passw0rd
   Retype Pass : Passw0rd

-- Database Settings :
   MySQL Hostname : localhost
   MySQL Database : osticket
   MySQL Username : osticket
   MySQL password : password

-- Click On 'Install Now'

Step: 14. After installed OsTicket Delete the /osticket/setup Directory :

# cd /var/www/html/support
# rm -rf setup

Step: 15. Change ost-config.php file Permission :

# chmod 644 /var/www/html/support/include/ost-config.php

Step: 16. Configure Apache Server :

# vi /etc/httpd/conf/httpd.conf

<Directory /var/www/html/support/scp>
    Options +Indexes +Multiviews
        DirectoryIndex index.php
    AllowOverride All
    Allow from all

</Directory>

Uncommented :

NameVirtualHost *:80

-- Save & Quit (:wq)

Step: 17. Create a file under /etc/httpd/Conf.d Folder :

# vi /etc/httpd/conf.d/domain.com.conf

<VirtualHost *:80>

  # Admin email, Server Name (domain name) and any aliases
  ServerAdmin techsupport@domain.com
  ServerName www.domain.com
  ServerAlias domain.com
 
  # Index file and Document Root (where the public files are located)
  DirectoryIndex index.php
  DocumentRoot /var/www/html/support/scp

  # Custom log file locations
  LogLevel warn
  ErrorLog  /logs/domain.com-error_log
  CustomLog /logs/domain.com-access_log combined

</VirtualHost>

-- Save & Quit (:wq)

Step: 18. Restart Apache Server :

# mkdir /logs
# service httpd restart

Step: 19. Open Browser & Type :

http://domain.com/support
User: administrator
Pass: Passw0rd

Below, You'll Find some useful links regarding your Installation.

Your osTicket URL:
http://sever_ip_address/support/   

Your Staff Control Panel:
http://sever_ip_address/support/scp

osTicket Forums:
http://osticket.com/forum/   

osTicket Community Wiki:
http://osticket.com/wiki/

Thanks For Visiting on My Blog, For More Tutorials Keep Visiting My Blog

 

0 comments:

Post a Comment

Copyright © 2016 Kousik Chatterjee's Blog