[root@localhost /]# rpm -qa subversion
[root@localhost modules]# yum remove subversion
[root@localhost modules]# yum install httpd httpd-devel subversion mod_dav_svn mod_auth_mysql
[root@localhost /]# cd /etc/httpd/modules [root@localhost modules]# ls | grep svn mod_authz_svn.so mod_dav_svn.so
[root@localhost modules]# svnserve --version
svnserve,版本 1.6.11 (r934486) 编译于 Jun 23 2012,00:44:03 版权所有 (C) 2000-2009 CollabNet。 Subversion 是开放源代码软件,请参阅 http://subversion.tigris.org/ 站点。 此产品包含由 CollabNet(http://www.Collab.Net/) 开发的软件。 下列版本库后端(FS) 模块可用: * fs_base : 模块只能操作BDB版本库。 * fs_fs : 模块与文本文件(FSFS)版本库一起工作。 Cyrus SASL 认证可用。
[root@localhost modules]# mkdir -p /opt/svn/repositories [root@localhost modules]# svnadmin create /opt/svn/repositories
[root@localhost modules]# cd /opt/svn/repositories/conf
[root@localhost password]# cd /opt/svn/repositories/conf [root@admin conf]# vi + passwd
[users] # harry = harryssecret # sally = sallyssecret zhoulf=123456
[root@admin conf]# vi + authz
#设置[/]代表根目录下所有的资源 [/] zhoulf=rw
[root@admin conf]# vi + svnserve.conf
[general] #匿名访问的权限,可以是read,write,none,默认为read anon-access=none #使授权用户有写权限 auth-access=write #密码数据库的路径 password-db=passwd #访问控制文件 authz-db=authz #认证命名空间,subversion会在认证提示里显示,并且作为凭证缓存的关键字 realm=/opt/svn/repositories
[root@localhost conf]# vi /etc/sysconfig/iptables
[root@localhost conf]# service iptables restart
svnserve -d -r /opt/svn/repositories
[root@localhost conf]# ps -ef|grep svn|grep -v grep root 12538 1 0 14:40 ? 00:00:00 svnserve -d -r /opt/svn/repositories
[root@localhost conf]# netstat -ln |grep 3690 tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN
[root@localhost password]# killall svnserve //停止 [root@localhost password]# svnserve -d -r /opt/svn/repositories // 启动
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有