Editing
Trac Installation on Windows Server 2008
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Install Trac as a Windows service== * Download the "SVRANY" tool. ** This utility is part of '''Windows Server 2003 Resource Kit Tools'''. This applies even if the installation is on Windows 2008 Server. ** Install The Resource Kit Tools and copy <code>srvany.exe</code> to <code>c:\windows\system32</code>. * Create a new Windows service for tracd. (Administrator privileges required.)<br /><syntaxhighlight lang="dos" enclose="div"> sc create tracd binPath= c:\windows\systems32\srvany.exe start= auto DisplayName= "Trac Stand-Alone Service" </syntaxhighlight> ** Make sure that the service does not already exist and that the Services control panel is not open. ** The equal signs are part of the parameter names. There must be no space between "binPath" and the equals sign. And there must be a space following the equals sign. * Use <code>regedit</code> to configure the application run by the <code>tracd</code> service. ** <code>\HKLM\SYSTEM\CurrentControlSet\Services\tracd\</code> ** Create a key named "Parameters" and add 3 string values under the the key: *** AppDirectory: <code>c:\Python27\</code> *** Application: <code>python.exe</code> *** AppParameters: <code>Scripts\tracd-script.py --port 8009 --protocol=ajp d:\inetpub\develop\littledamien\littledamien_web\trac</code> ** Use the python executable with the tracd-script.py script instead of using tracd.exe. Otherwise if the service is stopped the python instance will not be killed. * Start the new service. ** Administrative Tools > Services > Trac Stand-Alone Service > right click > Start
Summary:
Please note that all contributions to Littledamien Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Littledamien Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information