Browsing all articles from June, 2009
Jun
25

Google has been blocked in china

Author azhar    Category Tech News     Tags

China has blocked the most famous search engine google.

The site is not accessible by anyone in china.

Google is becoming very popular search engine in china due to its simplicity.

China is frequently forcing the domestic sites to remove controversial materials.

Popularity: 1% [?]

Jun
25

Google is Launching new voice service

Author azhar    Category Tech News     Tags

 Google is going to lauch new voice service

One number for all your calls and SMS

 

Voicemail as easy as email, with transcripts

 

More cool things you can do with Google Voice

Popularity: 1% [?]

Jun
22

Request Tracker configuration on Debian 5.0 Lenny

Author azhar    Category LINUX     Tags

In my previous post I talked about how to install the Request Tracker on Debian 5.0 Lenny the latest version of Debian linux Flavour.

http://www.itoperationz.com/2009/06/request-tracker-installation-on-debian-5-0-lenny/

In this post i will try to explain the way to configure the Request Tracker with Apache and Fetechmail.

Request Tracker Configuration file located at /etc/request-tracker3.6/RT_SiteConfig.pm you need to edit this file using the following command and change the required configuration.

# vi /etc/request-tracker3.6/RT_SiteConfig.pm

# RT_SiteConfig.pm
#
# These are the bits you absolutely *must* edit.
#
# To find out how, please read
# /usr/share/doc/request-tracker3.6/NOTES.Debian

# THE BASICS:

Set($rtname, ’support.example.org’);
Set($Organization, ‘example.org’);

Set($CorrespondAddress , ’support@example.org’);
Set($CommentAddress , ’support-comment@example.org’);

Set($Timezone , ‘Europe/Brussels’); # obviously choose what suits you

# THE DATABASE:

Set($DatabaseType, ‘mysql’); # e.g. Pg or mysql

# These are the settings we used above when creating the RT database,
# you MUST set these to what you chose in the section above.

Set($DatabaseUser , ‘rtuser’);
Set($DatabasePassword , ‘wibble’);
Set($DatabaseName , ‘rtdb’);

# THE WEBSERVER:

Set($WebPath , “/rt”);
Set($WebBaseURL , “http://host.example.org”);

Mysql Database Configuration

Create MySQL user

First set up root password

# mysqladmin -u root password myrootpassword

Create the user “rtuser” :

mysql -u root -p

mysql> GRANT ALL PRIVILEGES ON rtdb.* TO ‘rtuser’@’localhost’ IDENTIFIED BY ‘wibble’; FLUSH PRIVILEGES; QUIT

Set up RT database :

# /usr/sbin/rt-setup-database-3.6 --action init --dba root --prompt-for-dba-password

You should see something like the following :

Password:
Now creating a database for RT.
Creating mysql database rtdb.
Now populating database schema.
Creating database schema.
readline() on closed filehandle SCHEMA_LOCAL at /usr/sbin/rt-setup-database-3.6 line 223.
Done setting up database schema.
Now inserting database ACLs
Done setting up database ACLs.
Now inserting RT core system objects
Checking for existing system user…not found. This appears to be a new installation.
Creating system user…done.
Now inserting RT data
Creating Superuser ACL…done.
Creating groups…3.4.5.6.7.8.9.done.
Creating users…10.12.done.
Creating queues…1.2.done.
Creating ACL…2.3.done.
Creating ScripActions…1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.done.
Creating ScripConditions…1.2.3.4.5.6.7.8.9.10.done.
Creating templates…1.2.3.4.5.6.7.8.9.10.11.12.done.
Creating scrips…1.2.3.4.5.6.7.8.9.10.11.12.13.14.done.
Creating predefined searches…1.2.3.done.
Done setting up database content.

Configuring Apache

Set up Apache2

Add the following to /etc/apache2/sites-enabled/000-default

Paste at the end of the file just before the closing virtualhost tag

Include “/etc/request-tracker3.6/apache2-modperl2.conf”
RedirectMatch ^/$ /rt/

Enable mod rewrite

# cd /etc/apache2/mods-enabled/

# ln -s ../mods-available/rewrite.load .

Restart Apache2

# /etc/init.d/apache2 restart

Finally you need to login to rt and grant CreateTicket and ReplyToTicket to the group Everyone.

http://host.example.org/rt/

Login as user “root”
Password is “password”

Configuring Fetchmail

Setting up fetchmail

Edit /etc/default/fetchmail

# vim /etc/fetchmailrc

Set START_DAEMON=yes

save and exit the file

Prepare log files

# touch /var/log/fetchmail.log

# chown fetchmail /var/log/fetchmail.log

Edit /etc/fetchmailrc

set daemon 60
set invisible
set no bouncemail
set no syslog
set logfile /var/log/fetchmail.log

# support@example.org
poll pop.example.org
protocol pop3
username “login-of-support-mailbox” password “verysecretpassword”
mda “/usr/bin/rt-mailgate-3.6 --queue support --action correspond --url http://support.example.org/rt/
no keep

# support-comment@example.org
poll pop.example.org
protocol pop3
username “login-of-supportcomment-mailbox” password “verysecretpassword”
mda “/usr/bin/rt-mailgate-3.6 --queue support --action comment --url http://support.example.org/rt/
no keepThis howto assumes the mailboxes are created on the email gateway, it’s going beyond the scope of this article though.

The mda line tells fetchmail what to do upon reception of a new email.

You can select the queue in which the mail should be injected, the action can either be “correspond” for customer correspondances while “comment” is for internal comments on a ticket.

Restart Fetchmail

# /etc/init.d/fetchmail restart

Logs go in /var/log/fetchmail.log

You can now try to send an email to support@example.org, the mail would be retrieved by fetchmail and injected into RT.
The requestor will receive an autoreply email.

Popularity: 6% [?]

Jun
22

Request Tracker Installation on Debian 5.0 Lenny

Author azhar    Category LINUX     Tags

This tutorial will explain how to install Request-Tracker 3.6 on Debian 5.0 Lenny with postfix and fetchmail, use fetchmail to retrieve emails from the mail server and inject them into RT.

Preparing your system

Install Postfix, fetchmail using the following command

#apt-get install postfix fetchmail

Select “Internet Site” when prompted

Install MySQL Server 5 using the following command

#aptitude install mysql-server-5.0

Install Request-Tracker Apache2 package using the following command

#aptitude install rt3.6-apache2

Install Request-Tracker 3.6 using the following command

#aptitude install request-tracker3.6

How to configure Request Tracker on Debian lenny 5.0 will be published in next post.

Popularity: 6% [?]

Jun
22

Introduction to Request Tracker

Author azhar    Category LINUX     Tags

Request Tracker (RT) is an industrial-grade trouble ticketing system. It lets a group of people intelligently and efficiently manage requests submitted by a community of users. RT is used by systems administrators, customer support staffs, NOCs, developers, and even marketing departments to track issues, outages, bugs, requests, and all kinds of other things at thousands of sites around the world.

http://bestpractical.com/rt/

Request tracker is an open source solution for trouble ticketing and problem handling.

How to install and configure this system on linux, unix and freebsd will be published in a post very soon.

Related Posts with Thumbnails

Popularity: unranked [?]