13.07.2015 Views

Linux System Administration Recipes A Problem-Solution Approach

Linux System Administration Recipes A Problem-Solution Approach

Linux System Administration Recipes A Problem-Solution Approach

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 12 ■ MANAGING TIME AND PEOPLEBasic ConfigurationThe individual site configuration file is in /etc/request-tracker3.6/RT_SiteConfig.pm. The RT_Config.pmfile in the same directory shows all the configuration options and their defaults. You can use this forreference, because the idea is that any setting given in RT_SiteConfig.pm overrides the setting inRT_Config.pm. This makes your site setup much clearer.Here’s a reasonable basic RT_SiteConfig.pm:Set($rtname, 'www.example.com/rt');Set($Organization, 'www.example.com');Set($OwnerEmail , 'rt-owner@example.com');Set($CorrespondAddress , 'rt-reply@example.com');Set($CommentAddress , 'rt-comment@example.com');Set($Timezone , 'Europe/London'); # obviously choose what suits youSet($LogToSyslogSet($LogToFile, 'error');, 'debug');Set($DatabaseType, 'mysql'); # e.g. Pg or mysql# These are the settings used when creating the RT database,# You MUST set these to what you chose then.Set($DatabaseUser , 'rtuser');Set($DatabasePassword , 'rtpwd');Set($DatabaseName , 'rtdb');Set($DatabaseServer, 'mysqlserver');# THE WEBSERVER:Set($WebPath , "/rt");Set($WebBaseURL , "http://www.example.com");Set($UseFriendlyFromLine , 1);Set($FriendlyFromLineFormat , "\"IT Manager via RT\" ");Set($UseTransactionBatch , 1);1;Most of this code is self-explanatory. CorrespondAddress and CommentAddress set the defaulte-mail addresses used in the From and Reply-To headers of (respectively) correspondence andcomment e-mails sent by RT. You can override these for each queue; these are just the global defaults.The FriendlyFromLine settings make RT use a nicer From header when sending out e-mails than thedefault, “SenderName via RT.”Reload Apache with /etc/init.d/apache2 force-reload, and then go to the RT web page that youhave set (http://www.example.com/rt in the previous example). You should see the RT login screen.Setting Up RTThe first time you log on, change the root user password from the default (password) via theConfiguration Users root menu (the menus are along the top). You can also change other root235Download at WoweBook.Com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!