标签:svn
代码管理平台yum install subversion -y
mkdir -p /data/svnroot/myproject
svnadmin create /data/svnroot/myproject
ls /data/svnroot/myproject
conf db format hooks locks README.txt
ls /data/svnroot/myproject/conf/
authz passwd svnserve.conf //authz为权限文件,passwd为密码文件
cd /data/svnroot/myproject/conf/
vim authz
[groups]
admins = apeng,user1
[/]
@admins = rw
* = r
[myprojfect:/]
user1 = rw
vim passwd
apeng = 361630a93f
user1 = 9c5fefb454
user2 = 32cfbbfb5c
vim svnserve.conf
[general]
anon-access = none
auth-access = write
password-db = passwd
authz.db = authz
realm = /data/svnroot/myproject
svnserve -d -r /data/svnroot/
ps aux|grep svn|grep -v grep
root 2283 0.0 0.0 162200 656 ? Ss 13:57 0:00 svnserve -d -r /data/svnroot/
netstat -tlnp|grep svn
tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN 2283/svnserve
systemctl stop firewalld.service
iptables -nvL
标签:svn
原文地址:http://blog.51cto.com/13480443/2090249