how to setup svn repos

how to setup svn repos:
1. svnadmin create /home/ted/backup/svn/repos
2. /home/ted/backup/svn/repos/conf裏面是配置文件
    修改好配置文件後,啓動svnserver:
    svnserve -d -r /home/ted/backup/svn/

   netstat -lnp | grep svn
   tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN 2480/svnserve

3. 導入project(在client端)
svn import mobile-manager-0.7/ svn://192.168.128.173/repos/mobile-manager
4. checkout :
svn co svn://192.168.128.174/repos

 Note:
1. 用iptables -L看一下是否有firewall
2. client會以明文的方式將賬戶和密碼保存在
   ~/.subversion/auth/svn.simple/

example conf:

svnserve.conf:
[general]
anon-access = none
auth-access = write
password-db = passwd
[sasl]

authz:
[aliases]
[groups]
[/repos]
ted.chen = rw
charly.liu = rw
jack.wu = rw
ian.guo = rw

passwd:
[users]
ted.chen = 111111
charly.liu = 111111
jack.wu = 111111
ian.guo = 111111
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章