在不同的端口上启动单独的 RStudio 会话? [英] Launch separate RStudio session on a different port?

查看:72
本文介绍了在不同的端口上启动单独的 RStudio 会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 RStudio 服务器在端口上运行,比如 8787,然后可以通过网络浏览器访问.

I have a RStudio server running on port, say, 8787, which is then accessible by a web browser.

问题是,如果我的同事想使用 RStudio,我将断开连接,因为只有一个用户可以使用 RStudio.

The problem is, if my colleague wants to use RStudio, I'll be disconnected as only one user can use the RStudio.

我正在寻找如何在单独的端口号(例如 8989)上启动另一个 RStudio 会话实例.

I'm looking for how can we launch another instance of RStudio session on a separate port number, say, 8989.

这应该允许至少 2 个不同的用户在同一台​​服务器上运行 2 个单独的 RStudio 会话.

This should allow at least 2 different users to run 2 separate RStudio sessions on the same server.

明确地说,我使用的是 RStudio 服务器免费版本.我不确定不同端口上的多个会话等功能是否需要付费许可.

To be clear, I'm on RStudio server free version. I'm not sure whether features like multiple sessions on different ports require paid license or not.

如果有帮助,我正在使用 RHEL7.

If it helps, I'm using RHEL7.

谢谢!

推荐答案

您不需要许可证.即使是免费版的 RStudio Server 也允许您每个用户运行一个会话.

You do not need a license for this. Even the free version of RStudio Server will allow you to run one session per user.

所以你不需要尝试在多个端口上运行多个服务器;只需在您的服务器上为您的同事设置一个常规 Linux 用户帐户(例如使用 adduser),他们就可以登录 RStudio 并运行自己的 R 会话.

So you don't need to try to run multiple servers on multiple ports; just set up a regular Linux user account for your colleague on your server (using e.g. adduser), and they'll be able to log into RStudio and run their own R session.

这篇关于在不同的端口上启动单独的 RStudio 会话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆