SVN配置
第一步:
创建仓库:
sudo svnadmin create /var/www/vcontroller
更改配置文件/var/www/vcontroller/conf下:
svnserve.conf
1,去# 去前面的空格:
anon-access = read
auth-access = write
password-db = passwd
2,加用户名密码:
passwd.conf
[users]
# harry = harryssecret
# sally = sallyssecret
xyt=123456
lzj=1111
[groups]
admin=xyt
[/]
@admin=rw
*=
插入未控制版本:
如(/var/www/thinkphp)文件
先cd 到这个目录下:
svn import thinkphp file:///var/www/vcontroller/thinkphp \-m "Initial import"
重启svn服务器:
结束svnerve
sudo killall svnserve
然后重启:
sudo svnserve -d -r /var/www/vcontroller