linux上安装svn
1、安装
yum install subversion
2、测试是否成功及查看版本
svnserve --version
3、创建目录
makedir -p /home/hadoop/workspace/svn/pro
4、创建svn目录
svnadmin create /home/hadoop/workspace/svn/pro cd /home/hadoop/workspace/svn/pro
5、配置svn配置文件:授权、密码等
cd conf vi svnserver.conf [general] anon-access = none auth-access = write password-db = passwd authz-db = authz vi authz [groups] admin = hadoop [pro:/] @admin = rw hadoop = rw vi passwd [users] hadoop = hadoop123
6、启动svn
svnserve -d -r /home/hadoop/workspace/svn
(相对svn目录会少一级,相当于工程父级目录)
7、测试连接
svn co svn://127.0.0.1/pro
hadoop:hadoop123