查找rserver安装的位置: $ which rserver /usr/lib/rstudio-server/bin/rserver 检查rserver所属用户:(如果当前用户没有rserver执行权限,启动后会报Error occurred during transmission错误) $ ll /usr/lib/rstudio-server/bin/rserver -rwxr-xr-x 1 root root 4556832 Sep 17 2020 /usr/lib/rstudio-server/bin/rserver* 调试 :如果有错误可以打印在终端,方便调试 /usr/lib/rstudio-server/bin/rserver --server-daemonize=0 运行: /usr/lib/rstudio-server/bin/rserver --server-daemonize=1 参数含义: $ /usr/lib/rstudio-server/bin/rserver --help --server-daemonize arg (=1) run program as daemon
-------------------分割线--------------------------
其它文档:
rstudio安装后如何打开_Rstudio Server的安装和使用(附常见问题)
#启动服务
sudo rstudio-server start
#查看状态,当出现active时配置完成
sudo rstudio-server status
Note that on some systems (including RedHat/CentOS 5 and SLES 11) the sudo utility
doesn’t have the /usr/sbin directory in it’s path by default.
For these systems you can use a full path to the management script. For example:
$ sudo /usr/sbin/rstudio-server restart