Difference between revisions of "Osticket"

From SME Server
Jump to navigationJump to search
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== osticket 1.6.rc3 ==
+
== osticket 1.6.rc5 ==
  
 
== Description ==
 
== Description ==
Line 9: Line 9:
 
At this point download the latest [http://www.osticket.com/downloads.php osTicket]. Uncompress the files and upload files and directories in upload directory to a directory of your choice on your server. For example /opt/osticket
 
At this point download the latest [http://www.osticket.com/downloads.php osTicket]. Uncompress the files and upload files and directories in upload directory to a directory of your choice on your server. For example /opt/osticket
  
 +
mkdir -p /temp/downloads
  
 
  cd /temp/downloads
 
  cd /temp/downloads
  
  wget http://www.osticket.com/download/osticket_1.6.rc3.tar.gz
+
  wget http://www.osticket.com/dl/osticket_1.6.rc5.tar.gz
 +
Latest version: https://github.com/osTicket/osTicket/releases/download/v1.9.13/osTicket-v1.9.13.zip
  
  tar xvzf osticket_1.6.rc3.tar.gz
+
  tar xvzf osticket_1.6.rc5.tar.gz
  
  mv /temp/downloads/osticket_1.6.rc3 /opt/osticket
+
  mv /temp/downloads/osticket_1.6.rc5 /opt/osticket
  
 
  chown -R www.www /opt/osticket
 
  chown -R www.www /opt/osticket
Line 30: Line 32:
 
osTicket installer needs to be able to write and modify ostconfig.php found in the upload's root directory. Change the permission settings for the ostconfig.php file so that it is writable by the webserver.
 
osTicket installer needs to be able to write and modify ostconfig.php found in the upload's root directory. Change the permission settings for the ostconfig.php file so that it is writable by the webserver.
  
  chmod 777 /opt/osticket/upload/ostconfig.php
+
  chmod 777 /opt/osticket/upload/include/ost-config.php
  
 
== Create a Template Fragement ==  
 
== Create a Template Fragement ==  
 
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 
  
 
  cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 
  cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
Line 86: Line 86:
  
 
Delete install directory.  
 
Delete install directory.  
 
We are done! You can now log in with the username and password you created during the install process. After a successful log in, you can proceed with the next step, Post-Install Setup.
 
 
  
 
  cd /opt/osticket/upload
 
  cd /opt/osticket/upload
Line 94: Line 91:
 
  chmod 644 ostconfig.php
 
  chmod 644 ostconfig.php
  
 +
rm -rf /opt/osticket/upload/setup
 +
 +
We are done! You can now log in with the username and password you created during the install process. After a successful log in, you can proceed with the next step, Post-Install Setup.
  
 +
----
 
[[Category:Howto]]
 
[[Category:Howto]]
 +
[[Category:Webapps]]

Latest revision as of 12:23, 19 May 2016

osticket 1.6.rc5

Description

osTicket is a widely-used open source support ticket system. It seamlessly integrates inquiries created via email and web-based forms into a simple easy to use multi-user web interface. Easily manage, organize and archive all your support requests and responses in one place.

Getting Started

At this point download the latest osTicket. Uncompress the files and upload files and directories in upload directory to a directory of your choice on your server. For example /opt/osticket

mkdir -p /temp/downloads
cd /temp/downloads
wget http://www.osticket.com/dl/osticket_1.6.rc5.tar.gz

Latest version: https://github.com/osTicket/osTicket/releases/download/v1.9.13/osTicket-v1.9.13.zip

tar xvzf osticket_1.6.rc5.tar.gz
mv /temp/downloads/osticket_1.6.rc5 /opt/osticket
chown -R www.www /opt/osticket
chmod 750 /opt/osticket
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
mkdir -p /opt/osticket/upload/attachments
chmod 777 /opt/osticket/upload/attachments

osTicket installer needs to be able to write and modify ostconfig.php found in the upload's root directory. Change the permission settings for the ostconfig.php file so that it is writable by the webserver.

chmod 777 /opt/osticket/upload/include/ost-config.php

Create a Template Fragement

cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
pico 99osticket
# osticket

Alias /support /opt/osticket/upload
<Directory /opt/osticket/upload>
     Options -Indexes
     AllowOverride None
     order deny,allow
     deny from all
     allow from all
     AuthName "osticket"
     AuthType Basic
     AuthExternal pwauth
     Satisfy all
     AddType application/x-httpd-php .php .php3
     php_admin_value open_basedir /opt/osticket/upload/:/tmp
     php_flag  magic_quotes_gpc  on
     php_flag  track_vars        on
</Directory>

Save by pressing Ctrl x, press y to save changes and press enter

expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd-e-smith restart

Create Database

mysql -e "create database osticket"
mysql -e "grant all privileges on osticket.* to osticketuser@localhost identified by 'osticketpassword'"
mysql -e "flush privileges"

Using web installation script

Once all of the above steps are complete, you can complete the installation and basic setup in a web browser. You can invoke the installer by simply browsing the osTicket URL http://www.yourdomain.com/support/setup/

http://www.yourdomain.com/support/setup/ 

Finishing Up

If the setup script has finished running with no errors, then congratulations osTicket is installed. Your next step should be to fully configure your new support ticket system for use, but before you get to it please take a second to cleanup.

Change permission of ostconfig.php to 644

Delete install directory.

cd /opt/osticket/upload
chmod 644 ostconfig.php
rm -rf /opt/osticket/upload/setup

We are done! You can now log in with the username and password you created during the install process. After a successful log in, you can proceed with the next step, Post-Install Setup.