《CentOS安装Subversion》
转载地址为:http://jingyan.baidu.com/article/d45ad148e9cfc069542b8046.html
#查看本机是否已安装SVN
[root@test2 etc]# rpm -qa subversion
[root@test2 etc]#
#卸载旧版
[root@test2 etc]# yum remove subversion
#安装SVN 为了便于以后操作同时安装其他服务 可以仅安装SVN
[root@test2 etc]# yum install httpd httpd-devel subversion mod_dav_svn mod_auth_mysql
确认已安装了svn模块
[root@test2 etc]# cd /etc/httpd/modules
[root@test2 etc]# ls | grep svn
mod_authz_svn.so
mod_dav_svn.so
验证安装:
[root@test2 conf]# svnserve --version
创建代码库
[root@test2 etc]# mkdir -p /opt/svn/repositories
[root@test2 etc]# svnadmin create /opt/svn/repositories
执行上面的命令后,自动建立repositories库,查看/opt/svn/repositories 文件夹发现包含了conf, db,format,hooks, locks, README.txt等文件,说明一个SVN库已经建立。用户配置
[root@test2 conf]# cd /opt/svn/repositories/conf
[root@test2 conf]#vi passwd
[users]
# harry = harryssecret
# sally = sallyssecret
test=123456
[root@test2 conf]#vi authz
[/]
test=rw
[root@test2 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
启动SVN
#启动SVN
[root@test2 conf]#svnserve -d -r /opt/svn/repositories
#查看SVN进程
[root@test2 conf]# ps -ef|grep svn|grep -v grep
root 2301 1 0 18:58 ? 00:00:00 svnserve -d -r /opt/svn/repositories
[root@test2 conf]#
#检测SVN端口
[root@test2 conf]# netstat -ln |grep 3690
tcp 0 0 0.0.0.0:3690 0.0.0.0:* LISTEN
[root@test2 conf]#
[root@test2 conf]# killall svnserve //停止
[root@test2 conf]# svnserve -d -r /opt/svn/repositories // 启动
[root@test2 conf]#
相关推荐
NULL 博文链接:https://sinykk.iteye.com/blog/860209
subversion在centos最小化安装所需要的rpm包,包含了执行的脚本 subversion在centos最小化安装所需要的rpm包,包含了执行的脚本
SVN版本管理系统的安装(CentOS+Subversion+Apache+Jsvnadmin)安装步骤
Centos7 源码安装Subversion Edge.md 存放这里,让大家下载快捷一点
CentOS 下 Apache + Subversion 实现版本控制
持续集成篇--SVN版本管理系统的安装(CentOS+Subversion+Apache+Jsvnadmin)安装步骤
CentOS默认的yum --install subversion ,安装的是1.6版本 安装1.7脚本
CentOS安装MySQL5.7,带部分截图
本文实例讲述了Linux环境(CentOS6.7 64位)下安装subversion1.9.5的方法。分享给大家供大家参考,具体如下: 安装环境以及软件版本如下。 subversion使用1.9.5版本,服务器使用阿里云服务器,CentOS6.7(64位)。 1....
centos7.0安装mysql centos7.0安装mysql centos7.0安装mysql
在centos6.5系统下编译安装subversion1.8.8需要的其他编译安装的安装包
在centos下安装oracle11g 使用yum源进行搭建 包括配置监听
CentOS 7 安装 MySQL
基于centos环境的freeswitch服务安装,可视对讲功能,亲测可以使用;sipp性能测试打180QPS;
Centos安装中文语言包安装
系列文档之05-CentOS 安装Weblogic10
centos7亲测安装成功,摘自网上一个帖子,忘了出处,若有人知道望告知,添加链接,谢谢!
centos7离线安装bison
CentOS7安装Git
centos安装教程,由图解,比较详细