{"id":13,"date":"2012-02-07T21:41:58","date_gmt":"2012-02-07T08:41:58","guid":{"rendered":"http:\/\/burn.co.nz\/blog\/?p=13"},"modified":"2013-07-21T21:14:25","modified_gmt":"2013-07-21T08:14:25","slug":"installing-rt-4-on-debian-12","status":"publish","type":"post","link":"https:\/\/burn.co.nz\/blog\/?p=13","title":{"rendered":"Installing Request Tracker 4 on Debian (1\/2)"},"content":{"rendered":"<p><a href=\"http:\/\/burn.co.nz\/blog\/?p=10\">Previously<\/a> I talked about why you need a ticketing system, this post (and the next) will cover installing Request Tracker 4 on Debian 7 using packages.<\/p>\n<h2>Install Request Tracker<\/h2>\n<p>This guide assumes you are installing a fresh install of Debian 7 onto a new computer (or virtual machine). I strongly recommend using 1GB+ of memory. Feel free to change settings to suit your environment and use your favorite text editor (vi, emacs, <a href=\"https:\/\/www.xkcd.com\/378\/\">butterflies<\/a> etc) instead of nano.<\/p>\n<p><!--more--><\/p>\n<p>With a few minor changes these instruction should also work on any Debian based system with access to the Request Tracker 4 packages (<a title=\"Ubuntu request-tracker4 package\" href=\"https:\/\/launchpad.net\/ubuntu\/+source\/request-tracker4\">Ubuntu 11.10\/12.04<\/a>).<\/p>\n<p><em>Update Jan 2013<\/em> I have created an Ubuntu 12.04 LTS Server version of this guide <a title=\"Installing RT4 on Ubuntu 12.04 LTS Server\" href=\"http:\/\/burn.co.nz\/blog\/?p=245\">here<\/a>.<br \/>\n<em>Update July 2013<\/em> This document has been updated to support Debian 7 Wheezy.<\/p>\n<p>I have used <a title=\"PostgreSQL homepage\" href=\"http:\/\/www.postgresql.org\/\">PostgreSQL<\/a> over <a href=\"https:\/\/www.mysql.com\/\">MySQL <\/a>as it makes enabling <a title=\"Best Practical blog - Full Text Searching\" href=\"http:\/\/blog.bestpractical.com\/2011\/06\/full-text-searching.html\">fast full-text searching<\/a> in RT4 much easier.<\/p>\n<h2>Requirements<\/h2>\n<p>You will need to have a few basic things before proceeding:<\/p>\n<ul>\n<li>Spare server (or VM) with 1GB+ RAM and at least 9GB HDD (more is better)<\/li>\n<li>Email account for RT (I have used rt@example.com)<\/li>\n<li>Email account for RT comments (I used rt-comments@example.com)<\/li>\n<li>A basic understanding of Linux, networking etc<\/li>\n<\/ul>\n<h2>Debian Install<\/h2>\n<p>Install <a href=\"http:\/\/www.debian.org\/\">Debian<\/a> 7 using the <a href=\"http:\/\/www.debian.org\/distrib\/netinst\">net-inst<\/a> .ISO image (choose settings that suit your environment)<\/p>\n<ul>\n<li>Select Language (English)<\/li>\n<li>Select Location<\/li>\n<li>Select Keyboard Layout<\/li>\n<li>Edit the Hostname (rt)<\/li>\n<li>Edit the Domain Name (example.com)<\/li>\n<li>Set the root password<\/li>\n<li>Add a normal user<\/li>\n<li>Set password<\/li>\n<li>Configure the clock<\/li>\n<li>Partition Disks<\/li>\n<li>Wait while the base system installs (make a coffee..)<\/li>\n<li>Select the nearest\/fastest Debian package mirror<\/li>\n<li>Configure proxy if required<\/li>\n<li>Wait while the installer runs a few tasks<\/li>\n<li>Choose if you want to participate in the Debian popularity contest<\/li>\n<li>Select Packages &#8211; de-select Graphical Desktop and Print Server, but add SSH Server<\/li>\n<li>Wait while the installer downloads and installs packages<\/li>\n<li>Install the GRUB boot loader<\/li>\n<li>Finish install, remove CD, Continue to reboot<\/li>\n<\/ul>\n<h2>sudo Setup<\/h2>\n<p>Login as your root user and install sudo<\/p>\n<pre>apt-get install sudo<\/pre>\n<p>Add your normal user to the sudo security group<\/p>\n<pre>adduser youruser sudo<\/pre>\n<p>Logout and login as your regular user.<\/p>\n<h2>Network Setup<\/h2>\n<p>Configure a Static IP address and DNS resolution<\/p>\n<pre>sudo nano \/etc\/network\/interfaces<\/pre>\n<p>Change the following two lines from:<\/p>\n<pre>allow-hotplug eth0\r\n iface eth0 inet dhcp<\/pre>\n<p>To suit your environment:<\/p>\n<pre>auto eth0\r\n iface eth0 inet static\r\n address 192.168.1.100\r\n broadcast 192.168.1.255\r\n gateway 192.168.1.1\r\n dns-nameservers 192.168.1.1<\/pre>\n<p>Restart networking and test:<\/p>\n<pre>sudo \/etc\/init.d\/networking restart\r\nping google.com<\/pre>\n<p>No covered here but now is a good time to configure SSH (preferably using certificates).<\/p>\n<p><strong>Continued in <a title=\"Installing RT 4 on Debian (2\/2)\" href=\"http:\/\/burn.co.nz\/blog\/?p=54\">Part 2\/2<\/a><\/strong><\/p>\n<h2>Links<\/h2>\n<p><a href=\"http:\/\/wiki.debian.org\/Manual-Howto\">http:\/\/wiki.debian.org\/Manual-Howto<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Previously I talked about why you need a ticketing system, this post (and the next) will cover installing Request Tracker 4 on Debian 7 using packages. Install Request Tracker This guide assumes you are installing a fresh install of Debian 7 onto a new computer (or virtual machine). I strongly recommend using 1GB+ of memory. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[4,5],"tags":[10,25,24,7,9,12],"class_list":["post-13","post","type-post","status-publish","format-standard","hentry","category-howto","category-linux","tag-debian","tag-howto","tag-linux","tag-request-tracker","tag-rt","tag-sysadmin"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2duNU-d","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13"}],"version-history":[{"count":53,"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13\/revisions"}],"predecessor-version":[{"id":78,"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=\/wp\/v2\/posts\/13\/revisions\/78"}],"wp:attachment":[{"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/burn.co.nz\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}