现在的位置: 首页 > 综合 > 正文

centos 6.5 安装svn subversion

2014年10月23日 ⁄ 综合 ⁄ 共 439字 ⁄ 字号 评论关闭
安装步骤
安装包
yum install subversion
创建svn仓库目录
mkdir /opt/svn/repos
svnadmin create /opt/svn/repos
设置svn用户名密码和 
cd /opt/svn/repos/conf
vi passwd  add 
svnusername = svnuserpassword
设置svn用户授权
vi authz
[groups] 下一个[foo/bar] 改成[/]  可以访问根目录
svnusername = wr  可以读写
修改服务配置文件
vi  svnserve.conf
anon-access = none
auth-access = write
password-db=passwd
authz-db = authz
realm = /opt/svn/repos
防火墙设置
此处不会设直接关闭了防火墙 firewall closs centos界面关闭的
最后一步开启服务
/etc/init.d/svnserve restart    
svnserve -d -r /opt/svn/repos

抱歉!评论已关闭.