1.yum安装svn
yum install -y subversion
附linux 上yum命令使用:http://www.cnblogs.com/chuncn/archive/2010/10/17/1853915.html
2.checkout项目
svn checkout http:///tmp/repos/test
mine
3.项目打包
tar -cvf 目标目录 源目录
例如:tar
-cvf /tmp/target.tar /opt/svn/target
4.远程拷贝到指定路径
rsync -avh 目标tar 目标路径
例如:rsync -avh /tmp/target.tar 10.1.*.*:/opt/svn/
登陆*.*,解压
tar -xvf 待解压tar -C 解压存放路径
例如:
tar -xvf /tmp/target.tar -C /opt/svn/..
5.authz添加固定用户可读写权限
[guoshi]:/
fuyuhan:rw
centos系统上svn的安装使用,布布扣,bubuko.com
原文:http://www.cnblogs.com/mucaiweiblog/p/3578288.html