Edgewall Software

Changes between Version 35 and Version 36 of TracOnWindowsStandalone


Ignore:
Timestamp:
Oct 4, 2010, 12:16:47 PM (14 years ago)
Author:
Christian Boos
Comment:

improve wiki markup

Legend:

Unmodified
Added
Removed
Modified
  • TracOnWindowsStandalone

    v35 v36  
    6363
    6464== Running Tracd as service ==
    65 ''Instructions also valid for 0.11 (see #7496)''
     65''Instructions also valid for 0.11, 0.12 and newer (see #7496)''
    6666 * download the Windows Server 2003 Resource Kit at [http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en Microsoft]
    67  * run "!InstSrv <servicename> c:\path\to\resourcekit\!SrvAny.exe", where you insert your own service name (without angle brackets, e.g. tracd) and the full path to the !SrvAny.exe.
    68  * open HKEY_LOCAL_MACHINE\SYSTEM\!CurrentControlSet\Services\<servicename> in !RegEdit
    69  * create subkey *Parameters*, below which you will create 2 string values:
    70  * create string value *Application* with the full path to '''python.exe'''
    71  * create string value *!AppParameters* with the set of desired tracd parameters, e.g. "c:\Python25\Scripts\'''tracd-script.py''' --port 8080 c:\path\to\trac" (without the quotes)
     67 * run `!InstSrv <servicename> c:\path\to\resourcekit\!SrvAny.exe`, where you insert your own service name (without angle brackets, e.g. tracd) and the full path to the `SrvAny.exe`.
     68 * open **HKEY_LOCAL_MACHINE\SYSTEM\!CurrentControlSet\Services\<servicename>** in !RegEdit
     69 * create subkey **Parameters**, below which you will create 2 string values:
     70  * create string value **Application** with the full path to `python.exe`
     71  * create string value **!AppParameters** with the set of desired tracd parameters, e.g. `c:\Python25\Scripts\tracd-script.py --port 8080 c:\path\to\trac"`
    7272 * open the Services tool (somewhere in the administrative tools in the Windows control panel) and start your service
    7373
     
    7878''Instructions for Windows 7''
    7979 * Download `instsrv.exe` and `srvany.exe` from Microsoft
    80  * drive:\path\to\!InstSrv.exe tracd drive:\path\to\!SrvAny.exe
    81  * open HKEY_LOCAL_MACHINE\SYSTEM\!CurrentControlSet\Services\tracd in !RegEdit
    82  * create subkey *Parameters*, below which you will create 2 string values:
    83  * create string value *Application* - drive:\path\to\tracd.exe
    84  * create string value *!AppParameters* with the set of desired tracd parameters, e.g. "--port 8080 --auth=proj_name,drive:\path\to\proj\digest.txt,trac drive:\path\to\proj\" (without the quotes)
    85  * Run net start tracd
     80 * `drive:\path\to\InstSrv.exe tracd drive:\path\to\SrvAny.exe`
     81 * open **HKEY_LOCAL_MACHINE\SYSTEM\!CurrentControlSet\Services\tracd** in !RegEdit
     82 * create subkey **Parameters**, below which you will create 2 string values:
     83   * create string value **Application** - `drive:\path\to\tracd.exe`
     84   * create string value **!AppParameters** with the set of desired tracd parameters, e.g. `--port 8080 --auth=proj_name,drive:\path\to\proj\digest.txt,trac drive:\path\to\proj\`
     85 * Run `net start tracd`
    8686
    8787''Instructions for Windows 2008, using nssm (works with other Windows versions, e.g. Windows XP sp2 x64)''