Sunday, February 08, 2009

trac install - win XP

Components:
How to install and configure:
  1. Had to move IIS to port 1080 to make port 80 available for Apache:
    My computer /manage / IIS / default site / properties
  2. Apache: next-next-OK
  3. SVN server: extract the ZIP file and use the README in the zip file
    The referenced tortoisesvn howto is useless, but the end of the README itself is OK
    no installer, copy modules to Apache, add svnserver\bin to SYSTEM path, edit httpd.conf and REBOOT.
  4. Run "svnadmin create d:\repository\subversion\sandbox"
  5. Subversion is available now at http://localhost/svn
  6. Python: next-next-OK
  7. svn-python: next-next-OK
  8. Genshi: next-next-OK
  9. SetupTools: next-next-OK
  10. Trac: next-next-OK
  11. Run python25\Scripts\trac-admin.exe
    trac-admin d:\repository\trac\sandbox initenv
    (SVN repository: d:\repository\subversion\sandbox)
  12. test: python25\Scripts\tracd --port 8000 d:\repository\trac\sandbox
    URL: http://localhost:8000/sandbox
  13. mod_python: next-next-OK
  14. Apache config:

    copy mod_dav_svn.so & mod_authz_svn.so to apache2\modules

    enable (uncomment in apache2\conf\httpd.conf):
    LoadModule dav_module modules/mod_dav.so
    LoadModule dav_fs_module modules/mod_dav_fs.so

    add:
    LoadModule dav_svn_module modules/mod_dav_svn.so
    LoadModule authz_svn_module modules/mod_authz_svn.so
    LoadModule python_module modules/mod_python.so

    add locations and authentication to httpd.conf, see http://trac.edgewall.org/wiki/TracModPython

    Note: I had to use apache2/bin/htpasswd.exe with the "-p" option to generate authentication that works.

  15. Enable WebAdmin for your username:
    python25\scripts\trac-admin.exe /repository/trac/sandbox permission add username TRAC_ADMIN

  16. Test: http://localhost/trac/sandbox
    (works fine for me)
How to suck:
  • I have lost a lot of time trying to integrate svn-win32-1.5.5_py.zip to python.
    The solution was installing svn-python-1.5.5.win32-py2.5.exe

Monday, February 02, 2009

NSLU2

My NSLU2 came with the ancient firmware version v2.3R24. The newest available firmware is V2.3R63, although dead links can be found at the linksys site to V2.3R76.

I have tried to upgrade using the web interface, but it did not work, just the status led started blinking green/amber for hours, until switch-off (in theory, the upgrade should have been finished in 5-10 minutes). After restart the unit came up with the old firmware.