linux svn简明配置

2019-05-09 15:13:19 浏览数 (1)

安装配置svn #yum install subversion #mkdir /opt/u01 #svnadmin create /opt/u01/liezi #消除空行和#号开头行命令“cat /opt/u01/liezi/conf/authz | sed -n '/#/!p'| sed -n '/^$/!p'" #cat /opt/u01/liezi/conf/authz | sed -n '/#/!p'| sed -n '/^$/!p' [aliases] [groups] [dongwei:/] zhuhailiang=rw daiyanwei=rw #cat /opt/u01/liezi/conf/svnserve.conf | sed -n '/#/!p'| sed -n '/^$/!p' [general] anon-access = none auth-access = write password-db = passwd authz-db = authz [sasl] [root@saga www]# cat /opt/u01/dongwei/conf/passwd | sed -n '/#/!p'| sed -n '/^$/!p' [users] admin=password 启动svn #svnserve -d -r /opt/u01/ man svnserve -d, --daemon Causes svnserve to run in daemon mode. svnserve backgrounds itself and accepts and serves TCP/IP connections on the svn port (3690, by default). -r root, --root=root Sets the virtual root for repositories served by svnserve. The pathname in URLs provided by the client will be interpreted rela- tive to this root, and will not be allowed to escape this root.

0 人点赞