SVN service 有兩種模式 Daemon 和 Windows Service。
在沒有admin right的情況下只能用前者。
本章描述的是第二種
1. 下載安裝文件
https://sourceforge.net/projects/win32svn/安裝目錄:C:\Services\Subversion
手動創建目錄:C:\Data\svnserve
2. cmd run
C:\Services\Subversion\bin\svnadmin.exe create C:\Data\svnserve
3. cmd run by administrator
sc create svnserve binpath= "C:\Services\Subversion\bin\svnserve.exe --service -r C:\Data\svnserve" displayname= "Subversion Server" depend=Tcpip start=auto
4. config 3 files as below
1) C:\Data\svnserve\conf\authz
2) C:\Data\svnserve\conf\passwd
3) C:\Data\svnserve\conf\svnserve.conf
5. run services.msc to startup the service manually at the first time. (搞定)
6. go to eclipse to install subcplise plug-ins to test the installation.
一直以來都是用這個package,從1.6 用到 1.8。如果有更好的方案歡迎指點。
posted on 2017-04-16 09:47
萍水相逢 閱讀(244)
評論(0) 編輯 收藏