Friday, August 24, 2007

Subversion and TRAC in Linux

Fedora Core 6

Download Package

  1. yum install subversion
  2. yum install mod_dav_svn
  3. yum install trac

Install

  • go to etc/httpd/conf.d/
  • add trac.conf and svn.conf
  • create password files with "htpasswd"
  • service httpd restart

Ubuntu 6.10

For subversion: apt-get install subversion libapache2-svn

For trac: apt-get install trac (will install trac-0.9.6)

To upgrade SQlite database from v.2 (used in old trac) to v.3, apt-get install libsqlite0 python-sqlite, sqlite and sqlite 3, then

  1. $ mv trac.db trac2.db
  2. $ sqlite trac2.db .dump | sqlite3 trac.db
  3. change /etc/apache2/sites-available/default
  4. set svn.passwd file
  5. apache2ctl restart



No comments: