微软官方MSDN原版Win10系统下载

现在位置: 首页  > 系统教程  > Linux教程

CentOS系统安装使用Subversion的方法

时间:2024-04-25 12:22:02   

大家好,今天Win10系统之家小编给大家分享「CentOS系统安装使用Subversion的方法」的知识,如果能碰巧解决你现在面临的问题,记得收藏本站或分享给你的好友们哟~,现在开始吧!

百度识图 在线使用系列软件最新版本下载

  subversion是一个版本控制系统,能够将文件放在中心版本库中,那么在CentOS系统中要如何使用subversion呢?下面小编就给大家介绍下CentOS安装使用subversion的方法。

  1.安装Subversion

  yum install subversion

  2.创建版本库

  a.mkdir -p /var/svn/repositories(创建版本库目录)

  b.cd /var/svn/repositories

  c.svnadmin create rock-eng(创建版本库rock-eng)

  3.启动svn

  svnserve -d -r /var/svn/repositories

  4.配置访问权限

  a.cd /var/svn/repositories/rock-eng/conf/

  b.vim svnserve.conf

  ### This file controls the configuration of the svnserve daemon, if you

  ### use it to allow access to this repository. (If you only allow

  ### access through http: and/or file: URLs, then this file is

  ### irrelevant.)

  ### Visit http://subversion.tigris.org/ for more information.

  [general]

  ### These options control access to the repository for unauthenticated

  ### and authenticated users. Valid values are “write”, “read”,

  ### and “none”。 The sample settings below are the defaults.

  anon-access = none

  auth-access = write

  ### The password-db option controls the location of the password

  ### database file. Unless you specify a path starting with a /,

  ### the file‘s location is relative to the directory containing

  ### this configuration file.

  ### If SASL is enabled (see below), this file will NOT be used.

  ### Uncomment the line below to use the default password file.

  password-db = passwd

  ### The authz-db option controls the location of the authorization

  ### rules for path-based access control. Unless you specify a path

  ### starting with a /, the file’s location is relative to the the

  ### directory containing this file. If you don‘t specify an

  ### authz-db, no path-based access control is done.

  ### Uncomment the line below to use the default authorization file.

  authz-db = authz

  ### This option specifies the authentication realm of the repository.

  ### If two repositories have the same authentication realm, they should

  ### have the same password database, and vice versa. The default realm

  ### is repository’s uuid.

  # realm = My First Repository

上一页123下一页 剩下全文

以上就是关于「CentOS系统安装使用Subversion的方法」的全部内容,本文讲解到这里啦,希望对大家有所帮助。如果你还想了解更多这方面的信息,记得收藏关注本站~

Win10系统之家www.ghost580.net文★章,转载请注明出处!】

相关文章

  • CentOS系统安装使用Subversion的方法

    CentOS系统安装使用Subversion的方法


      subversion是一个版本控制系统,能够将文件放在中心版本库中,那么在CentOS系统中要如何使用subversion呢?下面小编就给大家介绍下CentOS安装使用subversion的方法。
      1.安装Subversion
      yuminstallsubversion
      2.创建版本库
      a.mkdir-p/var/svn/reposito...
  • CentOS下使用SARG分析Squid日志的方法汇总

    CentOS下使用SARG分析Squid日志的方法汇总


      作为一个网络管理员,需要对网络流量日志进行分析,因为通过流量日志可以看到用户对网络服务器的使用情况,及时发现网络中存在的问题等,而SARG就是很好的网络流量日志分析工具,下面随小编一起来了解下CentOS下如何使用SARG来分析Squid日志。
      SARG是一款基于网络的工具,它可以分析Squid日志,并以更详细的方式展示分析。系统管理员可以利用SARG来监视哪些网站被访问...
  • CentOS 6.4使用脚本停用触控板的方法

    CentOS 6.4使用脚本停用触控板的方法


      触控板就是笔记本上面的那块能移动游标的设备,通常设有快捷键能够快速启用或关闭,在CentOS6.4中,使用脚本能够自动关闭触控板,下面小编就给大家介绍下CentOS6.4如何使用脚本停用触控板,一起来学习下吧。
      方法:
      1.检查是否安装xorg-x11-app;
      rpm-qaxorg-x11-apps
      如果没有安装使用下面命令安装xor...
  • CentOS系统安装whois命令的方法

    CentOS系统安装whois命令的方法


      在CentOS系统中,绝大部分命令系统都有自带,但有些命令则需要额外安装,比如whois命令,那么CentOS要怎么安装whois命令呢?下面小编就给大家简单的介绍下whois命令的安装。
      环境:CentOS6.0
      使用yuminstallwhois提示找不到这个包,此时你可以使用yumsearchpackage或yumwhatprovidesfilename...