|
|
???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
?????,??! |
|