Tuesday, April 01, 2008

Intalasi OTRS menggunkan Slackware 12



Source OTRS dapat di ambil di http://www.otrs.org






OTRS adalah system untuk trouble tiket biasanya di gunakan untuk helpdesk system atau customer support dalam menyimpan problem log customer.

bila source otrs sudah di download lalu di ektrak di direktory /opt

INSTALASI OTRS
linux:/opt# tar xf /tmp/otrs-2.2.x.tar.gz
linux:/opt# mv otrs-2.2.-x otrs
linux:/opt# ls

buat user untuk otrs

linux:/opt# useradd -d /opt/otrs/ -c 'OTRS user' otrs
linux:/opt# usermod -G nogroup otrs

kemudian kopikan demo config yang berada di directoy
/opt/otrs/Kernel and
/opt/otrs/Kernel/Config

linux:/opt# cd otrs/Kernel/
linux:/opt/otrs/Kernel# cp Config.pm.dist Config.pm
linux:/opt/otrs/Kernel# cd Config
linux:/opt/otrs/Kernel/Config# cp GenericAgent.pm.dist GenericAgent.pm

kemudian lakukan set permision nya

linux:/cd /opt/otrs/bin
linux:/opt/otrs/bin# ./SetPermissions.sh /opt/otrs otrs daemon daemon daemon

karena OTRS membutuhkan beberapa aplikasi perl , maka kita lakukan instalasi beberapa aplikasi perl tersebut

linux:/perl -e shell -MCPAN
install Digest::MD5
install Crypt::PasswdMD5
install Net::DNS
install MIME::Base64


jika akan install dalam aplikasi ldap

install Net::LDAP
...
jika di butuhkan untuk GD library
...
install GD
install GD::Text
install GD::Graph
install GD::Graph::lines
install GD::Text::Align
...
jika di butuhkan untuk PDF output
...
install PDF::API2
install Compress::Zlib

Jika module sudah ter install semua coba lalkukan chek module tersebut dengan
/opt/otrs/bin/
otrss.checkModules

eksekusi dua file di bawah ini
perl -cw bin/cgi-bin/index.pl
dan
perl -cw bin/PostMaster.pl setelah merubah directory /opt/otrs.

linux:~# cd /opt/otrs
linux:/opt/otrs# perl -cw bin/cgi-bin/installer.pl
cgi-bin/installer.pl syntax OK
linux:/opt/otrs# perl -cw bin/PostMaster.pl
PostMaster.pl syntax OK

konfigurasi apache web server

tambahakan rule di bawah ini ke http.conf
#
# Basic apache configuration file for OTRS
#
# agent, admin and customer frontend
#
ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/"
Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/"
#
# Directory settings
#

AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all


AllowOverride None
Order allow,deny
Allow from all


lalu restart apache daemon dgn apachectl restart

Konfigurasi database

jika menggunakan  MySQL untuk database back-end, anda dengan mudah untuk konfigurasi OTRS database via  web front-end.
ketik url
http://localhost/otrs/installer.pl


ikuti saja petunjuk yang ada dalam web front endnya
di akhir perintah akan muncul

To be able to use OTRS you have to enter the following line in your command line (Terminal/Shell) as root.

Restart your webserver:
restart your webserver

After doing so your OTRS is up and running.

Start page: http://localhost//installer.pl/index.pl
User: root@localhost
Password: root

((enjoy))
Your OTRS Team

Setelah itu restart kemabalia apache daemonnya dengan apachectl restart

Untuk Mengakases
http://localhost/otrs/
user id = root@localhost
password = root

segitu dulu deh hasil oprekan saya

thx

yono











No comments: