1、安装svn
yum install subversion
2、目录创建
mkdir /home/svn
3、创建仓库
svnadmin create /home/svn/repos
4、修改启动配置
vi /home/svn/repos/conf/svnserver.conf
anon-access = none
auto-access =write
password-db = passwd
authz-db =authz
5、添加用户密码
vi /home/svn/repos/conf/passwd
[users]
test=123456
6、权限设置
vi /home/svn/repos/conf/authz
[repos:/]
test =rw
7、启动svn
svnserver -d -r /home/svn
8、查看进程
ps -ef|grep svn
仓库地址:svn://IP/repos