Running slimserver as a Windows service
robin Wednesday, September 21 2005 @ 10:35 PM BST Views: 7,691
I needed to run slimserver on a Windows XP laptop.
I wanted to use the latest code from svn, but I also wanted to run slimserver as a Windows service.
This article describes how to do it.
- Download and install ActiveState perl.
- Download and install TortoiseSVN
- Download and install the Windows Server 2003 Resource Kit Tools
- Create folder
- Browse to this folder in Explorer
- Right-click and choose "SVN Checkout"
http://svn.slimdevices.com/repos/slim/trunkas the "URL of repository"
- Click OK and wait for the checkout to complete.
- Open a command prompt and create the SlimServer service as follows:
instsrv SlimServer "C:Program FilesWindows Resource KitsToolssrvany.exe"
- Configure the SlimServer service as follows:
- Run regedit
- Go to
- Right-click the SlimServer keyname, point to New, and then click Key.
- In the console pane, for the name of the new key, type Parameters.
- Right-click the Parameters subkey, point to New, and then click String Value.
- Type the name of the new entry as Application.
- Right-click Application and then click Modify.
- In the Edit String window, in Value Data, type:
perl -w "C:Program FilesSlimServerserverslimserver.pl"
- Start the new service from the Services tool or from the command-line as follows:
net start SlimServer
- Browse to
http://localhost:9000to check it's working.
- Finally, go to Server Settings and set your Music Folder location.
- To update to the latest version simply browse to the folder in Explorer, right-click, and choose "SVN Update".
- You will need to restart the service for the changes to take effect.
- If you have a firewall installed, don't forget to make sure you open the necessary ports.