• Centos 67下yum安装rstudio-servershiny-server


     rstudio-server安装

    #wget https://download2.rstudio.org/rstudio-server-rhel-1.1.463-x86_64.rpm
    #yum install rstudio-server-rhel-1.1.463-x86_64.rpm
    #rstudio-server start ---启动
    #rstudio-server verify-installation --查看安装状态   默认端口是8787
    

    shiny-server 安装

    #wget https://download3.rstudio.org/centos6.3/x86_64/shiny-server-1.5.9.923-x86_64.rpm
    #yum install shiny-server-1.5.9.923-x86_64.rpm
    

    编辑配置文件

    [root@t183 ~]# vim /etc/shiny-server/shiny-server.conf 
    
    # Instruct Shiny Server to run applications as the user "shiny"
    run_as shiny;
    
    # Define a server that listens on port 3838
    server {
      listen 3838 0.0.0.0;
      # Define a location at the base URL
      location / {
    
        # Host the directory of Shiny Apps stored in this directory
        site_dir /opt/shiny-server;
    
        # Log all Shiny output to files in this directory
        log_dir /var/log/shiny-server;
    
        # When a user visits the base URL rather than a particular application,
        # an index of the applications available in this directory will be shown.
        directory_index on;
      }
    }
    

    启动

    start shiny-server
    
  • 相关阅读:
    js弹出遮罩层
    委托集合使用
    C#动态属性(.NET Framework4.5支持)
    ABP项目启动及源代码结构
    ABP项目概述
    Visual Studio 2017调试开源项目代码
    GIT的前世今生
    近期上海面试总结(二)
    近期上海面试总结(一)
    一个基于反射的消息发布订阅模型详解
  • 原文地址:https://www.cnblogs.com/xzlive/p/10283947.html
Copyright © 2020-2023  润新知