{"id":578,"date":"2009-12-18T13:12:40","date_gmt":"2009-12-18T13:12:40","guid":{"rendered":"http:\/\/salientsoft.co.uk\/?p=578"},"modified":"2011-11-17T12:24:51","modified_gmt":"2011-11-17T12:24:51","slug":"installing-and-configuring-the-cvsnt-repository-server","status":"publish","type":"post","link":"https:\/\/salientsoft.co.uk\/?p=578","title":{"rendered":"Installing and configuring a CVSNT Repository Server"},"content":{"rendered":"<p>This post details the setup of a repository server on a Windows based PC.<\/p>\n<p>Download and install\u00a0the CSVNT server <a title=\"http:\/\/www.march-hare.com\/cvsnt\/\" href=\"http:\/\/www.march-hare.com\/cvsnt\/\"><strong>here<\/strong><\/a>.<br \/>\nMake sure you pick the Windows Server software and not the \u201cclient trial\u201d.<br \/>\nIf you show all downloads you need to pick a server OS, not a client OS like Windows XP,\u00a0even if installing on Windows XP Pro like I was. (You cannot install on XP home at all\u00a0 &#8211; you must have simple file sharing turned off and Windows XP Home cannot do this). In my case, simple file sharing was off as I had already turned off ForceGuest, see <strong><a title=\"http:\/\/support.microsoft.com\/kb\/290403\" href=\"http:\/\/support.microsoft.com\/kb\/290403\">here<\/a>.<br \/>\n<\/strong>You can pick a specific account for access, or use the client account\u00a0 &#8211; I presume the user\/password must also match the server if you are in a workgroup rather than a domain but I did not test this. My installation was in a Workgroup with a specific account on the server PC. <strong>Note <\/strong>that you should run CVSNT under an account on the server with the minimum of privilege, rather than an administrator account. <strong><a title=\"http:\/\/salientsoft.co.uk\/?p=625\" href=\"http:\/\/salientsoft.co.uk\/?p=625\">See here for details on how to do this<\/a><\/strong>.<\/p>\n<p>The server runs 2 services \u2013 <strong>CVSNT Dispatch Service<\/strong> and <strong>CVSNT Locking Service, <\/strong> which both need to autostart (this is done by default). The server administration is via a control panel utility which is also available via the start menus.<\/p>\n<p>Ensure that Simple File Sharing is turned off.<br \/>\nMake sure that you exclude <strong>cvsservice.exe<\/strong> and <strong>cvslock.exe<\/strong> in <strong>both<\/strong> the Windows Firewall and any Antivirus software.<br \/>\nIn my case failure to do this caused 2 problems :-<\/p>\n<ol>\n<li>cvslock.exe crashed soon after startup<\/li>\n<li>The repository was not visible at all from the client side (in Eclipse) and would not connect \u2013 connection timeouts occurred.<\/li>\n<\/ol>\n<p>You can run multiple repositories from a CVSNT server. In my case I am using a common root \u2013 \u201cD:\\CVS Repositories\u201d and a subfolder for each respository underneath. My Java repository is named\u00a0<strong>\/Java<\/strong> and\u00a0is similarly connected this way on the client. Its Root is therefore defined as <strong>D:\\CVS Repositories\\Java.<\/strong><\/p>\n<p><strong><span style=\"text-decoration: underline;\">Connecting to the server<\/span><\/strong><\/p>\n<p>In\u00a0all cases I use the pserver protocol \u2013 the Eclipse plugin does not support many protocols natively and pserver is the most common. I use the same protocol for Tortoise.. \u00a0The server does not mandate the protocol used by the client (as far as I know) so provided the plugin is loaded for the protocol (see plugins page in the CVSNT control panel server admin tool) it should work. <strong>Pserver<\/strong> apparently only encrypts passwords but if you are running on a secure internal development network behind a firewall this should not be an issue, and should also improve performance as the protocol is not having to encrypt everything.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post details the setup of a repository server on a Windows based PC. Download and install\u00a0the CSVNT server here. Make sure you pick the Windows Server software and not the \u201cclient trial\u201d. If you show all downloads you need to pick a server OS, not a client OS like Windows XP,\u00a0even if installing on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[67],"tags":[187,68,15,185],"_links":{"self":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/578"}],"collection":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=578"}],"version-history":[{"count":15,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/578\/revisions"}],"predecessor-version":[{"id":582,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/578\/revisions\/582"}],"wp:attachment":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}