Home › Forums › AFP548 Community › Projects › zenTrack – Ticketing System
- This topic has 11 replies, 1 voice, and was last updated 21 years, 3 months ago by
ElgertS.
-
AuthorPosts
-
January 15, 2004 at 4:33 pm #357213
ElgertS
ParticipantPROJECT DESCRIPTION
zenTrack is an Open Source AMP-based solution for a help desk ticketing system. Tickets can be generated and tracked, require approval and ongoing notes history. The system can be connected to a mail server and utilize either email submission forms or integrate with a web-based form you create.
January 15, 2004 at 4:35 pm #357214ElgertS
ParticipantStep 1: Download zenTrack
http://prdownloads.sourceforge.net/zentrack/zentrack_2-4-4.zip?download
This release is the final version of zenTrack 2. zenTrack 3 will begin beta in April. I am linking to the Zip archive due to Mac OS X Panther’s preference for Zip files.
January 15, 2004 at 4:37 pm #357215ElgertS
ParticipantStep 2: Install zenTrack files
Create or choose a directory on your web server that you want to host zenTrack from. From the install directory you downloaded in step 1 copy the files within “www” to the site directory you created for zenTrack.
Copy the “includes” directory to a secure location outside the website directory.
Edit the following permissions:
[code:1:de55a442c6]chmod 777 includes/logs
chmod 777 includes/cache
chmod -R 755 www/images
chmod 755 www/javascript.js
chmod 755 www/styles.php
chmod 755 includes/egate_check.php
chmod 755 includes/egate.php[/code:1:de55a442c6]
January 15, 2004 at 4:41 pm #357216ElgertS
ParticipantStep 3: Edit Environment
Edit or create a .login file in uer home directory that your server boots in. This is an invisible file that is used on startup to edit the environment for the system.
The PATH must have the additional entry of:
/usr/local/bin
Here is an example .login file:
[code:1:6fc35146d6]setenv PATH /bin:/sbin:/usr/bin:/usr/sbin:usr/local/bin
setenv JAVA_HOME /Library/Java/Home
setenv FEDORA_HOME /usr/local/fedora-1.2setenv WITANGO_PATH=/Applications/Witango/Server
export WITANGO_PATH
[/code:1:6fc35146d6]January 15, 2004 at 4:44 pm #357217ElgertS
ParticipantStep 4: Install Mail:Mime with PEAR
Mail:Mime is required for the integration with your mail server. It can be downloaded from this link:
http://pear.php.net/get/Mail_Mime
Install with the following command:
sudo /sur/local/php/bin/pear install <full path to the Mail.Mime-1.2.1.tar you downloaded>
January 15, 2004 at 5:00 pm #357218ElgertS
ParticipantStep 5: Edit php.ini
Identify the correct path to your PEAR installation:
set “extension_dir” to: “/usr/local/php/lib/php”
January 15, 2004 at 5:07 pm #357219ElgertS
ParticipantStep 6: Configure Fetchmail
Create a .fetchmailrc file at the root of your drive.
[code:1:29aa7acd6b]sudo pico .fetchmailrc[/code:1:29aa7acd6b]
Inside Pico’s editor add the following:
[code:1:29aa7acd6b]poll <add your mail server> proto pop3 user "<your zenbot user> pass "<password for zenbot>" mda "<path to egate.php>"[/code:1:29aa7acd6b]
Example:
[code:1:29aa7acd6b]poll mail.myserver.com proto pop3 user "tickets" pass "password" mda ‘/Library/WebServer/Documents/www/zentrack/includes/egate.php'[/code:1:29aa7acd6b]
January 15, 2004 at 5:38 pm #357220ElgertS
ParticipantStep 7: Create MySQL database
Using PHPMyAdmin create a new database called “zenTrack”. Using the SQL tab within your new database in PHPMyAdmin select the from the Install directory the “build_mysql.sql” followed by the “seed_mysql.sql” files.
January 15, 2004 at 5:47 pm #357221ElgertS
ParticipantStep 8: Login and enable mail gateway
Load the zenTrack system with your browser and log in with:
user: Administrator
pass: adminMake sure the change these immediately to something more secure.
Go to the “admin” section and select “Configuration Settings”.
Set “email interface enabled” to “On”
January 15, 2004 at 5:48 pm #357222ElgertS
ParticipantStep 9: Create email account for zenBot
Using the email name you chose when creating your .fetchmailrc file, configure a mail account with the same username and password on your mail server.
January 15, 2004 at 5:50 pm #357223ElgertS
ParticipantStep 10: Add Fetchmail entry to Crontab
Backup crontab located in /private/var and update with the following info to run every minute:
[code]# /etc/crontab
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour mday month wday who command
#
#*/5 * * * * root /usr/libexec/atrun
#
# Run daily/weekly/monthly jobs.
15 3 * * * root periodic daily
30 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly
* * * * * root /usr/bin/fetchmail -f /.fetchmailrc[/cron]January 15, 2004 at 5:52 pm #357224ElgertS
ParticipantStep 11: Test zenTrack
You are now ready to use zenTrack!
When you email tickets you can do the following commands:
send email with “help” as subject to get list of commands
send “create” as subject to get a template to make a new ticket
send ticket number and options ie: #7:options it will give you options for that ticket
Additional information:
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed