?囝泺 www.bluenuo.cn
权限理
1)增加用户
# ./usr/local/apache2/bin/htpasswd [-c] /home/*/svn/authfile wooin
//W一ơ设|用h使用-c表示新徏一个用h件。回车后输入用户密码Q完成对用户的增?/font>
# ./usr/local/apache2/bin/htpasswd authfile 用户?加入新的用户)
2)权限分配
# vi /home/svnroot/repository/authz.conf
[test:/] //q表C,仓库test的根目录下的讉K权限
wooin = rw //test仓库wooin用户hd写权?
bao = r //test仓库bao用户hL?
[test2:/] //test2仓库根目录下的访问权?
wooin = r //wooin用户在test2仓库根目录下只有L?
bao = //bao用户?test2仓库根目录下无Q何权?
[/] //q个表示在所有仓库的根目录下
* = r //q个表示Ҏ有的用户都具有读权限
#[groups] //q个表示组讄
#svn1-developers = wooin, bao //q个表示某群l里的成?
#svn2-developers = wooin
#[svn1:/]
#@svn1-developers = rw //如果在前面加上@W号Q则表示q是个群l权限设|?/font>
这个设|完成后。重启ApacheQ就可以通过
http://localhost/svn/test
q个URL来访问仓库了
至于在eclipse使用svn需要自己安装svn插g?/p>
q里介紹Eclipse的SVN PluginQ叫做Subclipse,官方|站的下载地址?a >http://subclipse.tigris.org/Q也提供了update site http://subclipse.tigris.org/update?br /> Eclipse 的用者可以通过Eclipse的插件自动下载和更新功能来安装这个插Ӟ在Eclipse的菜单中选择Help->Software Updates->Find and Install-> Search for new features to install ->New Remote Site。URL中就输入http://subclipse.tigris.org/updateQEclipse׃自已安装上了.
安装完成后,在Eclipse的plugins中就会多?个包Q命名ؓorg.tigris.subversion.*的都应该是了。打开 Eclipse,window->show viewH口中多了一个SVN文g夹,到此p明svn插g成功的安装上了。具体的使用ҎQ在Eclipse的Help中有详细的帮? Subclipse - Subversion Eclipse PluginQ教你一步一步的使用SVN的客L了。如果你对subversion惌行深入的了解Q那么看看help中的Version Control with Subversion一定有所收获Q通过本h的观察,q䆾文档和sbuversion安装文g中提供的官方文档一Pq里看v来就更舒服些了?/p>
注:本文是ȝ前辈资料的成?/p>
囝泺Q武汉科技学院
您可以通过其博客了解更多信息和文章Q?a target="_blank">http://www.bluenuo.cn
# Modified by YaST2. Last modification on ?nbsp; 4?nbsp; 1 06:48:42 UTC 2007
color white/blue black/light-gray
default 1
timeout 8
gfxmenu (hd1,7)/boot/message
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Desktop 10
root (hd1,7)
kernel /boot/vmlinuz root=/dev/sda8 vga=0x314 resume=/dev/sda7 splash=silent showopts
initrd /boot/initrd
###Don't change this comment - YaST2 identifier: Original name: windows###
title Windows
chainloader (hd0,0)+1
###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux Enterprise Desktop 10
root (hd1,7)
kernel /boot/vmlinuz root=/dev/sda8 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd