【问题标题】:RStudio access from browser从浏览器访问 RStudio
【发布时间】:2020-11-01 04:13:08
【问题描述】:

我在 Linux 服务器 Ubuntu 18.04 上安装了 RStudio,但无法从浏览器访问它。我用了 :8787 我得到了错误

This site can’t be reached
ERR_CONNECTION_TIMED_OUT

我无法使用防火墙,但仍然出现同样的错误。当我跑步时

$sudo rstudio-server verify-installation

我有错误

11 Jul 2020 14:53:12 [rsession-rstudio-server] ERROR system error 13 (Permission denied) [path: 
/home/rstudio-server/.config/rstudio/dictionaries/custom, target-dir: ]; OCCURRED AT 
rstudio::core::Error rstudio::core::FilePath::createDirectory(const string&) const 
src/cpp/shared_core/FilePath.cpp:634; LOGGED FROM: std::vector<std::__cx

我是 Linux 和 Rstudio 的新手。任何帮助解决这个问题 谢谢

【问题讨论】:

    标签: r linux browser ubuntu-18.04 rstudio-server


    【解决方案1】:

    您使用哪个版本的 RStudio Server?

    我在 Ubuntu 18.04 上的 (1.3.959) 上遇到了类似的问题。我从https://rstudio.com/products/rstudio/download-server/debian-ubuntu/安装了最新的。

    wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.3.1056-amd64.deb
    sudo gdebi rstudio-server-1.3.1056-amd64.deb
    

    之后我还需要重启apache2.service:

    systemctl restart apache2.service
    
    $ rstudio-server version
    1.3.1056 (Water Lily) for Ubuntu Bionic
    

    之后工作正常。

    也是很好的来源:

    【讨论】:

      猜你喜欢
      • 2013-11-06
      • 2011-11-15
      • 2021-11-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-12-04
      • 2014-06-19
      相关资源
      最近更新 更多