Archive
Window XP平台架设 SVN 服务器
Window XP平台架设 SVN 服务器
准备
下载相关文件
Subversion1.5.4+Apache2.2整合安装文件
http://downloads-guests.open.collab.net/files/documents/61/1182/CollabNetSubversion-server-1.5.4-1.win32.exe
1 安装Svn 服务器 和apache2.2
按照向导一步步的安装,选择SVN Repository 路径为: E:svn_repository
2创建svn资源库以及用户
转到{SVN Server安装目录} 运行 svnadmin create E:svn_repositoryproject1
通过这个命令我们可以创建一个路径为project1的项目资源库,下面再为项目资源库创建用户或者组
转到{SVN Server安装目录}httpdbin 运行htpasswd -cm E:svn_repositorysvn-auth-file chouxinxin
根据提示输入密码以及确认密码
创建E:svn_repositorysvn-access-file
内容如下:
[project1:/]
chouxinxin =rw
保存退出
以上步骤将会在E:svn_repository目录下生成两个文件:
用户文件
svn-auth-file和svn访问权限控制文件svn-access-file
3 配置Apache 的svn支持
编辑{SVN Server安装目录}httpdconf文件夹下的 httpd.conf
查找LoadModule关键字
添加加载模块
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
在文件末尾添加或者修改
DAV svn
SVNParentPath e:svn_repository
AuthType Basic
AuthName “Cactus Thinking Subversion repository”
AuthUserFile e:svn_repositorysvn-auth-file
Require valid-user
AuthzSVNAccessFile e:svn_repositorysvn-access-file
4.配置并启动服务
命令行转到{SVN Server安装目录}httpdbin目录下执行httpd -k install -nSVNServer
net start SVNServer
bingo! Success!
5访问项目资源库
(略)
参考文献:
http://subversion.tigris.org/
http://subversion.tigris.org/faq.zh.html
预告:Windows平台利用cygwin架设SSH服务器
jboss jBPM SVN Repository Address
Some projects such as JBoss Web Services, JBoss ESB, and JBoss Rules use Subversion for their source code repositories. We have multiple svn repositories:
NOTE: THE URLs here are NOT YET READY for JBoss Rules, please do not use them at this time.
Anonymous Access is provided by the following url:
http://anonsvn.jboss.org/repos/
![]()
Committer Access is provided by:
Note that the anonymous repository is a mirror of the committer repository that is synched every 5 minutes.
Committers will be prompted for their jboss.com id and password. There are no public and private keys for these repositories. All encryption is done via https. Each project maintains its own list of committers and there is directory level access controls in place.
Committer access requires agreement to one of the following contributor agreements:
… …
http://anonsvn.jboss.org/repos/中列出的项目里面没有jBPM,但是我们发现JBoss Portal的地址是http://anonsvn.jboss.org/repos/portal/ 通过猜测可以的到jbpm的SVN库地址为
解决Subclipse导致Eclipse崩溃问题
几天安装了新版svn,版本是1.4.4.结果导致使用Eclipse的Subclipse去获取SVN资源库内容时,Eclipse 就屡次崩溃。先还找不到原因。放狗搜了下。结果是环境变量APR_ICONV1_PATH惹的祸,修改这个变量名为APR_ICONV1_PATH1,哦也,重启Eclipse使用Subclipse已经没问题了。哈哈
参考:
http://subclipse.tigris.org/servlets/ReadMsg?listName=users&msgNo=10234