当前位置

解决 scm-server 安装后不能在服务里启动

按照Windows下配置Git服务器和客户端里面说的,在 Windows Server 2008 R2 下面安装 scm-server,运行 scm-server.bat install 后,在 Windows 服务里尝试启动服务,报 the system cannot find the file specified。

搜了一下,按照 https://bitbucket.org/sdorra/scm-manager/issue/74/windows-service 这个里面的说法,先 scm-server.bat uninstall,然后用 Run as administrator 的方式启动命令行窗口,然后再运行 scm-server.bat install,然后就可以在 Windows 的 Services 里启动 scm-server 了。

Topic: