Linux???svn????????yum?????
???????????? ???????[ 2016/1/12 13:38:24 ] ?????????????? SVN
????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??????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11