linux 系统下搭建SVN服务器
2012-11-03 20:27:35 来源:WEB开发网核心提示: } } # ./PtoWP.pl ( 先给该脚本加可执行权限,然后执行以转换密码 ) Adding password for user pm Adding password for user server_group Adding password for user client_group Addin
}
}
# ./PtoWP.pl ( 先给该脚本加可执行权限,然后执行以转换密码 )
Adding password for user pm
Adding password for user server_group
Adding password for user client_group
Adding password for user test_group
现在目录下会多一个webpasswd文件。
2,修改httpd.conf,添加关于SVN服务器的内容
编辑/etc/httpd/conf/httpd.conf,在最后添加如下信息:
<Location /project>
DAV svn
SVNPath /home/svn/project/
AuthType Basic
AuthName "svn for project"
AuthUserFile /home/svn/project/conf/webpasswd
AuthzSVNAccessFile /home/svn/project/conf/authz
Satisfy all
Require valid-user
</Location>
3,启动HTTPD服务器
# service httpd restart
Stopping httpd: [FAILED]
}
# ./PtoWP.pl ( 先给该脚本加可执行权限,然后执行以转换密码 )
Adding password for user pm
Adding password for user server_group
Adding password for user client_group
Adding password for user test_group
现在目录下会多一个webpasswd文件。
2,修改httpd.conf,添加关于SVN服务器的内容
编辑/etc/httpd/conf/httpd.conf,在最后添加如下信息:
<Location /project>
DAV svn
SVNPath /home/svn/project/
AuthType Basic
AuthName "svn for project"
AuthUserFile /home/svn/project/conf/webpasswd
AuthzSVNAccessFile /home/svn/project/conf/authz
Satisfy all
Require valid-user
</Location>
3,启动HTTPD服务器
# service httpd restart
Stopping httpd: [FAILED]
更多精彩
赞助商链接