1.安装SVN (slackware)
easy...............
2.建立仓库(源代码安装默认的目录是/usr/bin)
#/usr/bin/svnadmin create /home/wuxiaoxiao/SVNPROJECT
3.修改conf/svnserver.conf文件
修改svnserve.conf:
# [general]
# password-db = passwd
#anon-access = read
#auth-access = write
改为:
[general]
password-db = passwd
anon-access = read
auth-access = write
然后修改同目录的passwd文件:增加用户名和密码
4.启动:
/usr/bin/svnserver -d -r /home/wuxiaoxiao/SVNPROJECT
5.主机上面链接:file:///home/wuxiaoxiao/SVNPROJECT
远程机器上的链接:svn://ip
即可
阅读(1180) | 评论(0) | 转发(0) |