3

文档说它应该位于/etc/Rserv.conf我使用 Ubuntu 13.10 的情况下。

当我运行sudo find / 'Rserv.conf'sudo find / '*Rserv.conf'它不返回这样的文件时。

但是 Rserve 工作正常。

我对linux很陌生,所以也许我在这里搞砸了。

我在哪里以及如何找到这个配置文件?

4

1 回答 1

5

默认情况下没有安装配置文件,该函数run.RServe只是在 location 查找文件/etc/Rserv.conf

这是来自RForge RServe 页面

配置

Rserve 由配置文件 /etc/Rserv.conf 配置(可以在编译时通过指定 -DCONFIG_FILE=.. 进行更改)。可以通过 --RS-conf 命令行参数添加其他配置文件。可能的配置条目如下(所有条目都是可选的;默认值在尖括号中):

workdir <path> [/tmp/Rserv]
pwdfile <file> [none=disabled]
remote enable|disable [disable]
auth required|disable [disable]
plaintext enable|disable [disable]
fileio enable|disable [enable]
interactive yes|no [yes] (since 0.6-2)

(since version 0.1-9):
socket <socket> [none=disabled]
port <port> [6311]
maxinbuf <size in kb> [262144]

(since version 0.3):
maxsendbuf <size in kb> [0=unlimited]
uid <uid> [none]
gid <gid> [none]
su now|server|client [none] (since 0.6-1)

(since version 0.3-16):
source <file>
eval <expressions>

(since version 0.5 and unix only):
chroot <directory> [none]
sockmod <mode> [0=default]
umask <mask> [0]

(since version 0.5-3):
encoding native|utf8|latin1 [native]
(since version 0.6-2):

从 0.5 开始,以下配置选项可以使用十六进制 (0x..)、八进制 (0..) 或十进制值:port、uid、gid、umask 和 sockmode。所有其他选项和命令行选项始终采用十进制表示法。

于 2013-11-28T14:50:52.203 回答