下载软件
- Subversion:http://subversion.tigris.org/
- Apache:http://httpd.apache.org/download.cgi
- ReposStyle:http://reposstyle.com/
安装配置Subversion
没什么好说的。
安装配置Apache
将下载的ReposStyle解压到htdocs目录。
修改httpd文件:
# SVN Configuration LoadModule dav_svn_module "D:/Program Files/Subversion/bin/mod_dav_svn.so" LoadModule authz_svn_module "D:/Program Files/Subversion/bin/mod_authz_svn.so" <Location /svn> DAV svn SVNListParentPath on SVNParentPath "E:/Projects/_Repositories/" Require valid-user AuthType Basic AuthName "Hattiss's Repositories" AuthUserFile "E:/Projects/_Repositories/passwd" SVNIndexXSLT "/repos-web/view/repos.xsl" </Location>
创建认证用户文件
rem 以初始账户hattiss创建认证用户文件 >htpasswd.exe -c "E:\Projects\_Repositories\passwd" hattiss Automatically using MD5 format. New password: ************ Re-type new password: ************ Adding password for user hattiss rem 增加账户nitata >htpasswd.exe "E:\Projects\_Repositories\passwd" nitata Automatically using MD5 format. New password: ************ Re-type new password: ************ Adding password for user nitata rem 修改账户hattiss的密码 >htpasswd.exe "E:\Projects\_Repositories\passwd" hattiss Automatically using MD5 format. New password: ************ Re-type new password: ************ Updating password for user hattiss
软件版本
Subversion:1.6.6
Apache:2.2.14
ReposStyle:2.0b1
Unbeilveable how well-written and informative this was.