I started off here: http://trac.edgewall.org/wiki/TracOnUbuntu
- For step 3, I needed to set up a virtualhost, so I did exactly that at everydns.net (host: trac.eugeek.com, value: ipaddress).
- After running into some trouble, I changed “SetEnv TRAC_ENV /var/trac” to “SetEnv TRAC_ENV /var/trac/project_name”.
- Something was wrong because whenever I went to "http://servername/svn/YourProjectNameHere" I would get a 404 error, whereas: "http://servername/svn/" would show the branch, tags, and trunk. After looking around, I came across this website: http://gentoo-wiki.com/HOWTO_Apache2_with_subversion_SVN_and_DAV and followed the instructions to change “SVNPath /var/svn/repos” into “SVNParentPath /var/svn”. Everything was working at this point, and I added “SVNListParentPath on” for good measure.
- Finally, install sqlite3 before running trac-admin, and let the database connection string should be “sqlite:db/trac.db”. Wasted a few hours because I entered the wrong connection string! It assumes you’re in the directory “/var/trac/” so it creates “/var/trac/db/trac.db” automatically.
You’re done!