找回密码
 立即注册
查看: 214|回复: 0

svn,???

[复制链接]

0

主题

0

回帖

56

积分

管理员

积分
56
发表于 2019-9-13 23:46:11 | 显示全部楼层 |阅读模式
???SVN?????,?????????

SVN???????????????

???????->properties->Network->Server port ????????? ??????????svn?????????????

????

???SVN???????????

????

SVN?????????2008?09?05? ??? 14:00??

?? ????

?1? apache Http Server 2.0.55 ? ??? SVN ??

?2? svn-1.3.2-setup.exe SVN ????

?3? TortoiseSVN-1.3.2.5840-svn-1.3.0.msiSVN ????

?4? LanguagePack_1.3.2_zh_CN.exe tortoise ????

?5? SVNService.zip SVN ?????????? SVN ?? windows ????

?? ??

??? 1 ? 2 ? 3 ? 4 ??????????????? 3 ???????????????? 5 ??? 2 ??????? bin ??????????

?? ??

????????????????????????????? 3 ????????????????? ---- ?????????? SVN ???????????????????? apache ???????????????????????????????????????????????????????????????????????????????????????

??????? 3 ?????????????????????????????????????????????????????????

???????????????? conf ???? svnserve.conf ???????

[general]

anon-access = read

auth-access = write

password-db = passwd

realm = My First Repository

??? # ??????????????????

??????? anon-access ? ??????????? read,write,none, ??? read

auth-access ? ??????????? read,write,none, ??? write

password-db ? ?????????????????????????????? username=passwd

????? passwd ??

1. ?? [users] ??? #, ?? svn ?????????????????????????? anon ?? none, ??????????

2. ???????? username=password

?? ?? SVN ???

????????

???? svnserve -d -r /home/svepo --listen-host 192.168.100.200

?? -d ???????? -r ???????????????????????? svn:// ??? ip ???????????? ip ?? --listen-host ?????? ip ?? .

????? svn ?????? svn://192.168.100.200 ??? svn ???

???????? , ?????????? -r ??????????? , ??????????????? svn ???????? .

?? , ????????? /home/repoa ? /home/repob, ??? svnserve -d -r /home --listen-host 192.168.100.200 ??? , ???????????? svn://192.168.100.200/repoa ? svn://192.168.1.200/repob ?????????

?????? , ????? ps aux|grep svnserv ??????? svnserve ?? .

?? ???????

svn ????? 3690 ????????????????

????? svnserve ? --listen-port ???????????????? , ?????????????????? , ? svn://192.168.100.200:9999/ ?

?? ? apache ???

???? repository ???

SVN ?????? repository ????????????????????????????????????????? repository?

????SVN ???????????????????????? CVS ????????????????? SVN ?? repository ????? URL ??????????????

file:///

???????????? repository?

http://

???? SVN ? Apache ??? (? module ???)?? WebDAV ??

https://

???? WebDAV???? SSL

svn://

??????????? svnserve ??? repository

svn+ssh://

? svn:// ?????? ssh ??? tunnel

??????????SVN???????apache?????http??????????web??????????http????????????????

?????????

0 ????Apache?D:Apache2

1 ??%SVN_HOME%inlibdb42.dll?libeay32.dll??? ssleay32.dll?%APACHE_HOME%in

2 ??%SVN_HOME%httpd*.so?%APACHE_HOME%modules

3 ??%APACHE_HOME%confhttpd.conf???????

LoadModule dav_module modules/mod_dav.so

LoadModule dav_fs_module modules/mod_dav_fs.so

LoadModule dav_svn_module modules/mod_dav_svn.so

LoadModule authz_svn_module modules/mod_authz_svn.so

4 ?<VirtualHost>???/svn?<Location>

<Location /svnserver>

DAV svn

SVNPath D:/SVNDIR/taowap

</Location>

5 ??apache???????http://localhost/svnserver???Subversion????

?????????????windows??????????????mysql,passwd???LDAP?????Apache????????

??????????????????????????????????????-p????plain text?

%APACHE_HOME%inhtpasswd c -p d:passwdpasswords user1

??????????

# ??username:password

user1:123456

?????Group????????????????groups????????

# ???GroupName: username1 username2

svngroup: user1 user2

?httpd.conf??/svnserver??????????

<Location /svnserver>

DAV svn

# ??SVN Repository?ROOT

SVNPath d:/svepo

AuthType Basic

AuthName "Subversion Repository"

AuthUserFile d:/passwd/passwords

AuthGroupFile d:/passwd/groups

Require group svngroup

</Location>

????????http://localhost/svnserver?????????????????????

?? ?? svnserve [ ?? ]

?????

-d [--daemon] : ????

--listen-port arg : ??????????

--listen-host arg : ?????? IP ????????

--foreground : ????????????

-h [--help] : ??????

--version : ??????

-i [--inetd] : inetd ??

-r [--root] arg : ?????

-R [--read-only] : ?????????????

-t [--tunnel] : ????

--tunnel-user arg : ????????????? UID ????

-T [--threads] : ????????

-X [--listen-once] : ??????????

???SVN?????

2012-04-21 09:43 ???TortoiseSVN?

VisualSVN-Server??????????SVN???

SVN??????TortoiseSVN

SVN??????VisualSVN-Server

#####################################################################

SVN???????

?????

????

???

????????????????????

??????

?????????????


?svn,???????????
?????http://www.850500.com/news/4973.html
?????,??!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2026-3-30 22:42 , Processed in 0.331653 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表