Posted on:May 17, 2010 at 11:31 AM

Trac Installation on Dreamhost

Trac Installation on Dreamhost

Installing Trac on Dreamhost: A Step-by-Step Guide

This guide will walk you through setting up Trac with SVN integration on Dreamhost hosting.

Prerequisites

  • A Dreamhost account with shell access
  • Admin access to Dreamhost panel

Installation Steps

1. Install SVN

  1. Log into your Dreamhost web panel
  2. Navigate to “Goodies > Subversion”
  3. Follow the installation prompts

2. Install Trac

  1. In Dreamhost panel, go to “Goodies > One-Click Installs”
  2. Select “Advanced mode”
  3. Choose Trac and connect it to your newly created SVN repository

3. Configure Authentication

  1. Set up user authentication through Htaccess/WebDAV
  2. Add admin privileges by running the following command in your shell account:
    trac-admin /path/to/trac/project permission add your-username TRAC_ADMIN

4. Customize Your Installation

Basic Setup

  1. Access Trac through your browser and log in with your admin account
  2. Configure settings according to your needs

Appearance Customization

  1. Modify the default CSS for better appearance:
    # Edit the CSS file at:
    /path/to/trac/projects/htdocs/css/trac.css

SVN Hooks Configuration

  1. Set up SVN hooks to enforce ticket number requirements
  2. Download the hook scripts
  3. Modify the post-commit and pre-commit files to match your paths

5. Permissions Setup

  1. Set the correct permissions for the database directory:
    chmod 777 /path/to/trac/db

Troubleshooting

If you encounter permission issues:

  • Verify database directory permissions
  • Check user access rights in Trac admin panel
  • Ensure SVN hooks have proper execute permissions

Additional Resources