<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">Tracks Community Wiki</title>
    <subtitle type="text">Tracks Community Wiki</subtitle>
    <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/" />
    <link rel="self" type="application/atom+xml" href="http://www.getontracks.org/wiki/Special:Recentchanges_Atom" />
    <updated>2009-06-28T21:39:52Z</updated>
    <rights>Copyright (c) 2006, butshesagirl@rousette.org.uk</rights>
    <generator uri="http://www.pmachine.com/" version="1.6.6">ExpressionEngine</generator>
    <id>tag:getontracks.org,2009:06:28:wiki</id>


    <entry>
      <title>Tracks Hosting</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/Tracks-Hosting/" />
      <id>tag:getontracks.org,2009:wiki:Tracks Hosting/9.319</id>
      <published>2009-06-28T21:39:52Z</published>
      <updated>2009-06-28T21:39:52Z</updated>
      <author>
            <name>steve02476</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<p>Ready made installations of Tracks provided by users: you just need to sign up for an account. (Please note that these are provided by users as a service, and they have no other connection to the Tracks project. If you have problems using these services, please contact the provider, not bsag).</p>

	<p><a href="http://gtdtracks.com/front">GTD Tracks</a>: GTDTracks.com provides importing from existing Tracks installations, daily backups and personalized service.  (No longer accepting new users.)</p>

	<p><a href="http://tracks.tra.in">tracks tra.in</a>: tracks tra.in is a hosted version of Tracks offered free by tra.in to help you manage your time!</p>

	<p><a href="http://www.personaltracks.com">Personal Tracks</a>: Free Tracks hosting.</p>

	<p><a href="http://www.trackscentral.com">Trackscentral</a>: Free Tracks hosting, complete with SSL security to protect your privacy. Create your free account at <a href="http://www.trackscentral.com/signup">www.trackscentral.com/signup</a> now!</p>

	<p><a href="http://www.gtdify.com/">GTDify</a> is a free hosted service for using Tracks web-based application.</p>


 
      ]]></content>
    </entry>

    <entry>
      <title>Recommended Web Hosts</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/Recommended-Web-Hosts/" />
      <id>tag:getontracks.org,2009:wiki:Recommended Web Hosts/8.318</id>
      <published>2009-06-28T21:34:49Z</published>
      <updated>2009-06-28T21:34:49Z</updated>
      <author>
            <name>steve02476</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<p>Here are some web hosts recommended by users which allow you to install Tracks and therefore use it from any internet-connected computer:</p>

	<ul>
	<li><a href="http://textdrive.com">TextDrive</a>: Where bsag hosts the Tracks project, her blog and her own private version of Tracks. They have all you need to install Rails applications, and great technical support. <b><i>(note: textdrive has been absorbed by Joyent &#8211; don&#8217;t know if that changes anything or not&#8230;)</i></b></li>

		<li><a href="http://www.slicehost.com">Slicehost</a>: Built for developers. We offer 256/512/1024 Xen VPS Slices with choice of OS (Ubuntu, CentOS, Gentoo). The 256 is perfect for hosting Tracks and we&#8217;re big fans. Full root access &#8211; run Apache, Lighttpd, Mongrel, Webrick &#8211; your choice. Please contact us or pop into the chatroom with any questions.</li>

		<li><a href="http://site5.com">Site5</a>: Installed and works without any problem.</li>
	</ul>


 
      ]]></content>
    </entry>

    <entry>
      <title>Hostgator</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/Hostgator/" />
      <id>tag:getontracks.org,2009:wiki:Hostgator/30.314</id>
      <published>2009-06-26T05:52:22Z</published>
      <updated>2009-06-26T05:52:22Z</updated>
      <author>
            <name>kikontrack</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<p><b>Installation with mongrels</b> (From aexl on the forums)</p>

	<p>I finally got the trick, here is how it worked for me:</p>
	<ul>
	<li>ignore the forum post about rails installation</li>
		<li>ignore support staff that only points you to the forum post</li>
		<li>use cpanel/rails to create rails app and webforwarder</li>
		<li>delete rails app template and unpack tracks here</li>
		<li>do some environment magic (*)</li>
	</ul>
	<ul>
	<li>in cpanel/rails start webapp

	<p>(*) what environment magick is needed?</p>

	<p>in config/environment.rb add this line:</p>

<code>
  Rails::Initializer.run do |config|
    # some hosting might need this (hostgator does)
    config.load_paths += %W( #&amp;#123;RAILS_ROOT&amp;#125;/vendor/plugins ) <br />
</code>

	<p><b>Installation with fastcgi</b> (From kikontrack on the forums)</p>

	<p>Hostgator recently added support to run rails app with fcgi</p>

		<li>First check in the rubygems menu of the cpanel that you have the proper rails version and that the fcgi gem is installed</li>
		<li>Unzip Tracks in /home/YOUR_USER/rails/ (so will be located in /home/YOUR_USER/rails/tracks/)</li>
		<li>In my cpanel or shell, create mysql database and mysql user for Tracks</li>
		<li>In /home/YOUR_USER/rails/tracks/config/database.yml, setup the proper adapter for mysql</li>
		<li>Then in /home/YOUR_USER/rails/tracks/ I run rake db:migrate RAILS_ENV=production</li>
		<li>I created the entry in public_html with a symlink ln -s /home/YOUR_USER/rails/tracks/public/ /home/YOUR_USER/public_html/tracks</li>
	</ul>
	<ul>
	<li>I added a .htaccess file in /home/YOUR_USER/rails/tracks/public/ which contains the following

<code><br />
AddHandler fcgid-script .fcgi<br />
Options +FollowSymLinks +ExecCGI<br />
RewriteEngine On<br />
RewriteRule ^$ index.html [QSA]<br />
RewriteRule &lt;sup&gt;([&lt;/sup&gt;.]+)$ $1.html [QSA]<br />
RewriteCond %&amp;#123;REQUEST_FILENAME&amp;#125; !-f<br />
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]<br />
ErrorDocument 500 "&lt;h2&gt;Application error&lt;/h2&gt;Rails application failed to start properly"  <br />
</code>

		<li>In /home/YOUR_USER/rails/tracks/config/environment.rb uncomment ENV[&#8216;RAILS_ENV&#8217;] = &#8216;production&#8217;</li>
		<li>Add the line ENV[&#8216;RAILS_RELATIVE_URL_ROOT&#8217;]=&#8221;/tracks&#8221;</li>
		<li>And add the line config.load_paths += %W( #&#123;RAILS_ROOT&#125;/vendor/plugins )</li>
	</ul>
	<ul>
	<li>Adjust the subdir in site.yml to &#8221;/tracks&#8221;

	<p>Then open your browser to http://YOUR_DOMAIN/tracks and you should be good to go ;)</p>

	<p><b>Installation with fastcgi and SSL</b> (From kikontrack on the forums)</p>

	<p>Reproduce above steps then</p>

		<li>Create a file dispatch-tracks.fcgi /home/YOUR_USER/public_html/<br />
<code>
	<p>#!/usr/bin/env ruby<br />
Dir.chdir("/home/YOUR_USER/rails/tracks/public")<br />
require File.dirname(&lt;i&gt;FILE&lt;/i&gt;) + "/../config/environment"<br />
require 'fcgi_handler'<br />
RailsFCGIHandler.process!<br />
</code></p>

		<li>Change the .htaccess rewrite to: RewriteRule ^(.*)$ /~YOUR_USER/dispatch-tracks.fcgi [QSA,L]</li>
		<li>Change the line ENV[&#8216;RAILS_RELATIVE_URL_ROOT&#8217;]=&#8221;/~YOUR_USER//tracks&#8221;</li>
	</ul>
	<ul>
	<li>Adjust the subdir in site.yml to &#8221;/~YOUR_USER/tracks&#8221;

	<p>Then open your browser to https://YOUR_DOMAIN/~YOUR_USER/tracks and you should be good to go ;)<br />
You will get a SSL mismatch error has the SSL is sign for hostgator domain name, but you can import the certificate in your browser to not get the warning every time</p>


 
      ]]></content>
    </entry>

    <entry>
      <title>Evolution Integration</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/Evolution-Integration/" />
      <id>tag:getontracks.org,2009:wiki:Evolution Integration/36.312</id>
      <published>2009-06-20T02:08:05Z</published>
      <updated>2009-06-20T02:08:05Z</updated>
      <author>
            <name>mgunes</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<p>You can set up <a href="http://projects.gnome.org/evolution/">Evolution</a>&#8217;s calendar module to display Tracks actions as appointments. The instructions below were tested with Evolution 2.26.1.</p>

	<ul>
	<li>Copy the URL for the iCal feed you want Evolution to subscribe to to the clipboard</li>

		<li>In the &#8220;Calendar&#8221; view, choose &#8220;File > New > Calendar&#8221;</li>

		<li>Set the &#8220;Type&#8221; combo box to &#8220;On the web&#8221;</li>

		<li>Paste the URL into the &#8220;URL&#8221; text box, and type a name (i.e. &#8220;Tracks&#8221;) into the &#8220;Name&#8221; one. Set the other options as desired

	<p>You now have a read-only Tracks calendar you can toggle on the sidebar, and all Tracks actions with due dates are displayed in your calendar view. Since evolution-data-server is now tracking it, any other GNOME application that uses it (such as the clock applet, or Pimlico&#8217;s &#8220;Dates&#8221;) is &#8220;Tracks-aware&#8221; as well.</p>


 
      ]]></content>
    </entry>

    <entry>
      <title>Integration</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/Integration/" />
      <id>tag:getontracks.org,2009:wiki:Integration/19.308</id>
      <published>2009-06-19T23:29:37Z</published>
      <updated>2009-06-19T23:29:37Z</updated>
      <author>
            <name>mgunes</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<p>Integrating Tracks with other applications.</p>

	<ul>
	<li><a href="http://www.getontracks.org/wiki/Outlook-Integration/" title="Outlook-Integration">Outlook Integration</a></li>
	</ul>
	<ul>
	<li><a href="http://www.getontracks.org/wiki/Evolution-Integration/" title="Evolution-Integration">Evolution Integration</a></li>
	</ul>


 
      ]]></content>
    </entry>

    <entry>
      <title>Dreamhost</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/Dreamhost/" />
      <id>tag:getontracks.org,2009:wiki:Dreamhost/28.307</id>
      <published>2009-06-18T08:59:21Z</published>
      <updated>2009-06-18T08:59:21Z</updated>
      <author>
            <name>Reinier Balt</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<h2>Tested with 1.7RC2</h2>

	<p>The Dreamhost installation was very easy. I set it up as the only application in the domain (actually created a subdomain for this purpose):</p>

	<ul>
	<li>Create a (sub)domain, Fully Hosted
		<li>Enable:
	<ul>
	<li>  Extra Web Security</li>
		<li>  FastCGI Support</li>
	</ul>
	</li>
	<ul>
	<li>  Ruby on Rails Passenger (mod_rails)</li>
		<li>Set the field &#8220;Specify your web directory&#8221; to:
		<li>  /home/username/    your.domain.name/tracks/public</li>
	</ul></li>
	</ul><br />
Note 06.17.09: When you install tracks, that is, when you unzip the files, you will be <em>replacing the tracks (and thus public) directory you just created in the Dreamhost control panel</em>.  That is, go to your domain via SSH or FTP and rename the &#8216;track&#8217; directory (for example: your.domain.name/xtracks/public).  Unzip the file in your.domain.name, and you will see that you now have a &#8216;tracks&#8217; directory (amongst others), and inside it a &#8216;public&#8217; directory.

	<ul>
	<li>Set all the rest of the domain settings to your liking</li>
	</ul>
	<ul>
	<li>Follow the instructions in http://www.getontracks.org/doc/chapter/2-installation.html with the exceptions below

	<p>Now I like to set shell access to my account and log in to Dreamhost via SSH, but I guess it can be done otherwise. The idea is to either unzip the tracks zip file inside the home directory for the site. If you&#8217;re like me, you&#8217;d need to do:</p>

	<p>(log in to your dreamhost account that you associated with the domain using your favorite ssh client)</p>
		<li>cd your.domain.name</li>
		<li>wget url-to-tracks-zip-file</li>
		<li>unzip zip-file.zip</li>
	</ul>
	<ul>
	<li>You&#8217;ll get a folder named tracks-<version>. Let&#8217;s create a symlink to it:

<code>ln &lt;del&gt;s tracks&lt;/del&gt;-&lt;version&gt; tracks</code><br />
</pre>

	<p>Then continue with the installation.</p>

	<p>If you don&#8217;t like to shell-access your account, you could also download and unzip on your local computer, rename the folder &#8220;tracks&#8221; and upload the whole thing to Dreamhost. Never tested it myself.</p>

	<p>Also &#8211; you do not need to run the web server that comes with tracks. Just go to the url http://your.domain.name/signup and you should be fine.<br />
Clarification 06.16.09: Skip this step: script/server -e production.  You don&#8217;t need a Mongrel server.  Dreamhost is providing your server.<br />
&#8212;Arik</p>

	<h2>Solving 404 for stats page</h2>

	<p>There are just a couple of lines to add to the config/routes.rb file</p>

<code><br />
map.statistics 'statistics', :controller =&gt; 'stats', :action =&gt; 'index'<br />
map.connect 'statistics/:action', :controller =&gt; 'stats', :action =&gt;':action' <br />
</pre></code>

	<p>I added them just before</p>

<code><br />
map.resources :recurring_todos, <br />
</pre></code>

	<p>which was around line 70 originally.</p>

	<p>(copied from the forum <a href="http://www.getontracks.org/forums/viewthread/427/P15/">here</a>)</p>


 
      ]]></content>
    </entry>

    <entry>
      <title>Scientific Linux RH5 clone</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/Scientific-Linux-RH5-clone/" />
      <id>tag:getontracks.org,2009:wiki:Scientific Linux RH5 clone/35.303</id>
      <published>2009-06-08T12:20:54Z</published>
      <updated>2009-06-08T12:20:54Z</updated>
      <author>
            <name>Reinier Balt</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<p>Hi all,</p>

	<p>I did a fresh install of tracks a while back, and took a copy of my commands. I&#8217;ve included them here as I thought they might be of use.</p>

	<p>The install is on Scientific Linux 5 (a RedHat 5 clone), and is using apache as a front end proxy for tracks, using a dedicated virtual host in apache, with SSL. I imported my existing tracks database as part of the install.</p>

	<p>It also includes setup for a separate database backup user, and a cronjob that dumps the database out.</p>

	<p>Apologies for any linewrap weirdness due to email format.</p>

	<p>Hope someone finds this useful!<br />
&#8212;Orlando.</p>

	<p>Setting up tracks on RedHat 5 / CentOS 5 / Scientific Linux 5</p>

	<p>Install mysql-server, ruby, ruby-rdoc, ruby-devel.x86_64, mysql-devel.x86_64</p>

	<p>Create tracks user account:</p>

	<p>[root@mwvm01 ~]# useradd -m tracks</p>

	<p>Set root password in mysql:</p>

	<p>[root@mwvm01 ~]# /etc/init.d/mysqld start Initializing MySQL database:  Installing MySQL system tables&#8230;<br />
OK<br />
Filling help tables&#8230;<br />
OK</p>

	<p>To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system</p>

	<p>PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !<br />
To do so, start the server, then issue the following commands:<br />
/usr/bin/mysqladmin -u root password &#8216;new-password&#8217;<br />
/usr/bin/mysqladmin -u root -h mwvm01.mydomain.com password &#8216;new-password&#8217;<br />
See the manual for more instructions.<br />
You can start the MySQL daemon with:<br />
cd /usr ; /usr/bin/mysqld_safe &#38;</p>

	<p>You can test the MySQL daemon with mysql-test-run.pl cd mysql-test ; perl mysql-test-run.pl</p>

	<p>Please report any problems with the /usr/bin/mysqlbug script!</p>

	<p>The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at http://shop.mysql.com</p>
                                                            [  OK  ]

	<p>Starting MySQL:                                            [  OK  ]<br />
[root@mwvm01 ~]#<br />
[root@mwvm01 ~]# mysql -u root<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 4<br />
Server version: 5.0.45 Source distribution</p>

	<p>Type &#8216;help;&#8217; or &#8217;\h&#8217; for help. Type &#8217;\c&#8217; to clear the buffer.</p>

	<p>mysql> use mysql;<br />
Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A</p>

	<p>Database changed<br />
mysql> update user set password=<acronym title="&#8220;secret&#8221;">PASSWORD</acronym> where User=&#8217;root&#8217;;<br />
Query OK, 3 rows affected (0.00 sec)<br />
Rows matched: 3  Changed: 3  Warnings: 0<br />
mysql> flush privileges;<br />
Query OK, 0 rows affected (0.00 sec)</p>

	<p>mysql> quit</p>

	<p>Import an existing tracks database:</p>

	<p>[root@mwvm01 ~]# ls -l ~orichard/tracks.db.2009-03-02.gz<br />
<del>rw-r</del>-r&#8212;1 orichard is_iti_ug 62508 Mar  2 11:23 /home/orichard/tracks.db.2009-03-02.gz<br />
[root@mwvm01 ~]# cd ~orichard/<br />
[root@mwvm01 orichard]# gzip -d tracks.db.2009-03-02.gz<br />
[root@mwvm01 orichard]# mysql -u root -p Enter password:<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 10<br />
Server version: 5.0.45 Source distribution</p>

	<p>Type &#8216;help;&#8217; or &#8217;\h&#8217; for help. Type &#8217;\c&#8217; to clear the buffer.</p>

	<p>mysql> create database tracks;<br />
Query OK, 1 row affected (0.00 sec)</p>

	<p>mysql> Bye<br />
[root@mwvm01 orichard]# mysql -u root -p tracks < tracks.db.2009-03-02 Enter password:<br />
[root@mwvm01 orichard]#</p>

	<p>Set up tracks database accounts:</p>

	<p>mysql> GRANT LOCK TABLES ON tracks.* to &#8216;tracksbackup&#8217;@&#8217;localhost&#8217; <br />
IDENTIFIED BY &#8216;apassword&#8217;;<br />
Query OK, 0 rows affected (0.00 sec)</p>

	<p>mysql> GRANT SELECT ON tracks.* to &#8216;tracksbackup&#8217;@&#8217;localhost&#8217; IDENTIFIED<br />
BY &#8216;apassword&#8217;;<br />
Query OK, 0 rows affected (0.00 sec)</p>

	<p>mysql> GRANT ALL ON tracks.* to &#8216;tracks&#8217;@&#8217;localhost&#8217; IDENTIFIED BY<br />
&#8216;thepassword&#8217;;<br />
Query OK, 0 rows affected (0.00 sec)</p>

	<p>Download the latest tracks:</p>

	<p>[root@mwvm01 orichard]# wget<br />
http://bsag.bingodisk.com/public/files/tracks-current.zip<br />
11:34:32 (406 KB/s) &#8211; `tracks-current.zip&#8217; saved [6080226/6080226]<br />
[root@mwvm01 orichard]# unzip tracks-current.zip<br />
[root@mwvm01 orichard]# mv tracks-1.7/ ~tracks/<br />
[root@mwvm01 orichard]# chown -R tracks:tracks ~tracks/tracks-1.7/<br />
[root@mwvm01 orichard]# su &#8211; tracks<br />
[tracks@mwvm01 ~]$ cd tracks-1.7/config/<br />
[tracks@mwvm01 config]$ vi database.yml</p>
	<ol>
	<li>Insert:<br />
production:
   adapter: mysql
   database: tracks
   host: localhost
   username: tracks
   password: thepassword

	<p>[tracks@mwvm01 config]$ vi site.yml<br />
salt: &#8220;mysalt&#8221;<br />
time_zone: &#8220;Edinburgh&#8221;<br />
secure_cookies: true</p>

	<p>[tracks@mwvm01 config]$ cd<br />
[tracks@mwvm01 ~]$ ln -s tracks-1.7/ tracks<br />
[tracks@mwvm01 ~]$ cd tracks<br />
[orichard@espresso tracks]$ cat > start_tracks.sh #!/bin/bash</p>

	<p>cd ~tracks/tracks<br />
./script/server -e production&#8212;binding=127.0.0.1 -d<br />
[tracks@mwvm01 tracks]$ chmod +x start_tracks.sh</p>

	<p>Set up rubygems:</p>

	<p>[tracks@mwvm01 ~]$ wget<br />
http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz<br />
11:45:42 (530 KB/s) &#8211; `rubygems-1.3.1.tgz&#8217; saved [263748/263748]<br />
[tracks@mwvm01 ~]$ tar -zxf rubygems-1.3.1.tgz</p>

	<p>[root@mwvm01 rubygems-1.3.1]# ruby setup.rb<br />
Building native extensions.  This could take a while&#8230;<br />
Successfully installed mysql-2.7<br />
1 gem installed</p>

	<p>[root@mwvm01 ~]# gem install rake<br />
Successfully installed rake-0.8.3<br />
1 gem installed<br />
Installing ri documentation for rake-0.8.3&#8230;<br />
Installing RDoc documentation for rake-0.8.3&#8230;</p>

	<p>And start up:</p>

	<p>[tracks@mwvm01 tracks]$ ./start_tracks.sh<br />
=> Booting WEBrick&#8230;</p>

	<p>=> Rails 2.2.2 application started on http://127.0.0.1:3000<br />
[2009-03-02 11:53:29] INFO  WEBrick 1.3.1<br />
[2009-03-02 11:53:29] INFO  ruby 1.8.5 (2006-08-25) [x86_64-linux]</p>

	<p>[tracks@mwvm01 tracks]$ netstat -l -n | grep 3000<br />
tcp        0      0 127.0.0.1:3000              0.0.0.0:* </p>
     LISTEN

	<p>Configure apache:</p>

	<p>[root@mwvm01 certs]# cd /etc/pki/tls/certs/<br />
[root@mwvm01 certs]# make certreq<br />
umask 77 ; \</p>
         /usr/bin/openssl req -utf8 -new -key <br />
/etc/pki/tls/private/localhost.key -out /etc/pki/tls/certs/localhost.csr<br />
You are about to be asked to enter information that will be incorporated<br />
into your certificate request.<br />
What you are about to enter is what is called a Distinguished Name or a DN.<br />
There are quite a few fields but you can leave some blank<br />
For some fields there will be a default value,<br />
If you enter &#8217;.&#8217;, the field will be left blank.&#8212;&#8212;-<br />
Country Name (2 letter code) [GB]:<br />
State or Province Name (full name) [Berkshire]:Lothian<br />
Locality Name (eg, city) [Newbury]:Edinburgh<br />
Organization Name (eg, company) [My Company Ltd]:MyCompany<br />
Organizational Unit Name (eg, section) []:My Section<br />
Common Name (eg, your name or your server&#8217;s hostname) []:tracks.mydomain.com<br />
Email Address []:email@address.com

	<p>Please enter the following &#8216;extra&#8217; attributes<br />
to be sent with your certificate request<br />
A challenge password []:<br />
An optional company name []:</p>

	<p>[root@mwvm01 certs]# mv localhost.csr tracks.mydomain.com.csr</p>

		<li>Once you have your cert, copy it in to </li>
	</ol><br />
/etc/pki/tls/private/tracks.mydomain.com.crt

	<p>[root@mwvm01 ~]# cat > /etc/httpd/conf.d/tracks.conf<br />
NameVirtualHost tracks.mydomain.com:443<br />
Listen IP_ADDRESS_OF_tracks.mydomain.com:443<br />
<VirtualHost tracks.mydomain.com:443></p>

         SSLEngine on
         SSLProtocol all -SSLv2
         SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
         SSLCertificateFile /etc/pki/tls/certs/tracks.mydomain.com.crt
         SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
         RequestHeader set X_FORWARDED_PROTO &#8216;https&#8217;
         ProxyPass / http://127.0.0.1:3000/
         ProxyPassReverse / http://127.0.0.1:3000/
         ProxyRequests Off

	<p></VirtualHost></p>

	<p>[root@mwvm01 conf.d]# vi /etc/httpd/conf/httpd.conf</p>

	<ol>
	<li>Set to listen on loopback only:</li>
	</ol><br />
Listen 127.0.0.1:80

	<ol>
	<li>Similarly for ssl:</li>
	</ol><br />
Listen 127.0.0.1:443

	<p>Set up the interface:</p>

	<p>[root@mwvm01 conf.d]# ifconfig eth0:1 IP_ADDRESS_OFtracks.mydomain.com</p>

	<p>Start up apache:</p>

	<p>[root@mwvm01 conf.d]# /etc/init.d/httpd configtest<br />
Syntax OK<br />
[root@mwvm01 conf.d]# /etc/init.d/httpd start<br />
Starting httpd:                                            [  OK  ]</p>

	<p>Set everything to come up on boot:</p>

	<p>[root@mwvm01 ~]# chkconfig mysqld on<br />
[root@mwvm01 ~]# chkconfig httpd on<br />
[root@mwvm01 etc]# cat >> /etc/rc.local</p>

	<p>su &#8211; tracks -c /home/tracks/tracks/start_tracks.sh</p>

	<p>Update /etc/sysconfig/iptables with:</p>

	<ol>
	<li>Allow HTTPS to tracks.mydomain.com<br />
-A RH-Firewall-1-INPUT -m state&#8212;state NEW -d tracks.mydomain.com -m <br />
tcp -p tcp&#8212;dport 443 -j ACCEPT

	<p>Set up database backups:</p>

	<p>[tracks@mwvm01 ~]$ mkdir backups</p>

	<p>[tracks@mwvm01 ~]$ crontab -e<br />
01 9 * * * /usr/bin/mysqldump -u tracksbackup -p&#8217;apassword&#8217; tracks > <br />
/home/tracks/backups/tracks.db.`date \+\%F`; gzip <br />
/home/tracks/backups/tracks.db.`date \+\%F`<br />
&#8212;<br />
The University of Edinburgh is a charitable body, registered in <br />
Scotland, with registration number SC005336.<br />
<i><em>_</i><i></em><em></i><i></em><em></i><i></em><em></i><i></em><em></i><i></em><em></i><i></em><em></i></em><em>__</em><br />
Tracks-discuss mailing list<br />
Tracks-discuss@lists.rousette.org.uk<br />
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss</p>


 
      ]]></content>
    </entry>

    <entry>
      <title>Installation Index</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/Installation-Index/" />
      <id>tag:getontracks.org,2009:wiki:Installation Index/2.302</id>
      <published>2009-06-08T12:20:26Z</published>
      <updated>2009-06-08T12:20:26Z</updated>
      <author>
            <name>Reinier Balt</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<p><a href="http://www.getontracks.org/wiki/Category:Installation/" title="Category:Installation">Category:Installation</a></p>

	<h1>General requirements</h1>

	<p>The most up-to-date instructions can be found in the manual on the <a href="http://www.getontracks.org">homepage</a>&#8221; You can run Tracks on your own (local) computer (MacOS X, Windows and Linux are all supported), or on your web host&#8217;s server, in which case you will have access to Tracks from any internet connected computer. <br />
Specific instructions for various platforms:</p>

	<ul>
	<li><a href="http://www.getontracks.org/wiki/MacOS-X/" title="MacOS-X">MacOS X</a></li>
		<li><a href="http://www.getontracks.org/wiki/Windows/" title="Windows">Windows</a></li>
		<li><a href="http://www.getontracks.org/wiki/Linux-Debian/" title="Linux-Debian">Linux Debian</a></li>
		<li><a href="http://www.getontracks.org/wiki/LinuxGeneral/" title="LinuxGeneral">LinuxGeneral</a></li>
		<li><a href="http://www.getontracks.org/wiki/LinuxUbuntu/" title="LinuxUbuntu">LinuxUbuntu</a></li>
		<li><a href="http://www.getontracks.org/wiki/Linux-opensuse/" title="Linux-opensuse">Linux opensuse</a></li>
		<li><a href="http://www.getontracks.org/wiki/FreeBSD/" title="FreeBSD">FreeBSD</a></li>
		<li><a href="http://www.getontracks.org/wiki/Fedora/" title="Fedora">Fedora</a></li>
		<li><a href="http://www.getontracks.org/wiki/Web-host/" title="Web-host">Web host</a></li>
		<li><a href="http://www.getontracks.org/wiki/CentOS-5/" title="CentOS-5">CentOS 5</a></li>
		<li><a href="http://www.getontracks.org/wiki/Scientific-Linux-RH5-clone/" title="Scientific-Linux-RH5-clone">Scientific Linux RH5 clone</a></li>
	</ul>
	<ul>
	<li><a href="http://www.getontracks.org/wiki/Apache/" title="Apache">Apache</a></li>
	</ul>


 
      ]]></content>
    </entry>

    <entry>
      <title>LinuxUbuntu</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/LinuxUbuntu/" />
      <id>tag:getontracks.org,2009:wiki:LinuxUbuntu/13.299</id>
      <published>2009-06-08T07:34:54Z</published>
      <updated>2009-06-08T07:34:54Z</updated>
      <author>
            <name>Reinier Balt</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<p><a href="http://www.getontracks.org/wiki/Category:Installation/" title="Category:Installation">Category:Installation</a></p>

	<p>Submitted by Chris Cotsapas:</p>

	<p>In Ubuntu 6.06 (Dapper Drake), you may find that you get errors saying that mysql.sock doesn&#8217;t not exist.</p>

	<p>Here&#8217;s how to fix it &#8211; in a terminal type:</p>

<code><br />
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock<br />
</code>

	<p>see also <a href="http://www.getontracks.org/wiki/Linux-Debian/" title="Linux-Debian">Linux Debian</a></p>

	<p>Submitted by TJN</p>

	<p>A guide for installing tracks on ubuntu 8+  <a href="http://tjn.me/2009/06/install-tracks-17-on-ubuntu/">here</a></p>


 
      ]]></content>
    </entry>

    <entry>
      <title>Linux Debian</title>
      <link rel="alternate" type="text/html" href="http://www.getontracks.org/wiki/Linux-Debian/" />
      <id>tag:getontracks.org,2009:wiki:Linux Debian/6.295</id>
      <published>2009-05-25T18:53:48Z</published>
      <updated>2009-05-25T18:53:48Z</updated>
      <author>
            <name>abridgett</name>
            <email></email>
      </author>
      <content type="html"><![CDATA[
        	<p><a href="http://www.getontracks.org/wiki/Category:Installation/" title="Category:Installation">Category:Installation</a></p>

	<h2>General Debian GNU/Linux installation</h2>

	<p>A detailed howto written by c00i90wn can be found at c00i90wn&#8217;s homepage <a href="http://www.cooldown.com.ar/2006/12/16/install-tracks-on-ubuntu-or-debian/">here</a> there explains how to install it on Debian or Ubuntu.</p>

	<p>(These instructions were written by Thomas Themel)</p>

	<p>Installing tracks on Debian is a bit more complicated than it should be, mainly because Debian splits ruby into a multitude of packages, while authors of ruby packages seemingly tend to assume that they are all installed.</p>

	<p>Installing Tracks requires Ruby on Rails, which in turn requires RubyGems.</p>

	<p>To install RubyGems, you need to install the following Debian packages:</p>

	<ul>
	<li>ruby1.8</li>
		<li>libzlib-ruby</li>
	</ul>
	<ul>
	<li>libyaml-ruby

	<p>When these and their dependencies are set up, it should be possible to install !RubyGems:</p>

<code><br />
sokrates:/home/themel/ruby/rubygems-0.8.4# ruby setup.rb all<br />
---&gt; bin<br />
[...]
  Successfully built RubyGem
  Name: sources
  Version: 0.0.1
  File: sources-0.0.1.gem<br />
sokrates:/home/themel/ruby/rubygems-0.8.4#<br />
</code>

	<p>For installation of the rails GEM, more Debian packages are required:</p>

		<li>libdrb-ruby</li>
		<li>liberb-ruby</li>
	</ul>
	<ul>
	<li>rdoc

	<p>RubyGems can then install Ruby on Rails:</p>

<code><br />
sokrates:/home/themel/ruby/rubygems-0.8.4# gem install rails<br />
Attempting local installation of 'rails'<br />
Local gem file not found: rails*.gem<br />
Attempting remote installation of 'rails'<br />
Updating Gem source index for: http://gems.rubyforge.org<br />
Install required dependency rake? [Yn]  y <br />
Install required dependency activerecord? [Yn]  <br />
Install required dependency actionpack? [Yn]  <br />
Install required dependency actionmailer? [Yn]  <br />
Successfully installed rails, version 0.9.5<br />
Installing RDoc documentation for rails-0.9.5...<br />
WARNING: Generating RDoc on .gem that may not have RDoc.

	<p>lib/rails_generator.rb:34:46: Skipping require of dynamic string: "#&amp;#123;path&amp;#125;/#&amp;#123;name&amp;#125;_generator.rb"<br />
Installing RDoc documentation for rake-0.4.15...<br />
Installing RDoc documentation for activerecord-1.6.0...<br />
Installing RDoc documentation for actionpack-1.4.0...</p>

	<p>lib/action_controller/scaffolding.rb:87:37: Skipping require of dynamic string: "#&amp;#123;model_id.id2name&amp;#125;"<br />
Installing RDoc documentation for actionmailer-0.6.1...<br />
sokrates:/home/themel/ruby/rubygems-0.8.4#<br />
</code></p>

	<p>To run tracks, we need another Debian package: </p>

		<li>libwebrick-ruby

	<p>The final issue that I ran into is that the ruby MySQL client seems to expect the MySQL server socket in its default location in /tmp when the specified database host is localhost.  Debian doesn&#8217;t place the server socket in /tmp/mysql.socket, but rather in /var/run/mysqld/mysqld.socket. This causes the error</p>

<code><br />
No such file or directory - /tmp/mysql.sock<br />
</code>

	<p>when starting tracks. To fix this, add a socket line to the appropriate environments in your config/database.yml:</p>

<code><br />
development:
  adapter: mysql
  database: tracks
  host: localhost
  username: root
  password:
  socket: /var/run/mysqld/mysqld.sock<br />
</code>

	<p>Happy GTDing!</p>

	<p>Thomas Themel</p>

	<p>Radagast has also had some success with Debian and Tracks, and posts detailed instructions <a href="http://rhosgobel.blogspot.com/2005/09/installing-tracks-on-debian.html">here</a>.</p>

	<h2>Ubuntu Dapper Drake</h2>

	<p>There are some very clear and straightforward instructions for <a href="http://www.rubyrailways.com/getting-ruby-on-rails-up-and-running-on-ubuntu-dapper/">Ubuntu Dapper Drake here</a>.</p>

	<h2>Ubuntu 6.10 (Edgy Eft) Installation</h2>

	<p>Here are some <a href="https://help.ubuntu.com/community/RubyOnRails">clear instructions</a> for getting rails and Edgy to play well together.</p>

	<h2>Debian Subdirectory Installation</h2>

	<p>Install notes for Debian Lenny, including specific details and patches required for installing in a subdirectory:<br />
http://bitcube.co.uk/content/getting-things-done-tracks</p>


 
      ]]></content>
    </entry>


</feed>