Here’s the condensed version, using the installation guide for help:

Install the software

sudo apt-get install python-setuptools python-subversion
sudo easy_install Trac

Initialize the Trac project

We’re going to run the standalone trac server just for simplicity. You don’t want it running as root (or yourself), but it needs at least read access to the subversion repository. Replace “projectname” with the name of your project.

sudo -u [some role user]
trac-admin ~/trac-projectname initenv

trac-admin will ask you some questions.

Run Trac

To prevent unwanted viewing or edits to your trac instance, enable apache digest authentication. First make an .htdigest file:

sudo apt-get install apache2-utils
sudo -u [some role user]
htdigest -c ~/.htdigest mycompany.com [admin username]

(to add more users later, omit the -c).

Then tell trac that the admin username is an admin:

trac-admin ~/trac-projectname permission add [admin username] TRAC_ADMIN

Then launch the standalone Trac instance (replace projectname and mycompany.com as appropriate):

sudo -u [some role user]
cd ~
tracd -s --port 8000 \
 --auth=trac-projectname,.htdigest,mycompany.com \
 ~/trac-projectname

If the server is only visible to a trusted network, you can skip the htpasswd command and the –auth line.
Use -s if you only have one subversion repository.

Related posts:

  1. Installing CrashPlan on Ubuntu 9.04 Server Edition
    Although rsnapshot is super for linux-to-linux backups, I’ve found CrashPlan to work very well as a backup solution for my family’s windows and mac boxes. The CrashPlan installation works pretty......
  2. OpenDNS updater for linux/ubuntu
    The OpenDNS service is great — it provides anti-phishing and the ability to filter out some of the less desirable detritus from the internets. OpenDNS needs to be periodically notified......
  3. Installing VMware Player on Ubuntu Gutsy
    Please note that these instructions are for Ubuntu 7.10. Newer versions of Ubuntu can just follow the normal installation instructions at http://www.vmware.com/download/player/. So it turns out that the current release......
  4. Installing Ubuntu from a USB Drive
    I just bought a new green server (25-30 watts at full load!) and wanted a brand-new Jaunty experience. The MSI Wind Nettop doesn’t come with an optical disk drive, nor......