????1.??yum????
???????????????yum????????????????????yum?????
?????????а?????????yumδ???????Ч????……
????2.???svn
????yum -y install subversion
????????????????????????ɡ?
????3.????????????
?????????汾????
????mkdir -p /data/svn/repo
????????
????svnadmin create  /data/svn/repo
????????????????????????repo???????/data/svn/repo ????з????????conf?? db??format??hooks?? locks?? README.txt?????????????SVN???????????
????4.???????passwd????
????[root@localhost password]# cd /data/svn/repos/conf
????[root@admin conf]# vim passwd
???????passwd??????????
????[users]
????# harry = harryssecret
????# sally = sallyssecret
????hello=123
?????????=????
?????????????????hello????? 123????
?????????????????д?? ????????? ????????.
????5.??????authz????
????[root@admin conf]# vi  authz
???????????????Щ????????????Щ??????authz???????????????
????#????[/]????????????е????   ????д??[repl:/]
????[/]
????hello = rw
?????????hello?????repo??????????е????ж?д?????????????????
?????????????????????д?ɡ?
?????????????????д?? ????????? ????????.
????6.????svnserve.conf????
????[root@admin conf]# vim svnserve.conf
????????????????
????[general]
????#???????????????????read??write??none??????read
????anon-access=none
????#?????????д???
????auth-access=write
????#??????????·??
????password-db=passwd
????#??????????
????authz-db=authz
????#??????????subversion???????????????????????????????????
????realm=/data/svn/repositories
?????????????????д?? ????????? ????????.
????7.???svn????
??????svn???????????
????ps -ef|grep svn
???????????????? ???????????
????svnserve -d -r /data/svn/repo  --listen-port=3690
????8.??????
????/sbin/iptables -I INPUT -p tcp --dport 3690 -j ACCEPT
????/etc/rc.d/init.d/iptables save
????/etc/init.d/iptables restart
????/etc/init.d/iptables status
????9.????
????svn://ip???
???????????3690?????????ú??????????????ɡ?
??????????????? svn://ip???/repo??????????????