在Redhat Linux上安装和使用subversion
?
1,安装:
?
?
创建svn帐号或修改密码:/usr/local/apache2/bin/htpasswd -b /home/svn/svn-auth-file example_user_id example_passwd修改svn用户访问策略 vi /home/svn/svn-access-file[project:/]example_user_id = rw创建svn目录 /usr/local/bin/svnadmin create /home/svn/example_folder_name 修改svn目录权限 chmod 777 /home/svn/example_folder_name修改/usr/local/apache2/conf/httpd.conf增加LoadModule dav_svn_module modules/mod_dav_svn.so##LoadModule dav_module modules/mod_dav.soLoadModule authz_svn_module modules/mod_authz_svn.so<Location /svn> DAV svn SVNParentPath /home/svn AuthType Basic AuthName "Subversion repository" AuthUserFile /home/svn/svn-auth-file Require valid-user AuthzSVNAccessFile /home/svn/svn-access-file</Location>通过浏览器访问:http://192.168.25.162:1080/svn/project这是用户名和密码分别输入example_user_id example_passwd即可?
?
?