osticket

最後更新: 2014/09/11

介紹

 

Home page: http://osticket.com/

Program: PHP

 

Osticket

 

安裝前:

基本工具:

yum install wget unzip zip screen

環境:

yum install mysql-server httpd phpmyadmin

yum install php-xcache php-imap php-xml

Service:

chkconfig httpd on

chkconfig mysqld on

service httpd start

service mysqld start

mysql:

/usr/bin/mysql_secure_installation

修改 /etc/httpd/conf.d/phpMyAdmin.conf 加入

Allow from x.x.x.x

service httpd reload

osticket:

osTicket installer needs to be able to write and modify ost-config.php found in the include directory.

cd osticket/public_html/include

cp ost-sampleconfig.php ost-config.php

chmod 777 ost-config.php

之前 browse

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

Admin's personal email address. Must be different from system's default email.

 

安裝後:

Delete setup directory

rm setup -rf

chmod 0664 include/ost-config.php

 


Troubleshooting

ini_set('display_errors',1);
ini_set('display_startup_errors',1);

Admin Penel

http://x.x.x.x/scp/

 


Email Polling

 

automatic cron system

方式有:

  • tasks scheduler (Cron Job)
  • External triggering using wget
  • Auto cron

tasks scheduler (Cron Job)

# osticket
*/5 * * * * nobody /path/to/php -q /path/to/api/cron.php

i.e.

# osticket
*/5 * * * * nobody  /usr/bin/php -q /home/vhosts/osticket/public_html/api/cron.php

/etc/init.d/crond start

chkconfig crond on

 

External triggering using wget

Settings => API => API Keys       <--- Enter the IP of the host that the wget will run from.

*/5 * * * *    nobody  wget -q -O /dev/null --user-agent=<API key here> http://<host & path goes here>/api/cron.php

Auto cron

This is internal task manager triggered by staff's activity, no external setup required!

http://x.x.x.x/scp/settings.php

 

e-mail:

Settings -> System -> Emails

By default osTicket uses native PHP Mail function to send outgoing emails.

Default Outgoing Email:


 

其他設定

 

Settings -> System

  • Default Time Zone

Settings -> System -> Tickets

  • Maximum Open Tickets
  • human Verification

其他 osticket system

https://www.otrs.com/

  • program: perl

http://www.eticketsupport.com/

  • program:PHP
  • 收 mail: pop3