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

Labels:

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.

Labels:

Wednesday, January 14, 2009

JSR 227: A Standard Data Binding & Data Access Facility for J2EE

Az Oracle ADF a JSR-227 szerint valósítja meg a UI és a Service réteg közötti kapcsolatot.
Az alábbi PDF egy tömör, jó összefoglalás:
http://www.nljug.org/pages/events/content/jfall_2005/sessions/00016/slides.pdf/

Friday, January 09, 2009

Subversion

Windows szerverek:


Windows kliensek:
  • http://www.sliksvn.com/en/download - parancssoros kliens
  • http://www.collab.net/downloads/subversion/ - regisztráció szükséges a letöltéshez

Labels:

Saturday, October 14, 2006

Best of (the serverside)

5 Principles For Programming: (1) Fail Fast (don't hide errors), (2) Write Less Code (and Don't Repeat Yourself), (3) Computer Programs are for People (4) Do the Right Thing (5) Reduce State (6) Know Your Shit

Sunday, October 01, 2006

Linux on Acer TravelMate 4062

  • Ubuntu 6.0.6 - nice, but does not use the 1280x800 screen resolution and wireless does not work
  • OpenSuse 10.1 - configured the display correctly to 1280x800, wireless is OK, but the wired ethernet does not work. Second install: wired ethernet is OK. The NetworkManager applet could not connect to wireless, but disconnected the wired.
  • Fedora Core 5 - Desktop/System Settings/Display knows the 1280x800 resolution, but the Desktop/Preferences/Screen Resolution does not. Wireless is not detected.

Saturday, September 16, 2006

Intel PROSet on Acer 4062

Initial state: wireless works with the pre-installed windows drivers, but I need some features of Intel PROSet.
  1. First try: download latest Intel PROSet (version 10.1.1). Install. Reboot. Standard (Windows XP) wireless driver works (as before), Intel PROSet does not work (does not find any Intel Wifi adapter) and configuration changes do not help.
  2. Second try. Download Intel PROSet 9.0.0.39 from Acer's site. Install. Reboot. No wireless at all.
  3. Third try. Upgrade Intel PROSet to version 10.1.1. It works.

HTML GUI - Stripes

Stripes wants to be simpler than other web frameworks and succeeds. It is much easier to create a stripes GUI and results in less complexity than struts. See http://stripes.mc4j.org/confluence/display/stripes/Quick+Start+Guide for a first impression.