svnserve 中文man页面

系统
svnserve 允许使用 svn 网络协议访问 Subversion 仓库。它可以运行为独立的服务器进程,也可以在 xinetd 控制下运行。在启动 svnserver 时,必须选择操作的模式。

NAME

svnserve - 使用 `svn' 访问仓库时的服务器  

SYNOPSIS 总览

svnserve [options]

DESCRIPTION 描述

svnserve 允许使用 svn 网络协议访问 Subversion 仓库。它可以运行为独立的服务器进程,也可以在 xinetd 控制下运行。在启动 svnserver 时,必须选择操作的模式。下列选项也被识别:

-d, --daemon
使得 svnserve 以守护进程方式运行。svnserve 使自身运行在后台,在 svn 端口 (默认是 3690) 监听并提供服务。
--listen-port=port
使得 svnserve 在以守护进程方式运行时监听 port 端口。
--listen-host=host
使得 svnserver 监听 host 指定的接口,可以是一个主机名或是一个 IP 地址。
--foreground
当与 -d 一同使用时,这个选项使得 svnserve 在前台运行。这个选项主要用于调试。
-i, --inetd
使得 svnserve 使用标准输入/标准输出文件描述符,当它在 xinetd 控制下运行时应该这样做。
-h, --help
显示用法信息,然后退出。
-r root, --root=root
为它提供服务的所有仓库设置虚根目录。客户端给出的 URL 中的路径名将被解释为相对于此 “根” 目录的路径,不允许超出根目录的范围。
-t, --tunnel
使得 svnserver 运行于隧道模式,操作与 xinetd 模式类似 (在标准输入/标准输出提供一个连接),但是将连接视为已认证的,认证用户就是当前的 uid。这个选项是在客户端运行于一个隧道代理上时使用。
-T, --threads
当运行在守护进程模式时,使得 svnserve 为每个连接产生新线程而不是新进程。svnserve 进程在启动时仍然将自身放到后台。
-X, --listen-once
使得 svnserve 接受 svn 端口的一个连接,提供服务,然后退出。这个选项主要用于调试。

一旦客户端通过传递 URL 选择了一个仓库,snvserve 读取这个仓库中名为 conf/svnserve.conf 的文件,判断特定于仓库的设置信息,例如使用什么认证数据库,接受什么样的认证规则。参见 svnserve.conf(5) 来查看文件格式的详细信息。

#p#

NAME

svnserve - Server for the 'svn' repository access method  

SYNOPSIS

svnserve [options]

DESCRIPTION

svnserve allows access to Subversion repositories using the svn network protocol. It can both run as a standalone server process, or it can run out of inetd. You must choose a mode of operation when you start svnserve. The following options are recognized:

-d, --daemon
Causes svnserve to run in daemon mode. svnserve backgrounds itself and accepts and serves TCP/IP connections on the svn port (3690, by default).
--listen-port=port
Causes svnserve to listen on port when run in daemon mode.
--listen-host=host
Causes svnserve to listen on the interface specified by host, which may be either a hostname or an IP address.
--foreground
When used together with -d, this option causes svnserve to stay in the foreground. This option is mainly useful for debugging.
-i, --inetd
Causes svnserve to use the stdin/stdout file descriptors, as is appropriate for a daemon running out of inetd.
-h, --help
Displays a usage summary and exits.
-r root, --root=root
Sets the virtual root for repositories served by svnserve. The pathname in URLs provided by the client will be interpreted relative to this root, and will not be allowed to escape this root.
-t, --tunnel
Causes svnserve to run in tunnel mode, which is just like the inetd mode of operation (serve one connection over stdin/stdout) except that the connection is considered to be pre-authenticated with the username of the current uid. This flag is selected by the client when running over a tunnel agent.
--tunnel-user=username
When combined with --tunnel, overrides the pre-authenticated username with the supplied username. This is useful in combination with the ssh authorized_key file's "command" directive to allow a single system account to be used by multiple committers, each having a distinct ssh identity.
-T, --threads
When running in daemon mode, causes svnserve to spawn a thread instead of a process for each connection. The svnserve process still backgrounds itself at startup time.
-X, --listen-once
Causes svnserve to accept one connection on the svn port, serve it, and exit. This option is mainly useful for debugging.

Once the client has selected a repository by transmitting its URL, svnserve reads a file named conf/svnserve.conf in the repository directory to determine repository-specific settings such as what authentication database to use and what authorization policies to apply. See the svnserve.conf(5) man page for details of that file format.

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-25 11:25:51

svnserve.co中文man

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-11-01 13:46:50

中文mantac

2011-08-25 16:55:26

gets中文man

2011-08-25 15:49:02

freopen中文man

2011-08-25 16:00:56

fflush中文man

2011-08-25 16:08:55

fsetpos中文man

2011-08-25 15:33:18

exit中文man

2011-08-24 17:19:00

raw中文man

2011-08-25 10:55:37

services中文man

2011-08-25 09:35:26

units中文man

2011-08-24 13:57:35

DECLARE中文man

2011-08-11 15:28:43

ali中文man

2011-08-23 17:24:11

userdel中文man

2011-08-23 17:33:22

rdev中文man

2011-08-23 18:05:21

ABORT中文man

2011-08-18 19:15:25

group中文man
点赞
收藏

51CTO技术栈公众号